-
Notifications
You must be signed in to change notification settings - Fork 533
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add 'uptime ' to main view #135
Comments
One of the main metrics I use for judging a container is how long it has been running. This feature would be super useful to me if it's trivial to implement 🥇 |
There is a lot of info that may be retrieved from container but we should try to show only most important information. It's not so complicated to add a new column. "State": {
"Status": "exited",
"Running": false,
"Paused": false,
"Restarting": false,
"OOMKilled": false,
"Dead": false,
"Pid": 0,
"ExitCode": 0,
"Error": "",
"StartedAt": "2018-08-02T10:16:49.187187456Z",
"FinishedAt": "2018-08-02T10:16:58.27795818Z"
} So to get uptime we need to count duration from |
I created a pull request but please note that it will show uptime on the moment of last refresh. |
@stokito how often does that refresh happen? My uptime is stuck on the uptime when ctop was launched. CPU/Memory etc all refresh every second, uptime is stale |
@timwsuqld as far I remember the uptime is just taken from |
True, this confused me. Can this be fixed by updating it regularly? |
No description provided.
The text was updated successfully, but these errors were encountered: