show system processes
Displays information about processes currently running on the system.
Lists all processes currently running on the system.
- extensive
- Shows all processes and extensive details about each process.
- summary
- Shows a summary of system usage.
- tree
- Shows all processes and how they are related.
Operational mode
Use this command to see information about processes currently running on the system.
The following example shows how to display a list of all processes currently running on the system.
vyatta@R1:~$ show system processes
PID TTY STAT TIME COMMAND
1 ? Ss 0:03 init [2]
2 ? S 0:00 [kthreadd]
3 ? S 0:00 [ksoftirqd/0]
4 ? S 0:00 [migration/0]
5 ? S 0:00 [watchdog/0]
6 ? S 0:09 [events/0]
7 ? S 0:00 [khelper]
12 ? S 0:00 [async/mgr]
13 ? S 0:00 [pm]
99 ? S 0:00 [sync_supers]
101 ? S 0:00 [bdi-default]
102 ? S 0:00 [kintegrityd/0]
104 ? S 0:00 [kblockd/0]
106 ? S 0:00 [kacpid]
107 ? S 0:00 [kacpi_notify]
108 ? S 0:00 [kacpi_hotplug]
174 ? S 0:00 [khubd]
177 ? S 0:00 [kseriod]
299 ? S 0:00 [khungtaskd]
300 ? S 0:00 [kswapd0]
353 ? S 0:00 [aio/0]
361 ? S 0:00 [unionfs_siod/0]
:
The following example shows how to display extensive information about all processes currently running on the system.
vyatta@R1:~$ show system processes extensive
top - 08:23:47 up 13:28, 2 users, load average: 0.12, 0.03, 0.01
Tasks: 72 total, 1 running, 71 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.0%us, 0.2%sy, 0.0%ni, 99.8%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 242836k total, 170488k used, 72348k free, 58752k buffers
Swap: 0k total, 0k used, 0k free, 81440k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
3515 vyatta 20 0 2372 984 768 R 1.8 0.4 0:00.06 top
1 root 20 0 2076 680 584 S 0.0 0.3 0:03.79 init
2 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.98 ksoftirqd/0
4 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root 20 0 0 0 0 S 0.0 0.0 0:09.69 events/0
7 root 20 0 0 0 0 S 0.0 0.0 0:00.00 khelper
12 root 20 0 0 0 0 S 0.0 0.0 0:00.00 async/mgr
13 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pm
99 root 20 0 0 0 0 S 0.0 0.0 0:00.12 sync_supers
101 root 20 0 0 0 0 S 0.0 0.0 0:00.27 bdi-default
102 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kintegrityd/0
104 root 20 0 0 0 0 S 0.0 0.0 0:00.05 kblockd/0
106 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpid
107 root 20 0 0 0 0 S 0.0 0.0 0:00.00 kacpi_notify
:
The following example shows how to display all processes that are currently running and how they are related.
vyatta@R1:~$ show system processes tree
PID PGID SID TTY TIME CMD
2 0 0 ? 00:00:00 kthreadd
3 0 0 ? 00:00:00 ksoftirqd/0
4 0 0 ? 00:00:00 migration/0
5 0 0 ? 00:00:00 watchdog/0
6 0 0 ? 00:00:09 events/0
7 0 0 ? 00:00:00 khelper
12 0 0 ? 00:00:00 async/mgr
13 0 0 ? 00:00:00 pm
99 0 0 ? 00:00:00 sync_supers
101 0 0 ? 00:00:00 bdi-default
102 0 0 ? 00:00:00 kintegrityd/0
104 0 0 ? 00:00:00 kblockd/0
106 0 0 ? 00:00:00 kacpid
107 0 0 ? 00:00:00 kacpi_notify
108 0 0 ? 00:00:00 kacpi_hotplug
174 0 0 ? 00:00:00 khubd
177 0 0 ? 00:00:00 kseriod
299 0 0 ? 00:00:00 khungtaskd
300 0 0 ? 00:00:00 kswapd0
353 0 0 ? 00:00:00 aio/0
361 0 0 ? 00:00:00 unionfs_siod/0
363 0 0 ? 00:00:00 crypto/0
: