This is an old revision of the document!

Controlling Services in CentOS

There are various ways and tools to find and list all running services under Fedora / RHEL / CentOS Linux systems. service command - list running services

service --status-all
service --status-all | grep ntpd
service --status-all | less

To print the status of apache (httpd) service:

service httpd status

chkconfig --list

netstat -tulpn

chkconfig service off
chkconfig service on
chkconfig httpd off
chkconfig ntpd on

ntsysv is a simple interface for configuring runlevel services which are also configurable through chkconfig. By default, it configures the current runlevel. Just type ntsysv and select service you want to run:

  • linux/centos_contol_services.1385045521.txt.gz
  • Last modified: 2017/12/13 17:33
  • (external edit)