Gasboy SiteOmat Maintenance Manual User Manual
Page 225

221
SiteOmat Setup and Maintenance Manual – MDE 4817G
64 bytes from 192.168.81.1: icmp_seq=1 ttl=128 time=251 usec
--- 192.168.81.1 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/mdev = 0.251/0.394/0.538/0.144 ms
8-6.4. ps (Lists all existing processes on the server)
Usage:
$ ps auwx
USER
PID %CPU %MEM
VSZ RSS TTY
STAT START
TIME COMMAND
root
1
1.0
0.1
1312
484 ?
S
20:09
0:03 init [3]
root
2
0.0
0.0
0
0 ?
SW
20:09
0:00 [keventd]
root
3
0.0
0.0
0
0 ?
SW
20:09
0:00 [kapmd]
root
4
0.0
0.0
0
0 ?
SWN
20:09
0:00 [ksoftirqd_CPU0]
root
5
0.0
0.0
0
0 ?
SW
20:09
0:00 [kswapd]
root
6
0.0
0.0
0
0 ?
SW
20:09
0:00 [bdflush]
8-6.5. top (Displays many system statistics and details regarding active
processes)
Usage:
$ top
8:17pm up 7 min, 1 user, load average: 0.25, 0.13, 0.04
46 processes: 44 sleeping, 2 running, 0 zombie, 0 stopped
CPU states: 0.0% user, 0.1% system, 0.0% nice, 99.8% idle
Mem:
256412K av,
132016K used, 124396K free,
0K shrd,
31164K buff
Swap: 522104K av,
0K used, 522104K free
30828K cached
PID USER
PRI NI SIZE RSS SHARE STAT %CPU %MEM
TIME COMMAND
1271 root
15
0
908
908
716 R
0.1
0.3
0:00 top
1 root
15
0
484
484
420 S
0.0
0.1
0:03 init
2 root
16
0
0
0
0 SW
0.0
0.0
0:00 keventd
3 root
15
0
0
0
0 SW
0.0
0.0
0:00 kapmd
4 root
34
19
0
0
0 SWN
0.0
0.0
0:00 ksoftirqd_CPU0
5 root
25
0
0
0
0 SW
0.0
0.0
0:00 kswapd
6 root
25
0
0
0
0 SW
0.0
0.0
0:00 bdflush
7 root
15
0
0
0
0 SW
0.0
0.0
0:00 kupdated
8 root
25
0
0
0
0 SW
0.0
0.0
0:00 mdrecoveryd
14 root
16
0
0
0
0 SW
0.0
0.0
0:00 kjourna
Useful sub-commands of top:
• shift P - Sort by CPU usage
• shift M - Sort by memory usage
• ESC - quit
8-6.6. grep (Filter output of other programs)
Usage:
$ ps awux | grep ps_*
Displays all pump servers process / threads.
$ ps awux | grep –I fcc
Displays all processes with ‘fcc’ in the output line, regardless of case.