Check if service is running (Ubuntu server)

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
User avatar
Bobzbobz
Posts: 30
Joined: Tue Nov 30, 2010 4:01 am
Location: Denmark

Check if service is running (Ubuntu server)

Post by Bobzbobz »

Hi

I think I need to use the "Shell script"-method for this one:
Is there some way to check if a specific service is running on a Ubuntu Server?

If someone has already created this script, would they mind sharing it?

I think the command would be:
ps -ef | grep <service>
But I need to enter server-address and credentials inside the script.

Regards,
Soren
User avatar
Bobzbobz
Posts: 30
Joined: Tue Nov 30, 2010 4:01 am
Location: Denmark

Post by Bobzbobz »

Nevermind - I figured it out.

Used "Connection Manager" and the "SSH" test method.

Regards
Post Reply