hugetop: print human readable sizes by default#688
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #688 +/- ##
==========================================
- Coverage 19.19% 19.19% -0.01%
==========================================
Files 68 68
Lines 10158 10159 +1
Branches 546 545 -1
==========================================
Hits 1950 1950
- Misses 8208 8209 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
some jobs are failing |
68c6013 to
0acb632
Compare
|
clippy is sad :) |
0acb632 to
76c7cf9
Compare
Thank you for your review, I am revising it. |
78070fa to
bd20d1f
Compare
|
I noticed that And in procps/src on master [?] via C v15.2.0-gcc
❯ sudo ./hugetop -H --o
hugetop - Fri Jun 5 17:34:20 2026
node(s): 2.0Mi - 5/8, 1.0Gi - 0/0
PID SHARED PRIVATE COMMAND
44101 0B 6.0Mi hugetlb_test
-------
NOTICE HERE
procps/src on master [?] via C v15.2.0-gcc
❯ sudo ./hugetop --o
hugetop - Fri Jun 5 17:34:24 2026
node(s): 2.0Mi - 5/8, 1.0Gi - 0/0
PID SHARED PRIVATE COMMAND
44101 0 6144 hugetlb_test
-------
NOTICE HEREBut in this pr procps on fix-bug#687-print-human-readable-sizes-by-default [$] is 📦 v0.0.1 via 🦀 v1.96.0 took 6s
❯ cargo run -q hugetop -o -H
hugetop - Fri Jun 5 17:35:44 2026
node(s): 2.0Mi - 5/8, 1.0Gi - 0/0
PID SHARED PRIVATE COMMAND
44101 0B 6.0Mi hugetlb_test
-------
NOTICE HERE
procps on fix-bug#687-print-human-readable-sizes-by-default [$] is 📦 v0.0.1 via 🦀 v1.96.0 took 3s
❯ cargo run -q hugetop -o
hugetop - Fri Jun 5 17:35:49 2026
node(s): 2.0Mi - 5/8, 1.0Gi - 0/0
PID SHARED PRIVATE COMMAND
44101 0B 6.0Mi hugetlb_test
-------
NOTICE HERESo please fixed this mistake :) |
|
Okay, @Krysztal112233 thank you for the suggestion; I will handle this situation. |
a22929d to
3a26c36
Compare
Consistent with the hugetop command of `procps-ng`, change the default size to a format suitable for human reading. 1. Node summary always human-readable; 2. Process columns respect -H flag Closes: uutils#687
3a26c36 to
66b4450
Compare
|
The error message from |
Consistent with the hugetop command of
procps-ng, change the default size to a format suitable for human reading.Closed: #687