ignore 'broken pipe' warnings on Solaris

see-also: #2460
enforce full path for some system commands

prtconf, swap and zfs are installed under /usr/sbin.

see-also: #2460
pass logger object to get*Line functions
no need to call zfs --list anymore
fix expected value