Commit Graph

869 Commits

Author SHA1 Message Date
Bluemangoo b5f44f3fa1 vmstat: add simple tests 2025-03-28 16:14:09 +00:00
Bluemangoo ccb2b43a9c vmstat&top: reuse cpu load 2025-03-28 16:14:09 +00:00
Bluemangoo 2f0d29c45a vmstat: add basic implementation of vmstat 2025-03-28 16:14:09 +00:00
Daniel Hofstetter 888553ff44 Merge pull request #374 from uutils/renovate/sysinfo-0.x
chore(deps): update rust crate sysinfo to 0.34.0
2025-03-28 17:08:12 +01:00
renovate[bot] 3af6173871 chore(deps): update rust crate sysinfo to 0.34.0 2025-03-28 15:40:09 +00:00
Sylvestre Ledru 0b20f82cad Merge pull request #375 from cakebaker/pidof_simplify_usage_string
pidof: simplify usage string
2025-03-28 15:41:50 +01:00
Daniel Hofstetter 3ff024756b pidof: simplify usage string 2025-03-28 15:34:40 +01:00
Daniel Hofstetter fe1d5a1d6f Merge pull request #372 from uutils/renovate/mozilla-actions-sccache-action-0.x
chore(deps): update mozilla-actions/sccache-action action to v0.0.9
2025-03-27 14:12:05 +01:00
renovate[bot] 135d013807 chore(deps): update mozilla-actions/sccache-action action to v0.0.9 2025-03-27 12:57:14 +00:00
Daniel Hofstetter 83c96f9087 Merge pull request #370 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.34
2025-03-27 07:14:15 +01:00
renovate[bot] b65de60b52 chore(deps): update rust crate clap to v4.5.34 2025-03-27 02:44:34 +00:00
Sylvestre Ledru d1bd104b91 Merge pull request #369 from cakebaker/sysctl_rename_splitted_to_split
sysctl: rename `splitted` to `split`
2025-03-26 09:16:47 +01:00
Daniel Hofstetter 313fe9bde7 sysctl: rename splitted to split 2025-03-26 08:59:40 +01:00
Krysztal Huang 1d83d7a8a3 tload: Basic implementation of tload (#362)
* tload: add basic tui layout of modern look

* tload: set x-axis bound from 0 to the width of terminal

* tload: fix mismatched returning type

* tload: add `#[allow(clippy::cognitive_complexity)]`

* tload: add by-utils test

* tload: tweaks for max height of chart

* tload: bump version of `ratatui` from `0.28` to `0.29`

* tload: fix typo

* tload: set exit code to 130

* tload: fix typo

* tload: add license header for `tui.rs`
2025-03-25 16:58:35 +01:00
Sylvestre Ledru 7158c33864 Merge pull request #366 from cakebaker/readme_add_missing_word
README.md: add missing word
2025-03-25 16:27:25 +01:00
Daniel Hofstetter 5580916977 README.md: add missing word 2025-03-25 14:46:02 +01:00
Krysztal Huang 8f6c633e4d Merge pull request #365 from dezgeg/pidof-w
pidof: Implement --with-workers
2025-03-25 20:52:55 +08:00
Tuomas Tynkkynen 9fb6aa3be5 pidof: Implement --with-workers
Lots of tests rely on finding kthreadd thus -w flag needs to be added
to them.
2025-03-24 18:46:17 +02:00
Krysztal Huang e721d857e8 Merge pull request #355 from cakebaker/bump_windows
Bump `windows` & add missing `[target.'cfg(target_os="windows")'.dependencies]`
2025-03-24 10:18:39 +08:00
Krysztal Huang 76fb2a55d7 Merge pull request #360 from dezgeg/require-handler-fixes
pgrep/pkill/pidwait: --require-handler fixes
2025-03-24 10:16:20 +08:00
Krysztal Huang d70f9a710d Merge pull request #359 from cakebaker/pidof_dont_require_program_name
pidof: don't require program name
2025-03-24 09:50:37 +08:00
Tuomas Tynkkynen eb0871abc7 process_matcher: Allow lone --require-handler option
Make it possible to run `pgrep --require-handler` without any other
matcher arguments.
2025-03-23 21:21:50 +02:00
Tuomas Tynkkynen 11584c8f53 process_matcher: Fix off-by-one in signal mask
Apparently the signal masks in /proc/status are off-by-one, ie. bit 0
represents signal 1. In original pgrep signal 0 results in matching
signal 64 so replicate this behaviour also.
2025-03-23 21:16:55 +02:00
Daniel Hofstetter 5ca17df66a pidof: rename test & remove target_os cfg 2025-03-21 10:58:07 +01:00
Daniel Hofstetter 05fcfdcaef pidof: don't require program name as arg 2025-03-21 10:55:59 +01:00