Commit Graph

30 Commits

Author SHA1 Message Date
Foorack
088c023d5c lsmem: Remove unnecessary allow(dead_code) 2025-02-15 10:47:27 +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
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
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
Daniel Hofstetter
567e8bf7a9 lsmem: adapt code to changes in tabled
Rename "Disable" to "Remove"
2024-11-23 08:49:32 +01:00
Yang Hau
6f7dc259c9 lsmem: Add option raw 2024-08-27 20:06:05 +08:00
Yang Hau
422e21106f lsmem: Add option pairs 2024-08-26 01:52:38 +08:00
Yang Hau
3aef200dc1 lsmem: Add option json 2024-08-26 01:32:41 +08:00
Yang Hau
f83d22b3ea lsmem: Add noheadings 2024-08-26 01:03:10 +08:00
Yang Hau
1783f0250a lsmem: Impl lsmem 2024-08-25 01:53:38 +08:00
Yang Hau
5091640b74 lsmem: Add lsmem 2024-07-26 23:16:11 +08:00