LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-07-2007, 02:48 AM   #1
mathimca05
Member
 
Registered: Oct 2007
Posts: 66

Rep: Reputation: 15
Thumbs up 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.
 
Old 11-07-2007, 03:01 AM   #2
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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
 
Old 11-07-2007, 11:38 PM   #3
mathimca05
Member
 
Registered: Oct 2007
Posts: 66

Original Poster
Rep: Reputation: 15
Thumbs up 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.
 
Old 11-08-2007, 03:00 AM   #4
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What do these terms mean for cpu load? pbhat Linux - Software 1 10-16-2007 08:46 AM
Check group usage in bytes dwarf007 Linux - General 2 02-21-2007 08:52 PM
getting realtime info on memory usage-cpu and harddrive usage steering Linux - Newbie 5 03-03-2005 08:43 PM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Linux CPU Usage distrowhore Linux - Software 11 05-24-2004 04:56 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:49 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration