Answer the question
In order to leave comments, you need to log in
How to check linux services?
Good afternoon, there is a server, after a reboot, not all services are started, please tell me if it is possible to check with one command whether all services are running and those that are not running can be started?
Answer the question
In order to leave comments, you need to log in
Well, how would it be better to start with something else - why didn’t each specific service start?
The culprit may be, for example, the sequence of starting services. At the moment of launching the web server (I exaggerate), the network has not yet started, so it falls. Change the startup sequence and order.
You can take some kind of supervisor (supervisord?), which will already be engaged in the automatic restart of the fallen services (which it will start at startup).
Nagios/Zabbix can monitor the services of either a local or a remote computer, you can assign triggers that will do something when it crashes.
ps -aux and see what works
ps -aux | grep <daemon name> - watch a specific daemon.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question