Adding ability to echo memory and cpu usage to command line