Monday, August 16, 2010

solaris: Description of all services

A quick tip for all Solaris 10/OpenSolaris users… some companies have a strict requirement to know exactly what each and every startup script does on their system. With releases of Solaris 9 and earlier, one would check the rc scripts. This is time consuming and may not give an accurate description or one liner. Solaris 10/OpenSolaris makes things much easier…

Solaris 10/OpenSolaris now uses services for all the Sun supplied start up scripts, but still supports the old (legacy) rc scripts too. A summary of all services can be obtained by running: svcs -o FMRI,DESC. This will produce output similar to the following:



 #svcs -o FMRI,DESC
  FMRI                                               DESC
  lrc:/etc/rc2_d/S00set-tmp-permissions              -
  lrc:/etc/rc2_d/S07set-tmp-permissions              -
  lrc:/etc/rc2_d/S10lu                               -
  lrc:/etc/rc2_d/S20sysetup                          -
  lrc:/etc/rc2_d/S40llc2                             -
  lrc:/etc/rc2_d/S42ncakmod                          -
  lrc:/etc/rc2_d/S70nddconfig                        -
  lrc:/etc/rc2_d/S72autoinstall                      -
  lrc:/etc/rc2_d/S73cachefs_daemon                   -
  lrc:/etc/rc2_d/S81dodatadm_udaplt                  -
  lrc:/etc/rc2_d/S89bdconfig                         -
  lrc:/etc/rc2_d/S91afbinit                          -
  lrc:/etc/rc2_d/S91gfbinit                          -
  lrc:/etc/rc2_d/S91ifbinit                          -
  lrc:/etc/rc2_d/S91jfbinit                          -
  lrc:/etc/rc2_d/S91kfbinit                          -
  lrc:/etc/rc2_d/S91zuluinit                         -
  lrc:/etc/rc2_d/S94ncalogd                          -
  lrc:/etc/rc2_d/S95lwact                            -
  lrc:/etc/rc2_d/S95nbclient                         -
  lrc:/etc/rc2_d/S98deallocate                       -
  lrc:/etc/rc2_d/S99sneep                            -
  lrc:/etc/rc3_d/S16boot_server                      -
  lrc:/etc/rc3_d/S50apache                           -
  lrc:/etc/rc3_d/S52imq                              -
  lrc:/etc/rc3_d/S84appserv                          -
  svc:/system/fpsd:default                           FP Scrubber - Online Floating Point Unit Test
  svc:/system/svc/restarter:default                  master restarter
  svc:/network/pfil:default                          packet filter
  svc:/network/tnctl:default                         trusted networking templates
  svc:/network/loopback:default                      loopback network interface
  svc:/system/installupdates:default                 system update installer
  svc:/system/filesystem/root:default                root file system mount
  svc:/system/scheduler:default                      default scheduling class configuration
  svc:/system/boot-archive:default                   check boot archive content
  svc:/network/physical:default                      physical network interfaces
  svc:/system/identity:node                          system identity (nodename)
  svc:/system/filesystem/usr:default                 read/write root file systems mounts
  svc:/system/keymap:default                         keyboard defaults
  svc:/network/ipfilter:default                      IP Filter
  svc:/system/device/local:default                   Standard Solaris device configuration.
  svc:/system/filesystem/minimal:default             minimal file system mounts
  svc:/system/rmtmpfiles:default                     remove temporary files
  svc:/system/resource-mgmt:default                  Global zone resource management settings
  svc:/system/coreadm:default                        system-wide core file configuration
  svc:/system/name-service-cache:default             name service cache
  svc:/system/identity:domain                        system identity (domainname)
  svc:/system/cryptosvc:default                      cryptographic services
  svc:/system/sysevent:default                       system event notification
  svc:/system/device/fc-fabric:default               Solaris FC fabric device configuration.
  svc:/network/ipsec/ipsecalgs:default               IPsec algorithm initialization
  svc:/milestone/devices:default                     device configuration milestone
  svc:/system/picl:default                           platform information and control
  svc:/network/ipsec/policy:default                  IPsec policy initialization
  svc:/milestone/network:default                     Network milestone
  svc:/system/pkgserv:default                        Flush package command database to disk
  svc:/application/print/ppd-cache-update:default    ppd cache update
  svc:/network/initial:default                       initial network services
  svc:/system/manifest-import:default                service manifest import
  svc:/network/service:default                       layered network services
  svc:/system/patchchk:default                       Launcher for Automatic Patching services
  svc:/network/dns/client:default                    DNS resolver
  svc:/milestone/name-services:default               name services milestone
  svc:/network/iscsi/initiator:default               -
  svc:/milestone/single-user:default                 single-user milestone
  svc:/platform/sun4v/efdaemon:default               embedded FCode interpreter
  svc:/system/filesystem/local:default               local file system mounts
  svc:/network/shares/group:default                  Share Group
  svc:/system/cron:default                           clock daemon (cron)
  svc:/network/shares/group:zfs                      Share Group
  svc:/system/sysidtool:net                          sysidtool
  svc:/system/boot-archive-update:default            update boot archive if necessary
  svc:/network/routing-setup:default                 Initial routing-related configuration.
  svc:/network/ntp:default                           Network Time Protocol (NTP)
  svc:/network/rpc/bind:default                      RPC bindings
  svc:/application/psncollector:default              Product Serial Number Collector
  svc:/system/sysidtool:system                       sysidtool
  svc:/milestone/sysconfig:default                   Basic system configuration milestone
  svc:/system/sac:default                            SAF service access controller
  svc:/system/postrun:default                        Postponed package postinstall command execution
  svc:/network/inetd:default                         inetd
  svc:/system/utmp:default                           utmpx monitoring
  svc:/system/console-login:default                  Console login
  svc:/system/dumpadm:default                        system crash dump configuration
  svc:/network/ssh:default                           SSH server
  svc:/system/system-log:default                     system log
  svc:/application/management/seaport:default        net-snmp SNMP daemon
  svc:/network/smtp:sendmail                         sendmail SMTP mail transfer agent
  svc:/network/sendmail-client:default               sendmail SMTP client queue runner
  svc:/system/fmd:default                            Solaris Fault Manager
  svc:/network/rpc/rstat:default                     kernel statistics server
  svc:/network/rpc/smserver:default                  removable media management
  svc:/network/cde-spc:default                       CDE subprocess control
  svc:/network/bpcd/tcp:default                      bpcd
  svc:/network/vnetd/tcp:default                     vnetd
  svc:/network/vopied/tcp:default                    vopied
  svc:/network/bpjava-msvc/tcp:default               bpjava-msvc
  svc:/system/filesystem/volfs:default               Volume Management filesystem
  svc:/application/management/sma:default            net-snmp SNMP daemon
  svc:/milestone/multi-user:default                  multi-user milestone
  svc:/milestone/multi-user-server:default           multi-user plus exports milestone
  svc:/application/stosreg:default                   Service Tag OS Registry Inserter
  svc:/system/zones:default                          Zones autoboot and graceful shutdown
  svc:/system/basicreg:default                     
  svc:/application/sthwreg:default                   Hardware Service Tag Collector
  svc:/application/print/ipp-listener:default        Internet Print Protocol Listening Service
  svc:/application/print/rfc1179:default             BSD print protocol adapter


No comments:

Post a Comment