Is there any particular command to find out what servers (like: apache2, mysql-server, backup-server etc) are running inside a dedicated server?If I will reboot my dedicated server will they all start automatically?What is the safe way of reboot a dedicated server with all its applications server running inside it?Note: I am in a dedicated Debian server.
How to check what is running in a server?
linux
I assume that application servers are using ports [Apache, Mysql do]If so you can use netstat -lepunt to find out the services running in your server.If you want to know the services are started at boot time check for init scripts in /etc/init.d/. Most of the time services like Apache and MySQL servers are started at boot time if they are installed using a package manager. If not you can create an init script to start them at the boot time.