functions for vmem, swapmem added
fixed unrefrenced vars
graphs definition and cusomization finished