VMware Cloud Community
baber
Expert
Expert

how can stop/start a new service with command line

hi i have installed a service nrpe (agent for nagios monitoring) on esxi and when i use esxcli software vib list can see that service in this list now how can i understand this service is start or stop ?

how can i restart this service?

Best regards

Bbabk

Please mark helpful or correct if my answer resolved your issue.
Reply
0 Kudos
2 Replies
Techie01
Hot Shot
Hot Shot

check /etc/init.d folder and see if you have any services of nrpe listed in that folder. If yes, try /etc/init.d/<service> status to check the current status of service

chkconfig -l  shows if this service will get started on next reboot by default

Reply
0 Kudos