1
0
Fork 0
bin/stealtime

5 lines
222 B
Bash
Executable File

#!/usr/bin/env bash
# echoes the cpu steal time from /proc/stat.
# CPU steal time is the time we have been delayed because the host machine has been executing for another virtual host
head -n 1 /proc/stat | cut -f8 -d " "