Re: [zfs-discuss] zpool/zfs list question

2010-05-31 Thread Freddie Cash
On Mon, May 31, 2010 at 11:25 AM, Roy Sigurd Karlsbakk wrote: > - "Andreas Grüninger" skrev: > > > Use > > > > zfs get -Hp used pool1/nfs1 > > > > to get a parsable output. > > r...@mime:~$ zfs get -Hp testpool > bad property list: invalid property 'testpool' > You forgot to list which prop

Re: [zfs-discuss] zpool/zfs list question

2010-05-31 Thread Roy Sigurd Karlsbakk
- "Andreas Grüninger" skrev: > Use > > zfs get -Hp used pool1/nfs1 > > to get a parsable output. r...@mime:~$ zfs get -Hp testpool bad property list: invalid property 'testpool' Vennlige hilsener / Best regards roy -- Roy Sigurd Karlsbakk (+47) 97542685 r...@karlsbakk.net http://blogg.ka

Re: [zfs-discuss] zpool/zfs list question

2010-05-31 Thread Andreas Grüninger
Use zfs get -Hp used pool1/nfs1 to get a parsable output. Andreas -- This message posted from opensolaris.org ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Re: [zfs-discuss] zpool/zfs list question

2010-05-31 Thread Roy Sigurd Karlsbakk
- "Brandon High" skrev: > On Sun, May 30, 2010 at 11:46 AM, Roy Sigurd Karlsbakk > wrote: > > Is there a way to report zpool/zfs stats in a fixed scale, like KiB > or even bytes? > > Some (but not all) commands use -p. > -p > Use exact (parseable) numeric output. > S

Re: [zfs-discuss] zpool/zfs list question

2010-05-30 Thread Brandon High
On Sun, May 30, 2010 at 11:46 AM, Roy Sigurd Karlsbakk wrote: > Is there a way to report zpool/zfs stats in a fixed scale, like KiB or even > bytes? Some (but not all) commands use -p. -p Use exact (parseable) numeric output. -B -- Brandon High : bh...@freaks.com ___

[zfs-discuss] zpool/zfs list question

2010-05-30 Thread Roy Sigurd Karlsbakk
Hi all Using zpool/zfs list -H gives me a good overview of things, and is easy to parse, except that the allocation and data sizes are reported in 'human readable' form. For scripting, this is somehow non-optimal. Is there a way to report zpool/zfs stats in a fixed scale, like KiB or even byte