From f51a72594235bddc16ca7146665d9fb4f1b6d13b Mon Sep 17 00:00:00 2001 From: Philip Borenstein Date: Wed, 29 Jan 2014 23:39:50 +0000 Subject: [PATCH] Start SmartOS (sunos) command reference. --- sunos/svcs.md | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 sunos/svcs.md diff --git a/sunos/svcs.md b/sunos/svcs.md new file mode 100644 index 000000000..15fc8cc30 --- /dev/null +++ b/sunos/svcs.md @@ -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)`