Hello All, I work a lot with SMF and I really like the framework. There are just two features that me and my students (I teach Solaris courses) are missing in SMF and I was wondering if we are the only ones. I'm suggesting adding the following features to OpenSolaris (RFE CR 6530523).
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. The second feature is finding a the methods of a service easily. To find the names of the methods used by a service again takes multiple steps. First take a look in the log file and then do a cat on the method name found. It's also possible to find this information with svcprop but I always forget the properties used for storing the start and stop methods. Am I alone in wanting this features in OpenSolaris? Greetings, Peter I created two shell scripts to show you what I'm after. Examples: # svclog ssh ... output skipped ... [ Feb 21 10:51:08 Executing start method ("/lib/svc/method/sshd start") ] [ Feb 21 10:51:11 Method "start" exited with status 0 # svcmethods ssh fmri svc:/network/ssh:default logfile /var/svc/log/network-ssh:default.log start method /lib/svc/method/sshd start stop method :kill This message posted from opensolaris.org