Skip to content

Instantly share code, notes, and snippets.

@kirillgroshkov
Created April 4, 2019 12:53
Show Gist options
  • Save kirillgroshkov/968304f16acfc9a66f507f4673f5b752 to your computer and use it in GitHub Desktop.
Save kirillgroshkov/968304f16acfc9a66f507f4673f5b752 to your computer and use it in GitHub Desktop.
while true; do ps eo time,rss,%mem,%cpu,pid <pid> | grep -v TIME >> memory.log; echo -n .; sleep 5; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment