Results 1 to 4 of 4
- 09-20-2010, 01:00 PM #1
Member
- Join Date
- Sep 2010
- Posts
- 50
list processes by percentage of CPU usage
list processes by % cpu usage
----------------------------------------------------------------------------------------------
[manju@vn210 tea]$ ps -e -o pcpu,cpu,nice,state,cputime,args --sort pcpu | sed '/^ 0.0 /d'
%CPU CPU NI S TIME COMMAND
0.1 - 0 S 00:00:09 nautilus --no-default-window --sm-client-id default3
0.1 - 0 S 00:00:09 /usr/bin/gftp-gtk
0.1 - 0 S 00:00:13 gnome-terminal
0.2 - 0 S 00:00:16 gaim
0.2 - 0 S 00:00:20 /usr/libexec/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=17
0.2 - 0 S 00:00:24 /usr/bin/metacity --sm-client-id=default1
0.4 - 0 S 00:00:33 gedit
0.8 - 0 S 00:09:40 /usr/bin/Xorg :0 -audit 0 -auth /var/gdm/:0.Xauth -nolisten tcp vt7
1.9 - 0 S 00:01:25 /usr/bin/evince /tmp/course-notes.pdf
7.1 - 0 S 00:09:52 /usr/lib/firefox-1.5.0.10/firefox-bin -UILocale en-US
[manju@vn210 tea]$
---------------------------------------------------------------------------------------------
- 12-22-2010, 05:40 AM #2
Newbie
- Join Date
- Dec 2010
- Posts
- 4
This is good Topic here to share you.Some time some guy ask how i can watch our CPU processe. So Now day in market some software available,you just install in computer and run it. It saw you all information related CPU.
- 05-02-2011, 11:15 PM #3
Newbie
- Join Date
- Apr 2011
- Posts
- 17
that is pretty helpful if you need the full process name otherwise top is the easiest.
- 06-22-2011, 05:47 AM #4
Newbie
- Join Date
- Aug 2010
- Posts
- 17
Instead of that you can use lsof command which will show you list of files that particular process is accessing so you can trace a user.



LinkBack URL
About LinkBacks




Reply With Quote






Bookmarks