Created
January 20, 2017 10:57
-
-
Save kevinsimper/5b4414934e39688ae96d48506fb8db8c to your computer and use it in GitHub Desktop.
Find memory usage of Slack
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
ps -eo rss,comm | grep Slack | awk '{print $1}' | paste -s -d '+' - | bc | awk '{printf( "%0.2f GiB\n", $1/1024^2 )}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment