This tool collects CPU, Disk IO, Virtual Memory Statistics & Number of connections on Linux & logs it in the given log file.
- Copy the shell script in your Linux machine.
- Edit the script & provide the below mentioned information :-
# Path for the log file (Path & Name of the log file where it will log the statistics)
# Port Numbers (Port Numbers to monitor the number of connections)
# interval in seconds (Interval between the consecutive 2 Polls)
- run this command
sh os-res-lin.sh & (to run it in the background)