A. 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 | lessPrint the status of any service
To print the status of apache (httpd) service:service httpd statusList all known services (configured via SysV)
chkconfig --listList service and their open ports
netstat -tulpnTurn on / off service
ntsysv
chkconfig service off
chkconfig service on
chkconfig httpd off
chkconfig ntpd onntsysv 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:
No comments:
Post a Comment