595 Commits

Author SHA1 Message Date
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
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 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 
2025-02-08 16:05:26 +01:00
Daniel Hofstetter
07b28d8205
Merge pull request 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 from dezgeg/blockdev
blockdev: Add tool
2025-02-05 18:19:41 +01:00
Sylvestre Ledru
828209a304
Merge pull request from cakebaker/lscpu_rename_test_function
lscpu: rename test function
2025-02-05 18:18:56 +01:00
Daniel Hofstetter
6d3f21f999 lscpu: rename test function 2025-02-05 16:29:44 +01:00
Daniel Hofstetter
4279134ee5
Merge pull request from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.28
2025-02-04 07:08:44 +01:00
renovate[bot]
0c2b11b08e
chore(deps): update rust crate clap to v4.5.28 2025-02-04 01:35:36 +00:00
Sylvestre Ledru
b31328b902
Merge pull request from cakebaker/bump_rand
Bump `rand` & adapt tests to its API changes
2025-01-31 15:47:19 +01:00
Daniel Hofstetter
3be5f0e46d
Merge pull request from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.44
2025-01-29 17:39:05 +01:00
renovate[bot]
dc121315ab
chore(deps): update rust crate clap_complete to v4.5.44 2025-01-29 16:31:35 +00:00
Sylvestre Ledru
25c6dac67b
Merge pull request from cakebaker/lscpu_remove_underscore_from_var_name
lscpu: remove underscore-prefix from var name
2025-01-29 17:30:50 +01:00
Sylvestre Ledru
590c086af3
Merge pull request from cakebaker/lscpu_fix_formatting
lscpu: fix code formatting & remove sentence from help text
2025-01-29 17:30:40 +01:00
Daniel Hofstetter
c9cf60cd7d lscpu: remove underscore-prefix from var name 2025-01-29 17:05:01 +01:00
Daniel Hofstetter
3fde4a5df9 lscpu: remove irrelevant info from help text 2025-01-29 16:44:33 +01:00
Daniel Hofstetter
3e70821c43 lscpu: fix code formatting 2025-01-29 16:40:37 +01:00
Daniel Hofstetter
9b8f231a5b
Merge pull request from Harshit933/lscpu/hex
Add support for `--hex` flag for lscpu command
2025-01-29 16:33:41 +01:00