Command to check status of application Ubuntu

Hi Guys,

Is anyone aware of a command I can run within a command line sensor to check if an application is running on my Intel NUC running Ubuntu. The following command I found online does appear to work but it is pulling to much information, I just need to output the “running” section. thanks

service docker status

Take a look at this example in the command line docs.

1 Like