2019-09-04 06:27:25 +03:00
[ package ]
2019-09-17 05:54:39 +03:00
name = "bottom"
2021-09-12 21:02:11 +03:00
version = "0.6.4"
2020-01-12 02:21:14 +03:00
authors = [ "Clement Tsang <cjhtsang@uwaterloo.ca>" ]
2019-09-04 06:27:25 +03:00
edition = "2018"
2019-09-17 05:54:39 +03:00
repository = "https://github.com/ClementTsang/bottom"
2020-02-23 02:41:13 +03:00
keywords = [ "cross-platform" , "monitoring" , "cli" , "top" , "tui" ]
2019-09-17 05:42:23 +03:00
license = "MIT"
2020-02-19 08:16:40 +03:00
categories = [ "command-line-utilities" , "visualization" ]
2020-02-23 02:38:18 +03:00
description = "A cross-platform graphical process/system monitor with a customizable interface and a multitude of features. Supports Linux, macOS, and Windows."
2019-09-17 07:24:36 +03:00
readme = "README.md"
2020-08-19 23:32:33 +03:00
default-run = "btm"
2020-09-01 00:50:21 +03:00
build = "build.rs"
2019-09-04 06:27:25 +03:00
2019-10-19 23:29:04 +03:00
[ [ bin ] ]
name = "btm"
2020-08-19 23:32:33 +03:00
path = "src/bin/main.rs"
doc = false
2019-09-04 06:27:25 +03:00
2021-03-01 01:40:55 +03:00
[ lib ]
test = false
doctest = false
doc = false
2020-01-05 00:07:35 +03:00
[ profile . release ]
2020-12-18 08:40:55 +03:00
debug = 0
lto = true
# debug = true
# lto = false
2020-02-18 02:13:13 +03:00
opt-level = 3
2020-03-05 10:23:19 +03:00
codegen-units = 1
2020-01-05 00:07:35 +03:00
2020-12-12 04:39:32 +03:00
[ features ]
2021-08-20 05:16:44 +03:00
default = [ "fern" , "log" , "battery" ]
2020-12-12 04:39:32 +03:00
2019-09-04 06:27:25 +03:00
[ dependencies ]
2021-05-09 02:55:01 +03:00
anyhow = "1.0.40"
backtrace = "0.3.59"
2020-10-03 05:12:07 +03:00
chrono = "0.4.19"
2020-11-03 07:52:45 +03:00
crossterm = "0.18.2"
2021-05-09 02:55:01 +03:00
ctrlc = { version = "3.1.9" , features = [ "termination" ] }
2020-08-21 23:00:14 +03:00
clap = "2.33"
2021-05-16 04:57:02 +03:00
cfg-if = "1.0"
2021-06-07 01:58:53 +03:00
dirs = "3.0.2"
2021-05-09 02:55:01 +03:00
futures = "0.3.14"
2021-05-09 08:39:42 +03:00
futures-timer = "3.0.2"
feature: Collapsing in tree mode sums usage to parent (#445)
For the process widget, we now sum the resource usage of the child processes on the parent entry when collapsing in tree mode.
Note that if you search to filter, and collapse, it will not sum the pruned values (values that cannot be seen). This is partly because I'm a bit lazy, and partly because I think this behaviour makes sense.
For example, let's say I search for a process with 4 child processes "AA, AB, BA, BB", with CPU usage 0.1, 0.2, 0.3, 0.4 respectively. Assume the parent process has 0 usage.
- Without filter, it sums to 1.0
- With a filter on A, it would sum to just 0.3
- With a filter on AA, it would sum to 0.1
I think this is fine because I'm treating this as summing any child that is still *visible* somehow. Summing unseen values would probably be weird as it would look like it's not adding up.
Further note that if you had, say, a child "CC" with a usage of, say, 2.0, and its parent of "AB", and you searched for CC in our above example, you would get a sum of 2.2. This is because AB is still visible by the fact that CC was the searched process, and AB must still exist (albeit faded out) in the tree hierarchy, and as such will still be displayed.
2021-04-05 08:19:17 +03:00
fxhash = "0.2.1"
2021-05-09 02:55:01 +03:00
indexmap = "1.6.2"
2021-02-20 01:57:39 +03:00
itertools = "0.10.0"
2020-11-23 00:44:40 +03:00
once_cell = "1.5.2"
2021-05-09 02:55:01 +03:00
regex = "1.5.4"
serde = { version = "1.0.125" , features = [ "derive" ] }
2021-04-04 12:38:57 +03:00
# Sysinfo is still used in Linux for the ProcessStatus
2021-06-26 09:14:44 +03:00
sysinfo = "0.18.2"
2021-02-20 01:57:39 +03:00
thiserror = "1.0.24"
toml = "0.5.8"
tui = { version = "0.14.0" , features = [ "crossterm" ] , default-features = false }
typed-builder = "0.9.0"
2020-11-29 02:29:23 +03:00
unicode-segmentation = "1.7.1"
2020-08-21 23:00:14 +03:00
unicode-width = "0.1"
2019-09-15 04:22:57 +03:00
2021-08-20 05:16:44 +03:00
# For debugging only... disable on release builds with for now? TODO: Redo this.
2021-05-14 06:41:43 +03:00
fern = { version = "0.6.0" , optional = true }
log = { version = "0.4.14" , optional = true }
2021-08-20 05:16:44 +03:00
battery = { version = "0.7.8" , optional = true }
2020-12-22 04:24:27 +03:00
[ target . 'cfg(unix)' . dependencies ]
2021-02-20 01:57:39 +03:00
libc = "0.2.86"
2020-12-22 04:24:27 +03:00
[ target . 'cfg(target_os = "linux")' . dependencies ]
2021-07-18 05:27:40 +03:00
heim = { version = "0.1.0-rc.1" , features = [ "cpu" , "disk" , "net" , "sensors" ] }
2021-09-12 20:48:01 +03:00
procfs = "0.10.1"
2021-07-18 05:27:40 +03:00
smol = "1.2.5"
2020-05-02 06:53:29 +03:00
2020-12-22 04:24:27 +03:00
[ target . 'cfg(target_os = "macos")' . dependencies ]
2021-05-14 06:41:43 +03:00
heim = { version = "0.1.0-rc.1" , features = [ "cpu" , "disk" , "memory" , "net" ] }
2020-09-02 09:59:51 +03:00
2020-12-22 04:24:27 +03:00
[ target . 'cfg(target_os = "windows")' . dependencies ]
2021-05-09 08:39:42 +03:00
heim = { version = "0.1.0-rc.1" , features = [ "cpu" , "disk" , "memory" ] }
2020-08-21 23:00:14 +03:00
winapi = "0.3.9"
2020-02-29 05:15:36 +03:00
2019-09-15 04:22:57 +03:00
[ dev-dependencies ]
2021-02-20 01:57:39 +03:00
assert_cmd = "1.0.3"
2021-05-09 02:55:01 +03:00
predicates = "1.0.8"
2020-02-23 02:38:18 +03:00
2020-09-01 00:50:21 +03:00
[ build-dependencies ]
clap = "2.33"
2020-02-23 02:38:18 +03:00
[ package . metadata . deb ]
2020-08-23 03:22:47 +03:00
section = "utility"
2020-02-23 02:38:18 +03:00
assets = [
[ "target/release/btm" , "usr/bin/" , "755" ] ,
[ "LICENSE" , "usr/share/doc/btm/" , "644" ] ,
2021-05-14 06:41:43 +03:00
[
2021-09-24 02:13:13 +03:00
"target/release/build/bottom-*/out/btm.bash" ,
2021-05-14 06:41:43 +03:00
"usr/share/bash-completion/completions/btm" ,
"644" ,
] ,
[
2021-09-24 02:13:13 +03:00
"target/release/build/bottom-*/out/btm.fish" ,
2021-05-14 06:41:43 +03:00
"usr/share/fish/vendor_completions.d/btm.fish" ,
"644" ,
] ,
2021-09-24 02:13:13 +03:00
[
"target/release/build/bottom-*/out/_btm" ,
"usr/share/zsh/vendor-completions/" ,
"644" ,
] ,
2020-02-23 02:38:18 +03:00
]
extended-description = "" " \
2020-09-01 00:50:21 +03:00
A cross-platform graphical process / system monitor with a customizable interface and a multitude of
features . Supports Linux , macOS , and Windows .
2020-02-23 02:38:18 +03:00
By default , bottom will look for a config file in ~ / . config / bottom / bottom . toml .
2020-03-05 10:09:29 +03:00
If one is not specified it will fall back to defaults . If a config file does not
exist at the specified or default location , a blank one will be created for the user .
2020-02-25 17:54:03 +03:00
"" "
2020-08-24 04:22:31 +03:00
[ package . metadata . wix ]
2020-08-24 04:39:53 +03:00
output = "bottom_x86_64_installer.msi"
[ dev-dependencies . cargo-husky ]
version = "1"
2020-09-01 06:59:33 +03:00
default-features = false
2020-12-11 06:29:25 +03:00
features = [ "user-hooks" ]