Ubuntu: List Running Services from a Terminal CodeUnit 12 JAN 2010

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:

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.

  • Jorge

    Thanks for the command.

  • Jorge

    Thanks for the command.

  • http://www.craiglotter.co.za Craig Lotter

    @Jorge: No problem!

  • http://www.craiglotter.co.za Craig Lotter

    @Jorge: No problem!

  • Furkan

    cool thx for info

    now i see list process in background

  • Anonymous

    They’re all prefixed with [ + ] [ – ] and [ ? ]
    What does it mean?

  • feedbacker

    Thanks for giving us the command, but could you now please explain the output?

  • Pingback: Ubuntu: List Running Services from a Terminal | nuwanblog()

  • Mhamed

    good commande, Tanmirte

  • http://www.facebook.com/mkeaveney Matt Keaveney

    On older releases you get this:

    shell> service –status-all
    –status-all does nothing on Debian

    • http://www.craiglotter.co.za/ Craig Lotter

      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…

      • http://www.editionsbrandon.com/ Ed Brandon

        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”…