snippetbashTip
svcs — List information about running services. More information: <https://www.unix.com/man-page/linux/1/sv
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:
svcsList services that are not running:
svcs -vxList information about a service:
svcs apacheShow location of service log file:
svcs -L apacheDisplay end of a service log file:
tail $(svcs -L apache)Code Snippets
List all running services
svcsList services that are not running
svcs -vxList information about a service
svcs apacheShow location of service log file
svcs -L apacheDisplay end of a service log file
tail $(svcs -L apache)Context
tldr-pages: sunos/svcs
Revisions (0)
No revisions yet.