Ubuntu: List Running Services from a Terminal

I’ve had to do more work on one of our Ubuntu servers again recently, and without Ubuntu’s incredible GUI to fall back on, I’m seriously shocked at just how much Linux knowledge I’ve lost since moving away from the platform so many years ago already.

Anyway, today’s quickfire post is simply to remind you how to pull up a list of all the services currently running on your Ubuntu machine via a terminal command line. This is of course pretty useful in the event that you actual want to interact with a service that you suspect should be running in the background…

service --status-all

This will list all services currently running (and located in the init.d) on your system. Remember, it is expected that all services should as a minimum respect the start and stop functionalities, meaning that you can use the service names garnered above in order to control what services are currently running on your installation.

See, bloody easy. You’d have expected me to remember that in the first place, now wouldn’t you? :P

Related Posts:

  • SMS Server Tools 3 or SMS3 is a great piece of SMS Gateway open source software that allows you to send and receive short SMS messages through any number of GSM modem types or mobile phones. It installs itself as a service on an Ubuntu Linux machine and after some setup configuration the software is good to go, ve ...

  • Installing a new software package via a command line terminal in Ubuntu Karmic Koala (and basically all the other versions preceding it) is deceptively easy thanks to the powerful apt-get command that is used as the interface into Ubuntu's Advanced Packaging Tool (APT). It can be used to install new software applic ...

  • To stop a MySQL server instance on an Ubuntu linux install via the command line is as simple as entering: sudo /etc/init.d/mysql stop Alternatively, to start a MySQL server instance you can simply submit a start command like so: sudo /etc/init.d/mysql start Incidentally, if you want to check on the status of a curr ...

About Craig Lotter

South African software development manager and senior application developer at Touchwork. Husband to a cupcake baker and father to two little girls. I don't have time for myself any more.

12 thoughts on “Ubuntu: List Running Services from a Terminal

    1. To be fair, I did say that this was for Ubuntu at the time of writing. Would assume that the command is still valid seing as Ubuntu moved to the service call instead of the classic /etc/init.d…

      1. Well, I have ubuntu 8.04, which run services via /etc/init.d, and after installing

        sysvconfig_0.70_all.deb I also get “–status-all does nothing on Debian”…

Leave a Reply