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
-
< Previous C ommands (Cont. 1 ) You can check the no. of documents in a collection by using > db.data.count() ...
-
Ok, so npm stands for Node Package Manager, and trust me, it's really an awesome thing. It is a package manager for various thing...
-
Sourcing a file means to execute everything within a file. Important point about Sourcing is that, it will execute the file within the curr...
-
Sometimes, when we install any package, this following error comes "dpkg status database is locked" You can remove this lock...