--- On Tue, 9/25/12, Volker A. Brandt <v...@bb-c.de> wrote:
> Well, he is telling you to run the dtrace program as root in > one > window, and run the "zfs get all" command on a dataset in > your pool > in another window, to trigger the dataset_stats variable to > be filled. > > > none can hide from dtrace!# dtrace -qn > 'dsl_dataset_stats:entry > > {this->ds = (dsl_dataset_t > *)arg0;printf("%s\tcompressed size = > > %d\tuncompressed size=%d\n", > this->ds->ds_dir->dd_myname, > > this->ds->ds_phys->ds_compressed_bytes, > > > this->ds->ds_phys->ds_uncompressed_bytes)}'openindiana-1 > > > compressed size = 3667988992 uncompressed > size=3759321088 > > [zfs get all rpool/openindiana-1 in another shell] Yes, he showed me that, I did it, it worked, and I thanked him. The reason it's hard to make the thread out in that last response is that his email is in rich text, or HTML of some kind, so there's no >> formatting, etc. _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss