Sample output:
Checks: Check the first lines for tasks putting a heavy load on the server. The output is refreshed; a few
iterations should reveal which processes stay in the top list. From the PIDs, you may use ps (described
below) to find out the components names.
Thresholds: A process using steadily more than 10% of CPU share is suspicious, so does a process using
too much memory, be it physical or virtual (use “m” to show memory-consuming processes in the top list)
20.3.2 pstree - Processes hierarchy
User: htuser
Command: pstree
Checks: Check quickly for unusual processes and/or lack of usual processes.
Sample output:
20.3.3 ps - Processes list
User: htuser
Command: ps auxwww , ps -edf
Sample output 1:
pstree
init─┬─DaemonManager─┬─A4400AlarmRcvr───15*[{A4400AlarmRcvr}]
│ ├─Cmisd───5*[{Cmisd}]
│ ├─ComServer───11*[{ComServer}]
│ ├─GCSAdmin───16*[{GCSAdmin}]
│ ├─GCSConfig───12*[{GCSConfig}]
│ ├─InternalAlarmRc───10*[{InternalAlarmRc}]
│ ├─NotificationPro───10*[{NotificationPro}]
│ └─3*[{DaemonManager}]
├─NSSserver───25*[{NSSserver}]
├─XMCoConfig───28*[{XMCoConfig}]
├─XMConfigManager───53*[{XMConfigManager}]
top - 15:01:17 up 7 days, 20:33, 1 user, load average: 1.62, 1.32, 1.07
Tasks: 405 total, 1 running, 404 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.8%us, 1.0%sy, 0.0%ni, 98.1%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 16436692k total, 15944312k used, 492380k free, 452460k buffers
Swap: 18513912k total, 148k used, 18513764k free, 4850912k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
902 root 18 0 832m 313m 12m S 2.0 2.0 50:39.79 java
9735 htuser 18 0 680m 17m 2388 S 1.0 0.1 0:41.74 httpd
12753 htuser 15 0 13000 1352 820 R 1.0 0.0 0:00.18 top
7471 root 15 0 84836 41m 11m S 0.7 0.3 31:52.58 sip_server
29599 root 20 0 969m 526m 9.9m S 0.7 3.3 31:30.79 java
674 root 21 0 858m 319m 11m S 0.3 2.0 26:49.56 java
833 root 10 -5 0 0 0 S 0.3 0.0 5:12.47 kjournald
1114 htuser 20 0 292m 47m 7860 S 0.3 0.3 1:44.76 java
3378 htuser 15 0 139m 4732 3948 S 0.3 0.0 3:00.91 NotificationPro
3390 htuser 15 0 155m 33m 32m S 0.3 0.2 0:12.73 postmaster
3393 htuser 15 0 115m 1664 320 S 0.3 0.0 3:57.26 postmaster
4933 htuser 15 0 172m 28m 11m S 0.3 0.2 1:25.55 postmaster
6158 root 20 0 126m 20m 13m S 0.3 0.1 17:43.89 NSSserver
30514 htuser 23 0 298m 54m 7980 S 0.3 0.3 2:02.22 java
32393 htuser 19 0 315m 101m 9460 S 0.3 0.6 12:57.68 java
1 root 15 0 10352 696 584 S 0.0 0.0 0:02.97 init
2 root RT -5 0 0 0 S 0.0 0.0 0:03.81 migration/0