-
-
Save istathar/f911dbdeee3e4eca8d18 to your computer and use it in GitHub Desktop.
A more useful set of options for `ps`
This file contains 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
#!/bin/sh | |
exec ps -o user,pid,pcpu,pmem,rsz:8,vsz:8,etime:12,bsdtime,nlwp:2=NT,ucmd --sort='cputime' "$@" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment