How to Check Which Services Are Running on Your VPS?

A Virtual Private Server (VPS) is a popular choice for many website owners and developers, thanks to its flexibility and scalability. But how do you find out which services are running on your VPS? In this article, we’ll explore several ways to check the active services on your server.

1. Using the netstat Command

One of the easiest ways to determine the active services on your VPS is to use the netstat command. This command allows you to view a list of all open network connections on the server, as well as the services that handle them.

To execute this command, simply open the terminal and enter:

netstat -tulnp

VPS хостинг

Виртуальные серверы с гарантированными ресурсами

Выбрать VPS

After executing this command, you will see a list of all active services on your server, as well as the ports on which they are running.

2. Using the systemctl Utility

Another way to check the active services on your VPS is to use the systemctl utility. This utility allows you to manage services on the server and view their status.

To view a list of all active services on your VPS, execute the following command:

systemctl list-units --type=service

After executing this command, you will see a list of all running services on your server, as well as their status (active, disabled, etc.).

3. Using the ps Command

In addition, you can use the ps command to view a list of all processes running on your server. This will also help you identify active services.

To view all processes, execute the following command:

ps aux

This command will show you a list of all processes on the server, including their IDs, uptime, etc.

Conclusion

Now you have several ways to check which services are running on your VPS. Use these commands to get information about running services and manage them on your server.