Hi Liane,

I like the output of svcs -l. I think you decision to not expand the method 
tokens is correct.

I'm less thrilled by your decision to separate method from start|stop with a 
space. It makes it harder to parse the output of svcs through awk or perl. Most 
lines in svcs -l start with one keyword and the rest of the line consists of 
the value of the keyword:
e.g.
fmri svc:/network/ssh:default
contract_id 121
state_time Thu Sep 20 11:14:35 2007

Even though the dependencies also use a three columns output I think it would 
be easier (parsable) when the separator would be a _ (underscore) 

like:
method_inetd_start /usr/sbin/in.telnetd
method_start /lib/svc/method/smtp-sendmail start

Greetings,
Peter
 
 
This message posted from opensolaris.org

Reply via email to