On 07/03/07, Darren J Moffat <Darren.Moffat at sun.com> wrote:
> Peter van Gemert wrote:

> > first feature is a simple way of looking at a service log file. Nowadays I 
> > have to first find the logfile name with svcs -l fmri and than do a 
> > cat/more/less on the file name found. I'm suggesting adding a command to 
> > OpenSolaris that will take a fmri as argument and then display the content 
> > of the log file.
>
> I'd like that too, in particular I'd like svcs -L <fmri> to use $PAGER
> to show me the log file.
>
> I don't think a new svclog command is needed.

Agree there shouldn't be another command just for this, but
I often want to tail (or tail -f) that log.
It seems silly to have an option for that too. Is there a neat way to
accomodate both
(cobbling something together with awk/grep  is a bit unwieldy)?


-- 
Rasputin :: Jack of All Trades - Master of Nuns
http://number9.hellooperator.net/

Reply via email to