Skip to content

Instantly share code, notes, and snippets.

@khairulcs
Created February 14, 2020 02:23
Show Gist options
  • Save khairulcs/92d8b2599c43ff0c4a516412fdc4530f to your computer and use it in GitHub Desktop.
Save khairulcs/92d8b2599c43ff0c4a516412fdc4530f to your computer and use it in GitHub Desktop.
Measuring Linux System Performance with dstat

Install the package

apt install dstat -y

use nohup to run the dstat

nohup dstat -c --top-cpu -d --top-bio --top-latency --output systemstats.csv &

end the nohup

ps -ef |grep nohup

if the process ID == 22182

kill -9 22182

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment