other: add process uptime as a default column (#1411)

* other: add process uptime as a default column

* update docs
This commit is contained in:
Clement Tsang 2024-02-15 03:25:48 -05:00 committed by ClementTsang
parent 3ee883420a
commit cd1715cd8f
No known key found for this signature in database
GPG Key ID: DC3B7867D8D97095
3 changed files with 3 additions and 5 deletions

View File

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- [#1344](https://github.com/ClementTsang/bottom/pull/1344): Change the `group` command line-argument to `group_processes` for consistency with the config file option.
- [#1376](https://github.com/ClementTsang/bottom/pull/1376): Group together related command-line arguments in `-h` and `--help`.
- [#1411](https://github.com/ClementTsang/bottom/pull/1411): Add `time` as a default column.
### Bug Fixes

View File

@ -27,17 +27,13 @@ By default, the main process table displays the following information for each p
- Total amount written
- User
- Process state
It can also additionally display the following columns:
- Process running time
- Process uptime
With the feature flag (`--enable_gpu` on Linux/Windows) and gpu process columns enabled in the configuration:
- GPU memory use percentage
- GPU core utilization percentage
See [the processes configuration page](../../configuration/config-file/processes.md) on how to customize which columns
are shown.

View File

@ -318,6 +318,7 @@ impl ProcWidgetState {
TotalWrite,
User,
State,
Time,
];
default_columns.into_iter().map(make_column).collect()