mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-20 20:24:47 +02:00
other: add process uptime as a default column (#1411)
* other: add process uptime as a default column * update docs
This commit is contained in:
parent
3ee883420a
commit
cd1715cd8f
@ -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.
|
- [#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`.
|
- [#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
|
### Bug Fixes
|
||||||
|
|
||||||
|
@ -27,17 +27,13 @@ By default, the main process table displays the following information for each p
|
|||||||
- Total amount written
|
- Total amount written
|
||||||
- User
|
- User
|
||||||
- Process state
|
- Process state
|
||||||
|
- Process uptime
|
||||||
It can also additionally display the following columns:
|
|
||||||
|
|
||||||
- Process running time
|
|
||||||
|
|
||||||
With the feature flag (`--enable_gpu` on Linux/Windows) and gpu process columns enabled in the configuration:
|
With the feature flag (`--enable_gpu` on Linux/Windows) and gpu process columns enabled in the configuration:
|
||||||
|
|
||||||
- GPU memory use percentage
|
- GPU memory use percentage
|
||||||
- GPU core utilization percentage
|
- GPU core utilization percentage
|
||||||
|
|
||||||
|
|
||||||
See [the processes configuration page](../../configuration/config-file/processes.md) on how to customize which columns
|
See [the processes configuration page](../../configuration/config-file/processes.md) on how to customize which columns
|
||||||
are shown.
|
are shown.
|
||||||
|
|
||||||
|
@ -318,6 +318,7 @@ impl ProcWidgetState {
|
|||||||
TotalWrite,
|
TotalWrite,
|
||||||
User,
|
User,
|
||||||
State,
|
State,
|
||||||
|
Time,
|
||||||
];
|
];
|
||||||
|
|
||||||
default_columns.into_iter().map(make_column).collect()
|
default_columns.into_iter().map(make_column).collect()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user