Logger Command

Hi I have a command in a script .
/usr/bin/iostat -E

I would like to place an entry in /var/adm/messages (via syslog) as a daemon.notice using the logger command but i just cant work out the syntax for this , do I pipe the output of iostat into logger? or is it redirected...can somebody give me an example of how i would get this to work

any help would be greatly appreciated
cheers
gary

$ iostat -E | logger

This works BUT because logger reads line-by-line, it adds the multiple lines AS multiple lines versus one line per disk entry. Nothing you can do about this since this is the way logger works. See the logger man page.