hugetop: print human readable sizes by default

Open Beginner friendly
#687 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Feature
Clarity
Clearly specified
Activity status
Quiet
Tech stack
rust
Domain
cli

Research direction

Start at the hugetop command entry point and run cargo run -q hugetop to inspect the current size formatting. Update the default output to use human-readable units like 2.0Mi and 1.0Gi, then rerun the command to verify the displayed sizes match the requested format.

Written by the indexing model from the issue text.

Description

hugetop

Original size format

$ cargo run -q hugetop 
hugetop - Thu Apr 30 16:34:42 2026
node(s): 2048kB - 0/0, 1048576kB - 0/0

Consistent with the hugetop command of procps-ng, change the default size to a format suitable for human reading

$ cargo run -q hugetop 
hugetop - Thu Apr 30 16:34:42 2026
node(s): 2.0Mi - 0/0, 1.0Gi - 0/0

Dominant language
Rust
Stars
116
Forks
38
Avg merge
1d 3h
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from uutils/procps

All issues in uutils/procps

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.