ps displays information about a selection of the active processes. If you want a repetitive update of the selection and the displayed information, use top(1) instead.
ps - report a snapshot of the current processes.
To see every process with a user-defined format:
ps -eo pid,tid,class,rtprio,ni,pri,psr,pcpu,stat,wchan:14,comm
ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
ps -eopid,tt,user,fname,tmout,f,wchan
ps axo stat,euid,ruid,tty,tpgid,sess,pgrp,ppid,pid,pcpu,comm
ps -eopid,tt,user,fname,tmout,f,wchan
One Response to “How to see every process with a user-defined format”
Leave a Reply
You must be logged in to post a comment.
1blasphemy…
…