LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   CPU Usage in terms of bytes in linux (https://www.linuxquestions.org/questions/linux-newbie-8/cpu-usage-in-terms-of-bytes-in-linux-597716/)

mathimca05 11-07-2007 02:48 AM

CPU Usage in terms of bytes in linux
 
hai all
i m working in fc6.i want to know how much space does application is consuming. i need in terms of bytes.i used top command to find the CPU and memory usage.but its giving in terms of percentage.i also tried System monitor tool by opening each and every application(like open office,games) separately and checked.but CPU used is always showing 0(in terms of %).memory is displaying in terms of bytes.

can someone suggest some other tool for that?

thanks in advance.

matthewg42 11-07-2007 03:01 AM

The ps command can output this. The column RSS and VSZ are the real and virtual memory sizes in kb. Please see the exact description of these values in the ps manual page. For example:
Code:

ps x o pid,rss,vsz,cmd

mathimca05 11-07-2007 11:38 PM

CPU Usage in terms of bytes in linux
 
hai
thanks 4 ur reply.
i already tried that ps command.i found memory usage in terms of bytes but i could not find the CPU usage in terms of bytes.actually i need CPU usage of application.


thanks i advance.

matthewg42 11-08-2007 03:00 AM

CPU usage in terms of bytes? :confused: I thought you must be meaning memory usage. The CPU processes things - what can you mean "in bytes"? :confused:


All times are GMT -5. The time now is 09:11 AM.