Apologies if this is documented somewhere but I’ve not found it. Is there a way to list currently defined services and status of said services on an openBalena device using cli or an API?
Hello,
I need to understand the issue better. You want to know the services and the status of them running on a specific device.
Do you want to request the openBalena API for this information or do you want to request the device locally for this information like by asking the supervisor on the device?
Best Regards
Harald
Either would be fine although it’s useful to know both methods.
Hey there
If I understood correctly, you want to be able to list services running on a device and possibly with their status.
You can achieve this via
-
the SDK
You will need to use this method. You will need to initialise the sdk pointing to your openBalena instance. -
the supervisor api - to get info locally
You can use this endpoint
Hope this is helpful
Thanks