mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-29 23:24:55 +02:00
Start SmartOS (sunos) command reference.
This commit is contained in:
parent
521ebdc1da
commit
f51a725942
1 changed files with 23 additions and 0 deletions
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)`
|
Loading…
Add table
Reference in a new issue