How to find if a service is runnning?

Discussion in 'HOWTO-Related Questions' started by SLH, Jun 22, 2023.

Tags:
  1. SLH

    SLH New Member

    How to find if a service is running or why didn't a service start?
     
  2. Taleman

    Taleman Well-Known Member HowtoForge Supporter

    That depends on which Operating System is used.
    If it is somewhat recent GNU/Linux, I would first use
    Code:
    systemctl --state=failed
    If you are interested in a particular service,
    Code:
    systemctl status nameofservice
    shows info on that service, and if it is not running should show info on finding more information.
    Furthermore: https://forum.howtoforge.com/thread...or-a-first-time-linux-user.83782/#post-399369
     
    ahrasis and SLH like this.
  3. SLH

    SLH New Member

    THANK YOU!!!
     

Share This Page