Q:

how to check running services in linux

service --status-all
service --status-all | more
service --status-all | grep ntpd
service --status-all | less
4
# For CentOS 7
systemctl
systemctl | more
systemctl | grep httpd
systemctl list-units --type service
systemctl list-units --type mount
2
$ sudo service httpd status
httpd is stopped
0

New to Communities?

Join the community