On 11/14/2019 9:40 AM, Matt Garber wrote: > Try this instead, should be significantly faster at just displaying > snapshots without the sizing info (if that works for your use case): > > # zfs list -t snapshot -o name -s name > > Thanks, we actually already pair it down so that we can parse it easily. But it does not seem to make much of a difference
% time /sbin/zfs list -Hp -oname,creation -S creation -t snapshot > /dev/null 1.551u 15.869s 0:17.45 99.7% 66+177k 2050987+0io 0pf+0w vs % time /sbin/zfs list -t snapshot > /dev/null 1.434u 16.070s 0:17.62 99.3% 65+177k 2050896+0io 0pf+0w and even just the name % time /sbin/zfs list -Hp -oname -t snapshot > /dev/null 1.180u 16.113s 0:17.51 98.7% 66+177k 2050906+0io 0pf+0w ---Mike _______________________________________________ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"