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.

Copyright 2015 - 2018 Xiaomi Inc. all right reserved,powered by Gitbook该文件修订时间: 2022-05-30 16:56:30