Merge pull request #52 from pborenstein/master
Start SmartOS (sunos) command reference.
This commit is contained in:
23
sunos/svcs.md
Normal file
23
sunos/svcs.md
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
# 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)`
|
Reference in New Issue
Block a user