Commit Graph
2627 Commits
Author SHA1 Message Date
Clement Tsang fe79718e17 refactor: move GPU collection files around (#2231)
No functionality change, this just rearranges the file structure a bit.
2026-09-04 02:00:38 -04:00
Clement Tsang f9e1703727 Improve linux nvidia gpu caching (#2230)
Changes it from a 10s full cache to a 60s conditional cache; we still check the power state now even when using the cached list.
2026-09-03 03:18:51 -04:00
Clement Tsang 30fb02c187 refactor: move Linux DRM-related collection code into its own file (#2228)
Doing this as refactoring work before I start working on supporting Intel GPUs, which are expected to share the same collection code. This should have no functional change.
2026-09-02 02:48:18 -04:00
Clement Tsang e4ba8c657b refactor: run nightly format (#2229)
Run nightly format as of 2026-08-31.
2026-09-01 10:02:00 +00:00
Clement Tsang 7c472015b5 docs: add missing disk I/O graph value to layout docs (#2227) 2026-09-01 00:19:56 +00:00
Clement Tsang 175c12edc4 bug: don't check sleeping NVIDIA GPU/devices to avoid waking them on Linux (#2225)
This PR makes it so that we should hopefully avoid waking up NVIDIA GPUs while gathering info (on Linux only). It mostly follows how we were doing it for AMD devices, which required a bit of refactoring to get it to work with the NVML library I was using.

Note that, as mentioned above, it does not change behaviour for Windows (or other OSes that work with NVIDIA GPUs) at the moment, as I need to use some fairly OS-specific logic to get it to work on each platform from the looks of it.

Unfortunately, I no longer have any Nvidia-based machines to test with, let alone laptops with Optimus... so this may be hard to verify whether it works on my end.
2026-08-31 07:09:41 +00:00
Clement Tsang 3066c959d0 ci: pin netbsd cross apt install (#2223)
Pins curl and xz-utils versions for the netbsd pre-build script. This pins it to the most recent versions as of writing.

Note: may be worth exploring just making a custom image that has this rather than doing it each time beforehand.
2026-08-28 01:37:26 -04:00
Clement Tsang 9a0cd530b8 ci: fix bug around Rust version pinning in BSD test script (#2222)
Test actually didn't run and I didn't realize 🤦; CI didn't check if the scripts dir was updated. I've fixed both the script and the skip check.
2026-08-27 06:40:00 -04:00
Clement Tsang d08c2b9686 ci: bump download-artifact to v8.0.1 (#2219) 2026-08-27 09:53:13 +00:00
Clement Tsang d2158ca3c2 ci: bump deploy-pages to v5.0.0 (#2217) 2026-08-27 09:53:13 +00:00
Clement Tsang 8850188f58 ci: fix bsd test script not respecting pinned Rust version (#2221)
I had made it so it only used stable, which was generally right but not always (e.g. I downgrade Rust version like right now).

Note this had no effect on actually building the binaries as those use cross.
2026-08-27 09:48:48 +00:00
Clement Tsang e08cf8e5ab ci: bump rust-cache to 2.9.2 (#2218)
Bump since it's been a while. Changelog: https://github.com/Swatinem/rust-cache/blob/6323deb102c322ba6fcbdcafc7e3dddab59af2b6/CHANGELOG.md#292
2026-08-27 09:43:27 +00:00
Clement Tsang dfbbc070ff ci: bump upload-pages-artifact to v5.0.0 (#2216) 2026-08-27 04:47:26 -04:00
Clement Tsang e22236a928 uptick: 0.14.9 again (#2215)
🤦 I forgot to bump Cargo.toml.
0.14.9 nightly-0ba6455f-1787820333
2026-08-27 07:32:23 +00:00
Clement Tsang d5c3a62eb1 uptick: 0.14.9 (#2213) 2026-08-27 03:09:45 -04:00
Clement Tsang eb81d709f7 ci: revert to using Rust 1.97.1 (#2214) 2026-08-26 05:28:56 +00:00
Clement Tsang 0547a455c2 docs: update changelog (#2212) 2026-08-25 03:14:48 -04:00
allcontributors[bot] c7605749b5 docs: add fxzzi as a contributor for code (#2211)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-08-25 03:11:19 -04:00
fazzi 4be359f9ff bug: handle Linux cmdline that don't have null byte separators (#2210) 2026-08-25 03:09:06 -04:00
allcontributors[bot] 6aadfb3f14 docs: add Oseryx as a contributor for code (#2208)
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
2026-08-24 01:07:11 -04:00
Anis e7ec56333b docs: fix typo in the '--help' flag (#2207) 2026-08-24 01:06:17 -04:00
Clement Tsang fff8a09cb5 ci: bump Rust version to 1.98.0 (#2206) 2026-08-21 05:23:32 +00:00
Clement Tsang 0734df7a3b ci: add checkout for release creation (#2204)
I think this is required as otherwise gh release doesn't work. On nightly we had this already.
2026-08-20 04:34:18 -04:00
Clement Tsang 5c27710b5b ci: run zizmor again to remove action-gh-release and pin almalinux image (#2203)
Run zizmor again. Replaces action-gh-release with just `gh release` and pins the image version for almalinux. Also a driveby fix for docs regarding permissions.
2026-08-18 06:11:30 -04:00
Clement Tsang f6ccfe6417 ci: delete cache-cleaning workflow (#2202) nightly-5dbf984f-1787045014 nightly-5dbf984f-1787045646 2026-08-17 23:24:09 -04:00
Clement Tsang bb741a81da ci: run zizmor on GHA workflows (#2201)
Use zizmor to protect our workflows a bit better. Done buy running zizmor ./ --fix=unsafe-only.

We should also probably add zizmor to our CI pipeline.
2026-08-17 23:19:42 -04:00
Clement Tsang 0b22ee4c43 feature: add option to show zeroed total network usage on startup (#2199)
This adds the ability to run with `--network_start_zeroed` or the `start_zeroed` config option, which will zero out the total network usage so that bottom starts with it at zero, rather than the total network usage reported by the OS since boot.
2026-08-17 00:12:21 -04:00
Clement Tsang 9272641d68 docs: update changelog (#2198) 2026-08-13 13:53:32 -04:00
Clement Tsang 099209593b ci: remove PR trigger for cache clear (#2197) 2026-08-13 06:02:20 -04:00
Clement Tsang 0f7bc17806 uptick: 0.14.8 (#2196)
Bump version for release 0.14.8.
0.14.8
2026-08-13 09:41:58 +00:00
Clement Tsang a10eadd2d5 bug: fix cgroups v1 swap collection around sentinel max value (#2195)
Problem was that with cgroups v1, if the swap had an unlimited value set, it would be done by just setting a huge integer, which would break things.
2026-08-13 05:22:40 -04:00
Clement Tsang ded4585cf0 bug: fix schema links + link generation (#2194)
Fixes the version link generation + current links that were missing the `v`.
2026-08-13 03:31:33 -04:00
Clement Tsang 726f787b89 bug: fix close logic when pressing enter in sort menu (#2191)
There was an if-condition that only ran if the sort state was false. But this would never be hit since `use_sort_table_value` always set it to false beforehand, so it would be stuck focusing on a hidden menu.
2026-08-13 00:40:41 +00:00
Clement Tsang 2b3a5acb37 deps: bump clap-related deps (#2188)
Bumps clap (4.6.6), clap_complete (4.6.9), and clap_mangen (0.3.2).
2026-08-08 02:27:19 -04:00
Clement Tsang 991c04adb6 ci: add back audit CI check (#2186)
Adds back the audit workflow using [`audit-check`](https://github.com/rustsec/audit-check). This also adds a drive-by update for `anyhow` to `1.0.104` since it was hitting an unsound warning.
2026-08-06 08:21:57 +00:00
Clement Tsang 99d9ed7cc0 deps: bump a few deps (#2184) 2026-08-06 04:08:47 -04:00
Clement Tsang a27a42f9f2 other: move schema_gen script to scripts folder (#2183) 2026-08-06 03:54:45 -04:00
Clement Tsang 836ec5bf7f deps: don't directly use time for logging (#2182)
Wanted to prune Cargo.toml a tiny bit and noticed I could just use humantime to do this instead of time for logging purposes. Of course I still pull it in via Cargo.lock though.
2026-07-31 09:14:48 +00:00
Clement Tsang c929b3de6a deps: bump regex to 1.13.1 (#2180) 2026-07-30 03:39:59 -04:00
Clement Tsang 6f3b62851e uptick: 0.14.7 (#2178) 0.14.7 2026-07-26 23:18:26 -04:00
Clement Tsang a76fdba951 ci: properly use 22.04 for build-deb job (#2177)
At some point I accidentally changed the default to 24.04 when refactoring things. This means it won't work for some older Debian-based systems like bookworm, primarily for x86, since ARM was correctly using an override. This change just reverts the default back.
2026-07-26 22:52:34 -04:00
Clement Tsang 4859a2d317 other: add OS as an input to packaging issue template + update bug report template (#2176)
Update for packaging and bug issue templates, mainly wording/validations for the latter and adding OS/arch for the former.
2026-07-26 22:07:56 -04:00
Clement Tsang 95b60c8016 feature: add configurable default column sort order (#2174)
Adds an optional configuration field for the temp/process/disk table widgets to control the default sort order.
2026-07-26 20:37:20 -04:00
Clement Tsang 6934fe1cd3 deps: bump clap (4.6.4) and clap_complete_nushell (4.6.1) (#2172) 2026-07-25 04:26:18 +00:00
Clement Tsang ff5eed8c6c deps: bump rustix to 1.1.4 and libc to 0.2.189 (#2171)
Bumps rustix to 1.1.4 and libc to 0.2.189.
2026-07-24 00:58:13 -04:00
Clement Tsang 082cfea9cc deps: update sysinfo to 0.39.6 (#2170) 2026-07-23 01:18:35 -04:00
Clement Tsang bac7b07de4 deps: bump timeless (#2169)
Bump timeless version to use the stable version. As the author of the crate, there is no functionality change.
2026-07-22 04:20:28 +00:00
Clement Tsang 1a48939faf docs: update changelog with FreeBSD filedescriptor change (#2168) 2026-07-20 18:52:42 -04:00
Clement Tsang 547011a5c4 other: remove filedescriptor hack for freebsd (#2167)
A looooong time ago, we had to manually hijack stdio for FreeBSD to suppress a bogus stderr warning (see
#798). I filed an upstream report at GuillaumeGomez/sysinfo#875, but the real issue was actually with FreeBSD itself. From the upstream upstream bug report at https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=228432, it looks like this has been fixed since 2022 for FreeBSD 13, so I think it's safe to remove this hack at this point on our end, especially given that I don't build binaries for older than FreeBSD 13 anymore (oldest is 15 now).

This PR allows us to entirely remove the filedescriptor crate for FreeBSD since we no longer use it entirely.
2026-07-20 03:29:18 -04:00
Clement Tsang 75f19806f9 uptick: 0.14.6 (#2166) 0.14.6 2026-07-20 00:11:54 -04:00