svcs
List information about running services.
- List all running services:
svcs
- List services that are not running:
svcs -vx
- List information about a service:
svcs apache
- Show location of service log file:
svcs -L apache
- Display end of a service log file:
tail $(svcs -L apache)