ps

report a snapshot of the current processes.

To list every process on the system in long format
copy
8
0
ps -elyTo list every process on the system in long format

details |

Result:

S   UID   PID  PPID  C PRI  NI   RSS    SZ WCHAN  TTY          TIME CMD
S     0     1     0  0  80   0   300   193 select ?        00:00:04 init
S     0     2     0  0  75  -5     0     0 kthrea ?        00:00:00 kthreadd
S     0     3     2  0 -40   -     0     0 migrat ?        00:00:00 migration/0
S     0     4     2  0  75  -5     0     0 ksofti ?        00:00:00 ksoftirqd/0
S     0     5     2  0  75  -5     0     0 worker ?        00:00:00 events/0
S     0     6     2  0  75  -5     0     0 worker ?        00:00:00 khelper
S     0   110     2  0  75  -5     0     0 worker ?        00:00:00 kblockd/0
S     0   112     2  0  75  -5     0     0 worker ?        00:00:00 kacpid
S     0   113     2  0  75  -5     0     0 worker ?        00:00:00 kacpi_notify
S     0   245     2  0  75  -5     0     0 worker ?        00:00:00 ata/0
S     0   246     2  0  75  -5     0     0 worker ?        00:00:00 ata_aux
S     0   247     2  0  75  -5     0     0 worker ?        00:00:00 ksuspend_usbd
S     0   253     2  0  75  -5     0     0 hub_th ?        00:00:00 khubd
S     0   256     2  0  75  -5     0     0 serio_ ?        00:00:00 kseriod
S     0   295     2  0  80   0     0     0 pdflus ?        00:00:00 pdflush
S     0   296     2  0  80   0     0     0 pdflus ?        00:00:00 pdflush
S     0   297     2  0  75  -5     0     0 kswapd ?        00:00:00 kswapd0
S     0   341     2  0  75  -5     0     0 worker ?        00:00:00 aio/0
S     0   358     2  0  75  -5     0     0 worker ?        00:00:00 nfsiod
S     0   367     2  0  75  -5     0     0 jfsIOW ?        00:00:00 jfsIO
S     0   368     2  0  75  -5     0     0 jfs_la ?        00:00:00 jfsCommit
S     0   369     2  0  75  -5     0     0 jfs_sy ?        00:00:00 jfsSync
S     0   378     2  0  75  -5     0     0 worker ?        00:00:00 xfs_mru_cache
S     0   379     2  0  75  -5     0     0 worker ?        00:00:00 xfslogd/0
S     0   380     2  0  75  -5     0     0 worker ?        00:00:00 xfsdatad/0
S     0   381     2  0  75  -5     0     0 gfs2_s ?        00:00:00 gfs2_scand
S     0   382     2  0  75  -5     0     0 worker ?        00:00:00 glock_workqueue
S     0  1148     2  0  75  -5     0     0 worker ?        00:00:00 scsi_tgtd/0
S     0  1162     2  0  75  -5     0     0 worker ?        00:00:00 iscsi_eh
S     0  1194     2  0  75  -5     0     0 scsi_e ?        00:00:00 scsi_eh_0
S     0  1275     2  0  75  -5     0     0 worker ?        00:00:00 exec-osm/0
S     0  1281     2  0  75  -5     0     0 worker ?        00:00:00 block-osm/0
S     0  1288     2  0  75  -5     0     0 hpsbpk ?        00:00:00 khpsbpkt
S     0  1335     2  0  75  -5     0     0 worker ?        00:00:00 kstriped
S     0  1337     2  0  75  -5     0     0 worker ?        00:00:00 ksnapd
S     0  1343     2  0  75  -5     0     0 worker ?        00:00:00 rpciod/0
S     0  1350     2  0  75  -5     0     0 kjourn ?        00:00:00 kjournald
S     0  1404     1  0  76  -4   876   538 select ?        00:00:00 udevd
S     0  1816     2  0  75  -5     0     0 gamepo ?        00:00:00 kgameportd
S     0  1844     2  0  75  -5     0     0 worker ?        00:00:00 kpsmoused
S     0  2662     2  0  75  -5     0     0 kjourn ?        00:00:00 kjournald
S     0  2663     2  0  75  -5     0     0 kjourn ?        00:00:00 kjournald
S     0  2664     2  0  75  -5     0     0 kjourn ?        00:00:00 kjournald
S     0  2669     2  0  75  -5     0     0 HgfsBd ?        00:00:00 vmhgfs
S     0  2787     1  0  80   0   624   437 select ?        00:00:00 syslogd
S     0  2791     1  0  80   0   420   426 syslog ?        00:00:00 klogd
S     0  2840     1  0  80   0   452   468 hrtime ?        00:00:00 dhcpcd
S     0  2859     1  0  80   0   452   468 select ?        00:00:00 dhcpcd
S     0  2921     1  0  80   0   528   435 select ?        00:00:00 inetd
S     0  2928     1  0  80   0   992   982 select ?        00:00:00 sshd
S     0  2935     1  0  80   0   564   424 sys_po ?        00:00:00 acpid
S    81  2946     1  0  80   0   672   573 sys_po ?        00:00:00 dbus-daemon
S    82  2951     1  0  80   0  4256  1534 sys_po ?        00:00:00 hald
S     0  2952  2951  0  80   0  1024   769 sys_po ?        00:00:00 hald-runner
S     0  2986  2952  0  80   0  1020   793 sys_po ?        00:00:00 hald-addon-inpu
S     0  2989  2952  0  80   0  1008   793 sys_po ?        00:00:00 hald-addon-stor
S    82  2992  2952  0  80   0   940   557 unix_s ?        00:00:00 hald-addon-acpi
S     0  3000  2952  0  80   0   992   793 sys_po ?        00:00:00 hald-addon-stor
S     0  3011     1  0  80   0   596   478 hrtime ?        00:00:00 crond
S     2  3013     1  0  80   0   420   478 hrtime ?        00:00:00 atd
S     0  3043     1  0  80   0  1240   636 wait   ?        00:00:00 mysqld_safe
S    27  3072  3043  0  80   0 16064 25555 select ?        00:00:01 mysqld
S     0  3083     1  0  80   0  3284  2142 select ?        00:00:00 httpd
S  1001  3093     1  0  80   0  2528  1687 epoll_ ?        00:00:00 greensql-fw
S     0  3098     1  0  80   0  1180  1672 inet_c ?        00:00:00 svnserve
S     0  3101     1  0  80   0   484   480 select ?        00:00:00 gpm
S    80  3103  3083  0  80   0  2944  2175 inet_c ?        00:00:00 httpd
S    80  3104  3083  0  80   0  2968  2175 inet_c ?        00:00:00 httpd
S    80  3106  3083  0  80   0  2968  2175 inet_c ?        00:00:00 httpd
S    80  3107  3083  0  80   0  2964  2175 inet_c ?        00:00:00 httpd
S    80  3108  3083  0  80   0  2932  2175 inet_c ?        00:00:00 httpd
S     0  3243     2  0  75  -5     0     0 os_tim ?        00:00:00 vmmemctl
S     0  3353     1  0  80   0  1388   829 select ?        00:00:01 vmware-guestd
S     0  3397     1  0  80   0   236   192 hrtime ?        00:00:00 tpvmlp
S     0  3408     1  0  80   0   524   426 read_c tty1     00:00:00 agetty
S     0  3409     1  0  80   0   532   426 read_c tty2     00:00:00 agetty
S     0  3410     1  0  80   0   528   426 read_c tty3     00:00:00 agetty
S     0  3411     1  0  80   0   532   426 read_c tty4     00:00:00 agetty
S     0  3412     1  0  80   0   524   426 read_c tty5     00:00:00 agetty
S     0  3413     1  0  80   0   528   426 read_c tty6     00:00:00 agetty
S     0  3430  2928  0  80   0  1984  1628 unix_s ?        00:00:00 sshd
R  1000  3432  3430  0  80   0  1244  1661 -      ?        00:00:00 sshd
S  1000  3433  3432  0  80   0  2040   909 wait   pts/0    00:00:00 bash
S     0  3548  2928  0  80   0  1984  1628 unix_s ?        00:00:00 sshd
S  1000  3561  3548  0  80   0  1240  1661 select ?        00:00:00 sshd
S  1000  3562  3561  0  80   0  1996   906 wait   pts/1    00:00:00 bash
S  1000  3575  3562  0  80   0  2240  1543 read_c pts/1    00:00:00 mysql
S    80  3594  3083  0  80   0  2964  2175 inet_c ?        00:00:00 httpd
R     0  3619  3433  0  80   0  1708   773 -      pts/0    00:00:00 bash
R     0  6300  3619  0  80   0   740   587 -      pts/0    00:00:00 ps