-
-
Save matthieu637/d39df169c72f10fb1bd00b7f6423ac7d to your computer and use it in GitHub Desktop.
ps aux with ppid
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ps aux|head -1 | |
# Returns: USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND | |
ps axo user,pid,ppid,pcpu,pmem,vsz,rss,tname,stat,start,time,args|head -1 | |
# Returns: USER PID PPID %CPU %MEM VSZ RSS TTY STAT STARTED TIME COMMAND |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment