KB450166 – Listing Running Services in CentOS

Last modified: November 27, 2019
You are here:
Estimated reading time: < 1 min

To list the running services in your CentOS installation, there are several methods and tools that can be used. We suggest the following commands to meet this need:

Older versions of CentOS & Upstart:

service --status-all

List services and their open ports. This command can be important when you’re looking to do port forwarding or troubleshooting the network behavior of a unit:

netstat -tulpn

Systemd(user & root), these commands can be used to list every service, including those that are inactive. This will also list a description of each service.

systemctl -l --type service --all
systemctl -r --type service --all

Init.d:

/etc/init.d
Was this article helpful?
Dislike 0
Views: 39
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access