Created
May 29, 2019 15:25
-
-
Save aeppert/bf103d3f082af2d96c3ac7bfff983a81 to your computer and use it in GitHub Desktop.
Kludge to add up memory when running broctl top
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
#!/bin/sh | |
broctl top | awk '{print $6}' | sed 's/M//' | tail -n +2 | paste -sd+ | bc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment