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:
parent
b334021836
commit
df8414af63
4 changed files with 31 additions and 8 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue