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

api connections add udp, add disk iops. 0.9.176

This commit is contained in:
winlin 2014-07-27 17:16:04 +08:00
parent b334021836
commit df8414af63
4 changed files with 31 additions and 8 deletions

View file

@ -332,11 +332,16 @@ public:
bool ok;
// the time in ms when sample.
int64_t sample_time;
// input(read) KBytes per seconds
int in_KBps;
// output(write) KBytes per seconds
int out_KBps;
// @see: print_partition_stats() of iostat.c
// but its value is [0, 1], for instance, 0.1532 means 15.32%.
float busy;
public:
// @see: cat /proc/vmstat
// the in(read) page count, pgpgin*1024 is the read bytes.