stats R: Make the CPU time display less ugly.
This commit is contained in:
parent
294d32bf16
commit
e4ce3b5409
1 changed files with 1 additions and 1 deletions
|
@ -861,7 +861,7 @@ stats_usage (struct Client *source_p)
|
||||||
rup = 1;
|
rup = 1;
|
||||||
|
|
||||||
sendto_one_numeric(source_p, RPL_STATSDEBUG,
|
sendto_one_numeric(source_p, RPL_STATSDEBUG,
|
||||||
"R :CPU Secs %d:%d User %d:%d System %d:%d",
|
"R :CPU Secs %d:%02d User %d:%02d System %d:%02d",
|
||||||
(int) (secs / 60), (int) (secs % 60),
|
(int) (secs / 60), (int) (secs % 60),
|
||||||
(int) (rus.ru_utime.tv_sec / 60),
|
(int) (rus.ru_utime.tv_sec / 60),
|
||||||
(int) (rus.ru_utime.tv_sec % 60),
|
(int) (rus.ru_utime.tv_sec % 60),
|
||||||
|
|
Loading…
Reference in a new issue