mirror of
https://github.com/chubin/cheat.sheets
synced 2024-11-15 06:12:59 +00:00
18 lines
305 B
Plaintext
18 lines
305 B
Plaintext
|
# svcs
|
||
|
# List information about running services (Solaris)
|
||
|
|
||
|
# 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)
|