HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

svcs — List information about running services. More information: <https://www.unix.com/man-page/linux/1/sv

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandservicescliinformationrunningsvcsaboutlist
linux

Problem

How to use the svcs command: List information about running services. More information: <https://www.unix.com/man-page/linux/1/svcs>.

Solution

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)

Code Snippets

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)

Context

tldr-pages: sunos/svcs

Revisions (0)

No revisions yet.