Skip to content

Instantly share code, notes, and snippets.

@ankyhe
Last active March 12, 2016 03:56
Show Gist options
  • Save ankyhe/e41a296d303e001fbc94 to your computer and use it in GitHub Desktop.
Save ankyhe/e41a296d303e001fbc94 to your computer and use it in GitHub Desktop.
Linux process performance monitoring
Zsh only.
TIMEFMT='%J %U user %S system %P cpu %*E total'$'\n'\
'avg shared (code): %X KB'$'\n'\
'avg unshared (data/stack): %D KB'$'\n'\
'total (sum): %K KB'$'\n'\
'max memory: %M MB'$'\n'\
'page faults from disk: %F'$'\n'\
'other page faults: %R'
time ls
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment