1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

refine the disk iops stat, get cpu info.

This commit is contained in:
winlin 2014-07-27 17:46:31 +08:00
parent ef7a02e643
commit 4f4b15f500
3 changed files with 9 additions and 7 deletions

View file

@ -341,6 +341,8 @@ public:
// @see: print_partition_stats() of iostat.c
// but its value is [0, +], for instance, 0.1532 means 15.32%.
float busy;
// for stat the busy%
SrsProcSystemStat cpu;
public:
// @see: cat /proc/vmstat