568 Commits

Author SHA1 Message Date
Daniel Hofstetter
6ce5ecedfc
Merge pull request from uutils/renovate/parse_datetime-0.x
fix(deps): update rust crate parse_datetime to 0.8.0
2025-02-17 13:34:07 +01:00
renovate[bot]
62291c6726
fix(deps): update rust crate parse_datetime to 0.8.0 2025-02-17 11:12:57 +00:00
Daniel Hofstetter
93de68e70c
Merge pull request from Foorack/lsmem
Improve `lsmem`
2025-02-15 16:10:03 +01:00
Foorack
088c023d5c lsmem: Remove unnecessary allow(dead_code) 2025-02-15 10:47:27 +01:00
Daniel Hofstetter
05d92d892e
Merge pull request from uutils/renovate/linux-raw-sys-0.x
chore(deps): update rust crate linux-raw-sys to 0.8.0
2025-02-15 07:09:23 +01:00
renovate[bot]
40eafddab0
chore(deps): update rust crate linux-raw-sys to 0.8.0 2025-02-14 21:39:00 +00:00
alxndrv
4b6b9f9291 lscpu: Show "threads per core" count 2025-02-14 22:17:52 +02:00
alxndrv
c6a3659029 lscpu: Print cache sizes in human-readable form 2025-02-14 20:38:12 +02:00
alxndrv
2a381e5321 lscpu: Use own function to parse cache sizes 2025-02-14 19:33:19 +02:00
alxndrv
bc44b86fe7 lscpu: Calculate core/socket count 2025-02-14 15:31:54 +02:00
alxndrv
41bff4fbd6 lscpu: Show number of physical CPU sockets, add unit test 2025-02-14 14:57:43 +02:00
alxndrv
99c751bd1d lscpu: Parse CPU cache topology from sysfs 2025-02-14 13:34:36 +02:00
alxndrv
e689bee771 lscpu: Read CPU count from sysfs, add freq_boost status to output 2025-02-13 22:10:25 +02:00
alxndrv
3980e7714f lscpu: Show CPU vulnerability mitigation info 2025-02-13 19:25:44 +02:00
Daniel Hofstetter
01b5f3384e
Merge pull request from alxndrv/lscpu-children
`lscpu`: Support extracting and outputting nested fields
2025-02-13 14:58:27 +01:00
alxndrv
95d57eb230 lscpu: Improve tests a tiny bit 2025-02-13 12:58:21 +02:00
alxndrv
21706eb103 lscpu: Move code around as per the review comments 2025-02-13 12:28:00 +02:00
alxndrv
0281da00dd lscpu: Align output values to the same column 2025-02-12 20:22:05 +02:00
alxndrv
e0a6ec7eb5 lscpu: Add support for CPU byte order 2025-02-12 19:40:34 +02:00
alxndrv
5e98c66882 lscpu: Don't early-return on failure to read /proc/cpuinfo 2025-02-12 19:15:57 +02:00
alxndrv
3953552e3a lscpu: Clean up creation of new entries 2025-02-12 18:56:34 +02:00
alxndrv
1e456daff5 lscpu: Use recursive printing logic to output nested fields 2025-02-12 18:37:49 +02:00
Andrey Aleksandrov
98689faad2
Merge branch 'uutils:main' into lscpu-children 2025-02-12 17:06:05 +02:00
alxndrv
edb3b83ec9 lscpu: Use common function to read fields from /proc/cpuinfo 2025-02-12 17:05:37 +02:00
Daniel Hofstetter
c0ae6bf61f
Merge pull request from alxndrv/lscpu-fix-regex
`lscpu`: Ensure regex behaves correctly with multi-line input
2025-02-12 16:01:15 +01:00
alxndrv
9e1b825a7d lscpu: Add support for nested fields in output 2025-02-12 16:50:14 +02:00
alxndrv
b6a4bfd888 lscpu: Ensure regex behaves correctly with multi-line input 2025-02-12 16:42:56 +02:00
Daniel Hofstetter
5cce641721
Merge pull request from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.29
2025-02-12 07:07:40 +01:00
renovate[bot]
ab93898c7f
chore(deps): update rust crate clap to v4.5.29 2025-02-11 22:13:59 +00:00
Foorack
72435a763f lsmem: Generate test data dynamically instead 2025-02-10 10:47:24 +01:00
Foorack
6905e30180 lsmem: fix prepending of sysroot to sysmem path 2025-02-09 17:56:01 +01:00
Foorack
657a88db20 lsmem: improve Windows compatability 2025-02-09 17:44:52 +01:00
Foorack
5774bac639 lsmem: String path concat on Windows 2025-02-09 17:32:02 +01:00
Foorack
642703cf36 lsmem: fix clippy warnings 2025-02-09 17:16:00 +01:00
Foorack
70849a620a lsmem: implement --summary and more tests 2025-02-09 16:53:32 +01:00
Foorack
fd945feaf7 lsmem: better error messages in case of file read error 2025-02-09 16:17:38 +01:00
Foorack
134ea11f5d lsmem: make printable columns override split columns if no split columns are provided 2025-02-09 16:15:39 +01:00
Foorack
f188fd2ae0 lsmem: Fix splitting by zones 2025-02-09 15:48:46 +01:00
Foorack
f34ebac3fe lsmem: Fix JSON output writing size as Number in bytes-mode 2025-02-09 15:11:13 +01:00
Foorack
eb93139c3d lsmem: cleanup utils.rs 2025-02-09 15:08:29 +01:00
Foorack
58b6b85a8f lsmem: Fix specified --output columns with JSON print 2025-02-09 12:21:32 +01:00
Foorack
89eeb23806 lsmem: sort tests 2025-02-09 12:21:32 +01:00
Foorack
8fa6345470 lsmem: Fix specified --output columns with pairs print 2025-02-09 12:21:32 +01:00
Foorack
924537e792 lsmem: Fix specified --output columns with raw print 2025-02-09 12:21:32 +01:00
Foorack
57b9c1f0f4 lsmem: Implement sysroot, add many test, more output alignment with util-linux 2025-02-09 12:21:32 +01:00
Foorack
8b8728e1df lsmem: implement --output column printing 2025-02-09 12:21:32 +01:00
Foorack
6fbd0cd072 lsmem: Remove tabled for fine-grained display 2025-02-09 12:21:31 +01:00
Foorack
165d1ed5fa lsmem: Fix SIZE column min-width in --all mode 2025-02-09 12:20:33 +01:00
Foorack
b75db66f59 lsmem: Implement --all (-a) 2025-02-09 12:20:33 +01:00
Foorack
306a366900 Add tests 2025-02-09 12:20:33 +01:00