1
0
Fork 0
bin/stealtime

5 lines
222 B
Plaintext
Raw Normal View History

2015-12-11 10:29:22 +00:00
#!/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 " "