-
Notifications
You must be signed in to change notification settings - Fork 0
sysLog
holzkohlengrill edited this page Dec 15, 2023
·
3 revisions
Log system information with dstat
Shows/Saves some periodic stats of your system.
sudo apt-get install dstat
dstat -t -l --cpu --cpufreq -mds --top-cpu --top-cputime --top-mem --top-oom --noheaders --output nr-infra-event-queue--log.csv
-
-t
: enable date/time output -
-l
: load averages (1min, 5min, 15min) -
--cpu
: CPU stats [%] -
--cpufreq
: CPU in percent per core -
-m
: memory (used, free, buff, ...) -
-d
: disk usage -
-s
: swap -
--noheaders
: no repeating headers -
--output <filename>.csv
: output log to .csv -
-f 1800
: frequency in seconds -
-T, --epoch
: enable time counter (seconds since epoch)
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License *.
Code (snippets) are licensed under a MIT License *.
* Unless stated otherwise