Capturing /proc/stat file for CPU utilization

This commit is contained in:
Eugen Betke 2018-11-14 13:12:21 +01:00
parent 20aab5c707
commit d7b1d08328
1 changed files with 1 additions and 0 deletions

View File

@ -15,6 +15,7 @@ function capture_network_state {
cat /proc/net/dev cat /proc/net/dev
free -m free -m
cat /proc/fs/lustre/llite/esfs-*/max_cached_mb cat /proc/fs/lustre/llite/esfs-*/max_cached_mb
cat /proc/stat
} }
echo "$( capture_network_state )" &> "${NETOUTFILE}start.txt" echo "$( capture_network_state )" &> "${NETOUTFILE}start.txt"