Questo contenuto non è disponibile nella lingua selezionata.
12.3. Running Services
The service utility allows you to start, stop, or restart the services from the
/etc/init.d/
directory.
12.3.1. Determining the Service Status Copia collegamentoCollegamento copiato negli appunti!
Copia collegamentoCollegamento copiato negli appunti!
To determine the current status of a service, type the following at a shell prompt:
service service_name status
service service_name status
For example, to determine the status of the
httpd
service, type:
service httpd status
~]# service httpd status
httpd (pid 7474) is running...
To display the status of all available services at once, run the
service
command with the --status-all
option:
Note that you can also use the Service Configuration utility as described in Section 12.2.1, “Using the Service Configuration Utility”.