Files
Thomas Weber cdbbd79155 stats: add a interval parameter to cli and api stream mode
podman stats polled by default in a 1 sec period.
This can put quite some load on a machine if you run many containers.

The default value is now 5 seconds.
You can change this interval with a new, optional, --interval, -i cli flag.
The api request got also a interval query parameter for the same purpose.

Additionally a unused const was removed.
Api and cli will fail the request if a 0 or negative value is passed in.

Signed-off-by: Thomas Weber <towe75@googlemail.com>
2021-07-27 07:20:47 +02:00
..
2021-06-23 13:46:45 +03:00
2021-02-06 07:37:29 -06:00
2021-02-09 09:13:21 -05:00
2021-06-04 16:14:52 +03:00
2021-01-21 19:18:51 +01:00