Created
March 5, 2016 18:44
-
-
Save mauron85/fcebffb2909fbdc99b83 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| #!/usr/bin/env bash | |
| while true; do ps h -u nodejs -o pid,%cpu,%mem,rss,sz,vsz,cmd | awk '{ print strftime("%Y-%m-%d %H:%M:%S"), $0; fflush(); }'; sleep 30; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment