Here are some (growing) tricks in order to get the maximum of the PS command:
I set the command’s options in an alias to simplify the running of it.
alias psa='ps --headers axf -o pid,ppid,pri,state,user:15,group:15,nlwp,%cpu,%mem,rss,vsz,maj_flt,time,start,comm'

One advantage of this above command is that it displays the username in its full length even if it’s long. Normally the ps command displays long usernames as their PIDs only.

%d bloggers like this: