To see which services are running, we are going to use the service keyword
(/usr/sbin/service)
Its almost the same way in all Linux Platforms.
In CentOS, its like this
service < option > | --status-all | [ service_name [ command | --full-restart ] ]
> service --status-all | grep postgres
postgresql-9.4 (pid 31632) is running...
To restart a service
service application_name...
Popular Posts
-
To download a youtube video on Centos Follow these commands 1) First of all run the "su" command to get access as a administ...
-
1 Download Java.... You need to download Java Goto the following link http://www.oracle.com/technetwork/java/javase/downloads/in...