Unable to retrieve installed service status (service not recognized) in Ubuntu

Sinchan Sinha

Right off the assembly line
I have a jar file running as service in system(logged in as root user). But unable to get the service status(running/stopped).

"sudo service <service_name> status" returns "<service_name>: unrecognized service".

"service --status-all" does not return installed service name in the list.

What should be the correct command to know whether the service jar is currently running or not?
 
Top Bottom