HomeFreeBSD

ddb: Add CSV option, sorting to 'show (malloc|uma)'

Description

ddb: Add CSV option, sorting to 'show (malloc|uma)'

Add /i option for machine-parseable CSV output. This allows ready copy/
pasting into more sophisticated tooling outside of DDB.

Add total zone size ("Memory Use") as a new column for UMA.

For both, sort the displayed list on size (print the largest zones/types
first). This is handy for quickly diagnosing "where has my memory gone?" at
a high level.

Submitted by: Emily Pettigrew <Emily.Pettigrew AT isilon.com> (earlier version)
Sponsored by: Dell EMC Isilon

Details

Provenance
cemAuthored on Oct 11 2019, 1:31 AM
Parents
rG2b60ecf197e0: Don't use if_maddr_rlock() in 802.11, use epoch(9) directly instead.
Branches
Unknown
Tags
Unknown

Event Timeline