# ps -aux | grep composer
USER | PID | %CPU | %MEM | VSZ | RSS | TTY | STAT | TIME | COMMAND |
---|---|---|---|---|---|---|---|---|---|
root | 6419 | 0.0 | 0.0 | 359100 | 4 | ? | S | 11:14 0:00 | php /usr/local/bin/composer install |
root | 6420 | 1.6 | 80.7 | 2820360 | 1521752 | ? | R | 11:14 2:13 | /usr/bin/php -c /tmp/KEI5Ji /usr/local/bin/composer install |
root | 6610 | 0.0 | 0.0 | 112648 | 132 | pts/1 | R+ | 13:28 0:00 | grep --color=auto composer |
列介绍:
USER 进程的用户;
PID 进程的ID;
%CPU 进程占用的CP