mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
get self proc and system proc stat
This commit is contained in:
parent
117fd67950
commit
951a93ab86
5 changed files with 156 additions and 20 deletions
|
@ -447,7 +447,7 @@ int SrsServer::cycle()
|
|||
srs_update_system_rusage();
|
||||
}
|
||||
if (i == SRS_SYS_CPU_STAT_RESOLUTION_TIMES) {
|
||||
srs_update_system_cpu_stat();
|
||||
srs_update_proc_stat();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue