Results 1 to 4 of 4
  1. #1
    webstar is offline Member
    Join Date
    Sep 2010
    Posts
    50

    Thumbs up 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]$
    ---------------------------------------------------------------------------------------------

  2. #2
    harrylee is offline 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.

  3. #3
    cwx-jason is offline Newbie
    Join Date
    Apr 2011
    Posts
    17
    that is pretty helpful if you need the full process name otherwise top is the easiest.

  4. #4
    Inoxbreeze is offline 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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •