Skip to content

hugetop: print human readable sizes by default #687

Description

@Franklin-Qi

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions