Understanding ps aux output in Linux


When use command ps aux we get this output:

[root@tutorialspots ~]# ps aux
USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0 190960  3880 ?        Ss   Dec28   0:50 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
root         2  0.0  0.0      0     0 ?        S    Dec28   0:00 [kthreadd]
root         3  0.0  0.0      0     0 ?        S    Dec28   0:12 [ksoftirqd/0]
root         5  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/0:0H]
root         7  0.0  0.0      0     0 ?        S    Dec28   0:02 [migration/0]
root         8  0.0  0.0      0     0 ?        S    Dec28   0:00 [rcu_bh]
root         9  0.0  0.0      0     0 ?        S    Dec28   1:27 [rcu_sched]
root        10  0.0  0.0      0     0 ?        S<   Dec28   0:00 [lru-add-drain]
root        11  0.0  0.0      0     0 ?        S    Dec28   0:00 [watchdog/0]
root        12  0.0  0.0      0     0 ?        S    Dec28   0:00 [watchdog/1]
root        13  0.0  0.0      0     0 ?        S    Dec28   0:00 [migration/1]
root        14  0.0  0.0      0     0 ?        S    Dec28   0:01 [ksoftirqd/1]
root        16  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/1:0H]
root        17  0.0  0.0      0     0 ?        S    Dec28   0:00 [watchdog/2]
root        18  0.0  0.0      0     0 ?        S    Dec28   0:00 [migration/2]
root        19  0.0  0.0      0     0 ?        S    Dec28   0:01 [ksoftirqd/2]
root        21  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/2:0H]
root        22  0.0  0.0      0     0 ?        S    Dec28   0:00 [watchdog/3]
root        23  0.0  0.0      0     0 ?        S    Dec28   0:00 [migration/3]
root        24  0.0  0.0      0     0 ?        S    Dec28   0:02 [ksoftirqd/3]
root        26  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/3:0H]
root        28  0.0  0.0      0     0 ?        S    Dec28   0:00 [kdevtmpfs]
root        29  0.0  0.0      0     0 ?        S<   Dec28   0:00 [netns]
root        30  0.0  0.0      0     0 ?        S    Dec28   0:00 [khungtaskd]
root        31  0.0  0.0      0     0 ?        S<   Dec28   0:00 [writeback]
root        32  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kintegrityd]
root        33  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root        34  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root        35  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root        36  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kblockd]
root        37  0.0  0.0      0     0 ?        S<   Dec28   0:00 [md]
root        38  0.0  0.0      0     0 ?        S<   Dec28   0:00 [edac-poller]
root        41  0.0  0.0      0     0 ?        S    Dec28   0:00 [kswapd0]
root        42  0.0  0.0      0     0 ?        SN   Dec28   0:00 [ksmd]
root        43  0.0  0.0      0     0 ?        SN   Dec28   0:05 [khugepaged]
root        44  0.0  0.0      0     0 ?        S<   Dec28   0:00 [crypto]
root        52  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kthrotld]
root        54  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kmpath_rdacd]
root        55  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kaluad]
root        57  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kpsmoused]
root        59  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ipv6_addrconf]
root        72  0.0  0.0      0     0 ?        S<   Dec28   0:00 [deferwq]
root       106  0.0  0.0      0     0 ?        S    Dec28   0:07 [kauditd]
root       284  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ata_sff]
root       285  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_0]
root       286  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_0]
root       287  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_1]
root       288  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_1]
root       294  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_2]
root       295  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_2]
root       296  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_3]
root       297  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_3]
root       299  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_4]
root       300  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_4]
root       301  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_5]
root       302  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_5]
root       304  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_6]
root       305  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_6]
root       306  0.0  0.0      0     0 ?        S    Dec28   0:00 [scsi_eh_7]
root       307  0.0  0.0      0     0 ?        S<   Dec28   0:00 [scsi_tmf_7]
root       318  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ttm_swap]
root       390  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kdmflush]
root       391  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root       401  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kdmflush]
root       402  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root       412  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/3:1H]
root       419  0.0  0.0      0     0 ?        S    Dec28   0:17 [jbd2/dm-0-8]
root       420  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ext4-rsv-conver]
root       489  0.1  0.2 100676 44384 ?        Ss   Dec28   2:21 /usr/lib/systemd/systemd-journald
root       502  0.0  0.0 190328  1312 ?        Ss   Dec28   0:00 /usr/sbin/lvmetad -f
root       520  0.0  0.0  44628  2120 ?        Ss   Dec28   0:00 /usr/lib/systemd/systemd-udevd
root       558  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/1:1H]
root       568  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kvm-irqfd-clean]
root       580  0.0  0.0      0     0 ?        S    Dec28   0:00 [jbd2/sdb1-8]
root       581  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ext4-rsv-conver]
root       587  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ext4-rsv-conver]
root       590  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kdmflush]
root       591  0.0  0.0      0     0 ?        S<   Dec28   0:00 [bioset]
root       603  0.0  0.0      0     0 ?        S    Dec28   0:00 [jbd2/dm-2-8]
root       604  0.0  0.0      0     0 ?        S<   Dec28   0:00 [ext4-rsv-conver]
root       621  0.0  0.0  55508  1056 ?        S<sl Dec28   0:21 /sbin/auditd
polkitd    648  0.0  0.0 538436 12040 ?        Ssl  Dec28   0:19 /usr/lib/polkit-1/polkitd --no-debug
root       649  0.0  0.0  21524  1180 ?        Ss   Dec28   0:10 /usr/sbin/irqbalance --foreground
dbus       651  0.0  0.0  58220  2416 ?        Ss   Dec28   1:06 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-acti
root       653  0.0  0.0  26376  1680 ?        Ss   Dec28   0:23 /usr/lib/systemd/systemd-logind
root       656  0.0  0.0  16884  1000 ?        SNs  Dec28   0:00 /usr/sbin/alsactl -s -n 19 -c -E ALSA_CONFIG_PATH=/etc/alsa/alsactl.conf --initfile=
root       658  0.0  0.0 478440  9000 ?        Ssl  Dec28   0:10 /usr/sbin/NetworkManager --no-daemon
chrony     663  0.0  0.0 117752  1780 ?        S    Dec28   0:00 /usr/sbin/chronyd
root       666  0.0  0.0 126276  1544 ?        Ss   Dec28   0:03 /usr/sbin/crond -n
root       685  0.0  0.0 110088   832 tty1     Ss+  Dec28   0:00 /sbin/agetty --noclear tty1 linux
root       732  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/2:1H]
root       733  0.0  0.0      0     0 ?        S<   Dec28   0:00 [kworker/0:1H]
memcach+   923  0.0  0.0 347156  4768 ?        Ssl  Dec28   0:07 /usr/bin/memcached -u memcached -p 11211 -m 64 -c 1024
root       925  0.0  0.1 573816 18908 ?        Ssl  Dec28   0:14 /usr/bin/python -Es /usr/sbin/tuned -l -P
root       930  0.0  0.0 112812  4240 ?        Ss   Dec28   0:11 /usr/sbin/sshd -D
root       935  0.0  0.1 388340 26428 ?        Ssl  Dec28   1:09 /usr/sbin/rsyslogd -n
named     1005  0.1  1.2 531252 206456 ?       Ssl  Dec28   3:10 /usr/sbin/named -u named -c /etc/named.conf
root      1104  0.0  0.0 123412  2580 ?        Ss   Dec28   0:00 nginx: master process /usr/sbin/nginx
nginx     1105  0.3  0.0 126520  6692 ?        S    Dec28   7:06 nginx: worker process
nginx     1106  0.5  0.0 124208  4296 ?        S    Dec28  10:02 nginx: worker process
nginx     1107  2.5  0.1 141952 22428 ?        S    Dec28  47:53 nginx: worker process
nginx     1108  1.9  0.1 136552 16764 ?        S    Dec28  36:37 nginx: worker process
mysql     1137  0.1  1.3 2652904 208600 ?      Sl   Dec28   3:35 /usr/sbin/mysqld --daemonize --pid-file=/var/run/mysqld/mysqld.pid
root      2648  0.1  0.2 926696 36564 ?        Ssl  Dec28   2:44 PM2 v3.0.3: God Daemon (/root/.pm2)
root      2683  0.0  0.3 1097416 49228 ?       Sl   Dec28   1:29 node /home/fbserver/index.js
root      2689  0.0  0.3 1097520 48288 ?       Sl   Dec28   1:26 node /home/fbserver/index.js
root      2695  0.0  0.2 1095280 47812 ?       Sl   Dec28   1:27 node /home/fbserver/index.js
root      2701  0.0  0.3 1229528 49292 ?       Sl   Dec28   1:27 node /home/fbserver/index.js
root      6602  0.0  0.0      0     0 ?        S    00:54   0:09 [kworker/u16:0]
root     11087  0.0  0.0      0     0 ?        S    05:54   0:00 [kworker/u16:2]
root     12569  0.0  0.0 156684  5440 ?        Ss   08:14   0:00 sshd: root@pts/0
root     12578  0.0  0.0  72180  2784 ?        Ss   08:14   0:00 /usr/libexec/openssh/sftp-server
php-fpm  16091  0.7  0.1 523580 16788 ?        S    04:00   2:19 php-fpm: pool www
root     16296  0.0  0.0      0     0 ?        S    08:30   0:00 [kworker/1:0]
root     17379  0.0  0.0 115528  2124 pts/0    Ss   08:34   0:00 -bash
root     17580  0.0  0.0      0     0 ?        S    08:35   0:00 [kworker/0:2]
root     19188  0.0  0.0      0     0 ?        S    08:41   0:00 [kworker/2:1]
root     20538  0.0  0.0      0     0 ?        S    08:47   0:00 [kworker/2:0]
root     20798  0.0  0.0      0     0 ?        S    08:48   0:00 [kworker/3:1]
root     21166  0.0  0.0      0     0 ?        S    08:50   0:00 [kworker/1:2]
root     21340  0.0  0.0 182320  2436 ?        S    08:51   0:00 /usr/sbin/CROND -n
root     21363  0.0  0.0 113172  1180 ?        Ss   08:51   0:00 /bin/sh -c cd /home/yt && php artisan schedule:run >> /dev/null 2>&1
root     21371  0.0  0.1 448040 28652 ?        S    08:51   0:00 php artisan schedule:run
root     21400  0.0  0.0 113172  1184 ?        S    08:51   0:00 sh -c '/usr/bin/php' 'artisan' auto:reup > '/dev/null' 2>&1
root     21401  0.2  0.2 539372 39992 ?        S    08:51   0:01 /usr/bin/php artisan auto:reup
root     21870  0.0  0.0      0     0 ?        S    08:53   0:00 [kworker/2:2]
root     22609  0.0  0.0      0     0 ?        S    08:56   0:00 [kworker/0:1]
root     22637  0.0  0.0      0     0 ?        S    08:56   0:00 [kworker/3:2]
root     22864  0.0  0.0      0     0 ?        S    08:57   0:00 [kworker/1:1]
root     23304  214  1.0 1623712 167868 ?      Sl   08:58   6:05 /usr/bin/ffmpeg -i public/library/2018/12/Y2vc2qXbZkY.mp4 -i public/download/process
php-fpm  23309  0.0  0.0  29048  1564 ?        S    02:04   0:02 ping google.com
root     24015  0.0  0.0 158816  5076 ?        Ss   09:01   0:00 sshd: root [priv]
sshd     24016  0.0  0.0 112812  2224 ?        S    09:01   0:00 sshd: root [net]
root     24028  0.0  0.0 155324  1824 pts/0    R+   09:01   0:00 ps aux
root     25492  0.0  0.1 438992 18452 ?        Ss   Dec28   0:02 php-fpm: master process (/etc/php-fpm.conf)
php-fpm  25765  0.9  0.1 523972 17212 ?        S    Dec28   6:59 php-fpm: pool www
php-fpm  25962  0.9  0.1 523988 17228 ?        S    Dec28   6:50 php-fpm: pool www
php-fpm  25994  0.9  0.1 523560 16780 ?        S    Dec28   6:51 php-fpm: pool www
php-fpm  26243  1.0  0.1 523968 17208 ?        S    Dec28   7:25 php-fpm: pool www
php-fpm  26248  0.9  0.1 523492 16788 ?        S    Dec28   6:40 php-fpm: pool www
php-fpm  26254  0.9  0.1 523972 17116 ?        S    Dec28   7:03 php-fpm: pool www
php-fpm  26359  0.9  0.1 523632 17000 ?        S    Dec28   6:54 php-fpm: pool www
php-fpm  26385  0.9  0.1 523508 16796 ?        S    Dec28   6:47 php-fpm: pool www
php-fpm  26388  0.9  0.1 524856 18908 ?        S    Dec28   7:07 php-fpm: pool www
php-fpm  26389  0.8  0.1 523976 17240 ?        S    Dec28   6:26 php-fpm: pool www
php-fpm  26393  0.9  0.1 523988 17192 ?        S    Dec28   6:34 php-fpm: pool www
php-fpm  26394  0.9  0.1 523636 16976 ?        S    Dec28   7:10 php-fpm: pool www
php-fpm  26395  0.9  0.1 523988 17200 ?        S    Dec28   7:05 php-fpm: pool www
php-fpm  26396  0.9  0.1 523516 16796 ?        S    Dec28   6:54 php-fpm: pool www
php-fpm  26403  0.9  0.1 523996 17208 ?        S    Dec28   7:09 php-fpm: pool www
php-fpm  26404  0.9  0.1 524556 17384 ?        S    Dec28   6:40 php-fpm: pool www
php-fpm  26405  1.0  0.1 523548 16776 ?        S    Dec28   7:38 php-fpm: pool www
php-fpm  26406  0.3  0.1 527752 20752 ?        S    Dec28   2:52 php-fpm: pool www
php-fpm  26408  0.9  0.1 524088 16996 ?        S    Dec28   6:45 php-fpm: pool www
php-fpm  26414  0.9  0.1 523632 17008 ?        S    Dec28   7:05 php-fpm: pool www
php-fpm  26415  0.9  0.1 523628 17004 ?        S    Dec28   7:11 php-fpm: pool www
php-fpm  26416  0.9  0.1 524580 17384 ?        S    Dec28   6:44 php-fpm: pool www
php-fpm  26417  0.9  0.1 523980 17196 ?        S    Dec28   6:53 php-fpm: pool www
php-fpm  26418  0.9  0.1 523984 17332 ?        S    Dec28   6:52 php-fpm: pool www
php-fpm  26422  0.9  0.1 523992 17196 ?        S    Dec28   7:00 php-fpm: pool www
php-fpm  26423  0.9  0.1 523980 17200 ?        S    Dec28   6:41 php-fpm: pool www
php-fpm  26424  0.9  0.1 523500 16696 ?        S    Dec28   6:57 php-fpm: pool www
php-fpm  26430  0.9  0.1 524096 16964 ?        S    Dec28   6:57 php-fpm: pool www
php-fpm  26434  1.0  0.1 524592 17384 ?        S    Dec28   7:41 php-fpm: pool www
php-fpm  26436  1.0  0.1 523496 16784 ?        S    Dec28   7:17 php-fpm: pool www
php-fpm  27241  1.1  0.1 523632 17008 ?        S    Dec28   8:08 php-fpm: pool www
php-fpm  27249  0.9  0.1 524560 17420 ?        S    Dec28   6:56 php-fpm: pool www
php-fpm  27250  0.9  0.1 523596 17024 ?        S    Dec28   7:06 php-fpm: pool www
php-fpm  27267  1.0  0.1 524532 17384 ?        S    Dec28   7:18 php-fpm: pool www
php-fpm  27268  0.8  0.1 524156 16996 ?        S    Dec28   6:19 php-fpm: pool www
php-fpm  27269  1.0  0.1 523968 17240 ?        S    Dec28   7:12 php-fpm: pool www
php-fpm  28458  0.9  0.1 523968 17188 ?        S    02:26   3:34 php-fpm: pool www

What does each column of the output mean?

  • USER = user owning the process
  • PID = process ID of the process
  • %CPU = It is the CPU time used divided by the time the process has been running.
  • %MEM = ratio of the process’s resident set size to the physical memory on the machine
  • VSZ = virtual memory usage of entire process (in KiB)
  • RSS = resident set size, the non-swapped physical memory that a task has used (in KiB)
  • TTY = controlling tty (terminal)
  • STAT = multi-character process state
  • START = starting time or date of the process
  • TIME = cumulative CPU time
  • COMMAND = command with all its arguments

Leave a Reply