vmm_stats: unify with other tools to 10s interval by default
This commit is contained in:
parent
43b152fa6c
commit
3cec5dd35d
|
@ -9,7 +9,7 @@
|
||||||
- remove pid
|
- remove pid
|
||||||
- statistics pid
|
- statistics pid
|
||||||
|
|
||||||
every 15 seconds, statistics of all registered pids are recorded. `statistics`
|
every 10 seconds, statistics of all registered pids are recorded. `statistics`
|
||||||
reports last recorded stats *)
|
reports last recorded stats *)
|
||||||
|
|
||||||
open Lwt.Infix
|
open Lwt.Infix
|
||||||
|
@ -89,7 +89,7 @@ let socket =
|
||||||
|
|
||||||
let interval =
|
let interval =
|
||||||
let doc = "Interval between statistics gatherings (in seconds)" in
|
let doc = "Interval between statistics gatherings (in seconds)" in
|
||||||
Arg.(value & opt int 15 & info [ "internval" ] ~doc)
|
Arg.(value & opt int 10 & info [ "internval" ] ~doc)
|
||||||
|
|
||||||
let cmd =
|
let cmd =
|
||||||
Term.(ret (const jump $ setup_log $ socket $ interval)),
|
Term.(ret (const jump $ setup_log $ socket $ interval)),
|
||||||
|
|
Loading…
Reference in a new issue