Bug #2574

mdb needs ::printf

Added by Joshua Clulow about 6 years ago. Updated almost 6 years ago.

Status:ResolvedStart date:2012-03-31
Priority:NormalDue date:
Assignee:Joshua Clulow% Done:


Category:cmd - userland programs
Target version:-
Difficulty:Bite-size Tags:


Bryan Cantrill has implemented an MDB dcmd to allow members of an object to be output using a printf(3C)-like format string. This bug seeks to integrate that feature.

Usage example:

::walk zone |
    ::printf "%-40s %20s\n" zone_t zone_name zone_nodename

Upstream: https://github.com/joyent/illumos-joyent/commit/25bb86808d5e85776fcd3035a67d35412ca5fcdb


#1 Updated by Rich Lowe almost 6 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 0 to 100

Resolved in r13723 commit:3297c26a553a

Also available in: Atom