Skip to content

Instantly share code, notes, and snippets.

@istathar
Created September 29, 2015 02:21
Show Gist options
  • Save istathar/f911dbdeee3e4eca8d18 to your computer and use it in GitHub Desktop.
Save istathar/f911dbdeee3e4eca8d18 to your computer and use it in GitHub Desktop.
A more useful set of options for `ps`
#!/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