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:
parent
ef7a02e643
commit
4f4b15f500
3 changed files with 9 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue