Recent Changes - Search:

Softwares

.

LinuxServerMonitoringCommands-HowDoIMonitorALinuxServer

How to Monitor the services using up most for the cpu and memory on a server.

   ps auxfw|sort -nr|grep -v 0.0


  [root@wordsworth ~]# ps auxfw|sort -nr|grep -v 0.0
  USER       PID MEM   VSZ  RSS TTY      STAT START   TIME COMMAND
  linux      613  0.4  3.2 21844 15896 ?       S    15:01   0:10 wish /usr/bin/amsn
  linux     4085  0.1  1.7 28384 8240 ?        S    Mar01  13:45 /usr/libexec/wnck-applet --oaf-
  linux    32728  1.8  7.5 67216 36196 ?       S    14:54   0:50 /usr/lib/opera/9.10-20061214.5/
  linux    31458  0.1  1.0 48068 5088 ?        Sl   12:26   0:15 xmms -e
  linux    30276  0.6  4.4 79656 21488 ?       Sl   07:55   3:09 skype
  linux    30261  3.0 18.8 221380 90792 ?      Sl   07:54  14:15      \_ /home/linux/firefox/firefox-
  linux    30099  0.1  4.5 123240 21776 ?      Sl   07:25   0:54      \_ /usr/lib/
  linux     2285  0.1  2.6 35504 12560 ?       S    Mar06   3:06 gaim


   root@server16 [~]# ps auxfw|grep -vE '0.0|0.1'
Edit - History - Print - Recent Changes - Search
Page last modified on February 23, 2008, at 01:59 PM