1. Practice of monitoring directory size and process detail
To collect the data of directory size and process details, we can use the scripts falcon-scripts
1.1. Collected Index
Below is the metrics:
METRIC | NOTE |
---|---|
du.bytes.used | directory size, byte |
proc.cpu | process cpu, percent |
proc.mem | process memory, byte |
proc.io.in | process io input, byte |
proc.io.out | process io output, byte |
1.2. Working Principle
du.sh collects data by command du
proc.sh analyzes the data in /proc/$PID/status /proc/$PID/io and etc.