Project

General

Profile

Actions

Feature #3993

closed

zpool(1M) and zfs(1M) should support -p for "list" and "get"

Added by Robert Mustacchi almost 10 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
zfs - Zettabyte File System
Start date:
2013-08-05
Due date:
% Done:

100%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:
External Bug:

Description

"zfs get" has a "-p" option that prints out raw numbers, rather than human readable numbers (e.g., "7.83M" instead of "8214528"). This would be very valuable for "zfs list", "zpool list", and "zpool get" as well. Currently, there's no way to get the raw numbers out of the "zpool" command.


Related issues

Related to illumos gate - Feature #4700: "zpool get" doesn't support -H or -o optionsResolvedAdam Števko2014-03-24

Actions
Actions #1

Updated by Robert Mustacchi about 9 years ago

  • Status changed from New to Resolved
  • Assignee set to Adam Števko
Actions #2

Updated by Electric Monk about 9 years ago

git commit c58b352673e88983cd2b8a388a8c7625f35e2f18

Author: Adam Stevko <adam.stevko@gmail.com>

3993 zpool(1M) and zfs(1M) should support -p for "list" and "get" 
4700 "zpool get" doesn't support -H or -o options
Reviewed by: Dan McDonald <danmcd@omniti.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>
Approved by: Robert Mustacchi <rm@joyent.com>

Actions

Also available in: Atom PDF