Solaris Service Manifest

(imported topic written by SystemAdmin)

Does anyone know if there is (either currently or planned for a future release) an Inspector for the Solaris 10 service manifest? I’m specifically thinking of the type of output that you get from the ‘svcs -a’ command to return what state a service is in.

In a shell I would use (for example)

svcs -a | grep svc:/system/zones:default | nawk ‘{print &1}’

Thanks,

(imported comment written by jeff_saxton91)

Currently there is no way to inspect the FRMI database, but you can do the following:

bash-3.00# ps -ef | grep zone

root 709 1 0 Apr 06 ? 0:00 zoneadmd -z email-zone

bash-3.00#

bash-3.00# ./qna

Q: exists ( names of processes whose ( name of it as lowercase contains “zone”))

A: True

T: 21578062

hope this helps.

Jeff Saxton

(imported comment written by SystemAdmin)

Thanks Jeff. Perhaps my ‘zones’ example wasn’t a good one. A better one would have been the ‘shell:default’ service.

Do you know if there are any plans to create inspector(s) for the FRMI database?

(imported comment written by jeff_saxton91)

There is an enhancement request open for this however I have no commit and no timeframe.