Commit Graph

508 Commits

Author SHA1 Message Date
Daniel Hofstetter
93de68e70c Merge pull request #216 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 #221 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
Daniel Hofstetter
01b5f3384e Merge pull request #218 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 #219 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 #217 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
Foorack
afd27bdcaf lsmem: Fix JSON output to be matching util-linux 2025-02-09 12:20:33 +01:00
Foorack
f609546109 lsmem: Print summary with indent to match util-linux 2025-02-09 12:20:33 +01:00
Foorack
4b4f4932f7 Remove padding from table and add test 2025-02-09 12:20:33 +01:00
Foorack
34d22a8b50 Add padding between table and summary to match util-linux 2025-02-09 12:20:33 +01:00
Sylvestre Ledru
3eec3abef9 Merge pull request #68 from howjmay/lscpu-json
lscpu: Add option --json
2025-02-08 17:08:10 +01:00
Daniel Hofstetter
adaf45f9a2 lscpu: disable test_hex test 2025-02-08 16:05:40 +01:00
Yang Hau
4fc7653e84 lscpu: Add option --json
closes #15
2025-02-08 16:05:26 +01:00
Daniel Hofstetter
07b28d8205 Merge pull request #215 from uutils/renovate/tabled-0.x
chore(deps): update rust crate tabled to 0.18.0
2025-02-08 07:05:40 +01:00
renovate[bot]
b3ef1c0f1b chore(deps): update rust crate tabled to 0.18.0 2025-02-07 18:33:59 +00:00
Sylvestre Ledru
9f5f567d90 Merge pull request #194 from dezgeg/blockdev
blockdev: Add tool
2025-02-05 18:19:41 +01:00