Ps --no-headers

From wikieduonline
Jump to navigation Jump to search
ps --no-headers -o "rss,cmd" -C php-fpm7.2 | awk '{ sum+=$1 } END { printf ("%d%s\n", sum/NR/1024,"M") }'


Process, zombie process, fork, thread: ps, tree, pstree, ps axf, proc, pwdx, which, watch, sar -q, tload, uptime, Interrupts, pgrep, tasklist (Windows), Zombie process, pstack, docker ps, docker-compose ps, jobs, acct, process mrelease, pidstat, IPC, pidof

Advertising: