Last active
November 27, 2017 01:18
-
-
Save iidaatcnt/db90d66f80eb2b47140dd7745d982c58 to your computer and use it in GitHub Desktop.
ワンライナー:sysstatのメモリ使用率を表示させる
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
$ sar -f sa10 -r | awk '/^[0-9]/{printf("%s %4.1f\%\n",substr($1,1,5),($3-$6+$7)/8178748*100)}' | |
03:10 92.2 | |
03:20 91.9 | |
03:30 91.9 | |
03:40 91.8 | |
03:50 92.4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment