On server side:
-
Put file
pick_metrics.py
on server, where data will be picked. -
Execute
chmod a+x pick_metrics.py
-
Run script:
./pick_metrics.py 60
, where 60 means minutes, when script picks data about (% of CPU and RAM load). (pick_metrics.py
can be also ran on server from local machine).
Locally:
-
Edit file
config.ini
-
For Linux: run
run_metrics.sh
(for Windows: runrun_metrics.bat
), that runspick_metrics.py
on the server side.pick_metrics.py
picks data about the system, writes it to txt and csv files. -
For Linux: run
make_report.sh
(for Windows: runmake_report.bat
). It will launch scripts, that pick reports from the server and visualize them (every 10 secs).
Reports examples: