152 Commits

Author SHA1 Message Date
Daniel Hofstetter
0554e8cdfe
Merge pull request from alxndrv/add-lslocks
Add partial implementation of `lslocks`
2025-02-24 14:23:06 +01:00
Alexandre Macabies
8a7b23d4eb lscpu: Add option --bytes
Fixes .
2025-02-22 17:16:15 +01:00
alxndrv
ee14c44540 lslocks: Small code cleanup 2025-02-21 18:20:53 +02:00
alxndrv
9dd6bc1391 lslocks: Print output in a table format similar to the original 2025-02-20 18:13:45 +02:00
alxndrv
c2b189ff53 lslocks: Implement parsing of /proc/locks 2025-02-18 19:19:39 +02:00
alxndrv
c2571cb6fa lslocks: Set up lslocks entry point 2025-02-18 16:18:49 +02:00
Daniel Hofstetter
68706fbb63 lscpu: simplify signature of CpuInfo::new() 2025-02-17 16:51:13 +01:00
Daniel Hofstetter
d9b6f13b4f
Merge pull request from alxndrv/lscpu-read-vulns
`lscpu`: Read CPU information from `sysfs`
2025-02-17 16:40:03 +01:00
Andrey Aleksandrov
748bbf845e Update src/uu/lscpu/src/sysfs.rs
Co-authored-by: Daniel Hofstetter <daniel.hofstetter@42dh.com>
2025-02-17 17:34:16 +02:00
alxndrv
3180b89522 lscpu: Fix minor issues from review 2025-02-17 16:40:08 +02: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
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
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
alxndrv
edb3b83ec9 lscpu: Use common function to read fields from /proc/cpuinfo 2025-02-12 17:05:37 +02: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
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