Last active
October 26, 2020 07:55
-
-
Save ashishb888/4e859298ddd6c9f7cd99820d21019888 to your computer and use it in GitHub Desktop.
Operating system statistics
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
nohup iostat -t 5 > /var/log/iostat-logs/iostat-`date +%FT%H-%M-%S`.log & | |
nohup top -u hdpusr -b > /var/log/top-logs/top-`date +%FT%H-%M-%S`.log & | |
nohup vmstat -t 5 > /var/log/vmstat-logs/vmstat-`date +%FT%H-%M-%S`.log & |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment