From 03e2ec593c7db0485884501fefdb17a014ba711e Mon Sep 17 00:00:00 2001 From: Igor Chubin Date: Sun, 4 Jun 2017 14:30:24 +0000 Subject: [PATCH] added svcs --- sheets/svcs | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 sheets/svcs diff --git a/sheets/svcs b/sheets/svcs new file mode 100644 index 0000000..ce8d71e --- /dev/null +++ b/sheets/svcs @@ -0,0 +1,17 @@ +# svcs +# List information about running services (Solaris) + +# 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)