Commit Graph

483 Commits

Author SHA1 Message Date
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
Sylvestre Ledru
828209a304 Merge pull request #214 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 #211 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 #206 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 #209 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 #208 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 #207 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 #201 from Harshit933/lscpu/hex
Add support for `--hex` flag for lscpu command
2025-01-29 16:33:41 +01:00
Daniel Hofstetter
1ddd589e5e tests: adapt to API changes in rand 2025-01-29 09:43:43 +01:00
Daniel Hofstetter
b7f80b6b90 Bump rand from 0.8.5 to 0.9.0 2025-01-29 09:41:13 +01:00
Daniel Hofstetter
a6a99b9df0 Merge pull request #204 from uutils/renovate/serde_json-1.x-lockfile
chore(deps): update rust crate serde_json to v1.0.138
2025-01-29 07:10:14 +01:00
Daniel Hofstetter
68592c6f67 Merge pull request #205 from uutils/renovate/tempfile-3.x-lockfile
chore(deps): update rust crate tempfile to v3.16.0
2025-01-29 07:06:33 +01:00
renovate[bot]
f7e7d93a2d chore(deps): update rust crate tempfile to v3.16.0 2025-01-29 01:30:59 +00:00
renovate[bot]
3616f2780d chore(deps): update rust crate serde_json to v1.0.138 2025-01-28 20:54:32 +00:00
Daniel Hofstetter
37a9424e77 Merge pull request #202 from uutils/renovate/clap_complete-4.x-lockfile
chore(deps): update rust crate clap_complete to v4.5.43
2025-01-27 17:45:59 +01:00
renovate[bot]
1ca3bf3df7 chore(deps): update rust crate clap_complete to v4.5.43 2025-01-27 16:37:54 +00:00
Harshit Verma
16817945c4 test: add hex flag test for lscpu 2025-01-24 22:28:48 +05:30
Harshit Verma
ffe2ba60b0 feature: add --hex flag for lscpu
This commits add the `--hex` flag for lscpu in order to convert
all the decimal values (for now only cores) to hexadecimal.
2025-01-23 06:08:43 +05:30
Daniel Hofstetter
c00a4cb0b6 Merge pull request #200 from uutils/renovate/clap-4.x-lockfile
chore(deps): update rust crate clap to v4.5.27
2025-01-21 06:46:53 +01:00
renovate[bot]
f7c522c268 chore(deps): update rust crate clap to v4.5.27 2025-01-21 00:31:23 +00:00