Home >

LunaSH Command Reference Guide > LunaSH Commands > service > service status

service status

Display the current status (running/stopped) for the specified service. You may wish to run this command to ensure that specific services are running properly. For example, if troubleshooting a problem with the NTLA, it is wise to ensure that the NTLS service is properly started. If it is not, the server may not be able to resolve itself by the hostname in the server certificate.

Syntax

service status <service_name>

Parameter Shortcut Description
<service_name>  

Specifies the service for which you want to display the status.

Valid values: network, ssh, ntls, syslog, ntp, snmp, sysstat

Example

lunash:>service status ntp
 
ntp is not running
 
Command Result : 0 (Success)