Created
July 7, 2023 21:02
-
-
Save eterry1388/c8864ac01fb4a54fcd4325e51c4f8375 to your computer and use it in GitHub Desktop.
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
watch -n 2 'ps aux | grep <process-name> | grep -v grep | awk "{print \$6/1024/1024}" | xargs printf "%.2f MB\n"' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment