mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-02 07:42:52 +00:00
30 lines
470 B
Plaintext
30 lines
470 B
Plaintext
---
|
|
syntax: markdown
|
|
tags: [tldr, sunos]
|
|
source: https://github.com/tldr-pages/tldr.git
|
|
---
|
|
# svcs
|
|
|
|
> List information about running services.
|
|
> More information: <https://www.unix.com/man-page/linux/1/svcs>.
|
|
|
|
- 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)`
|