RDK Resources
[*RDK Preferred*]
Code Management Facility
RDK Forums
[RDK Conferences]
RDK Support
Archives
Papers & Presentations Archive
Service Manager is a CCSP component which helps us to monitor the systemd process running on the device. There are two primary states defined for each systemd process "Running" and "Stopped". Using this component we can get to know all the system process currently running or stopped. Also we have the provision of switching the states of the processes on the device. This component uses a TR-181 object for the user to access the list of all the running processes and alter their state.
Service Manager component uses the following object
Device.X_RDKCENTRAL_COM_ServiceAgent.
The parameters defined as part of above object are
Device.X_RDKCENTRAL_COM_ServiceAgent.Services.{i}.Name Device.X_RDKCENTRAL_COM_ServiceAgent.Services.{i}.GoalState
We can configure the state of a process by setting the parameter "Device.X_RDKCENTRAL_COM_ServiceAgent.Services.{i}.GoalState".
For Example to Start a systemd process lets say with index 1,
$ dmcli eRT setv Device.X_RDKCENTRAL_COM_ServiceAgent.Services.1.GoalState string Running
Similarly to stop a systemd process use the following
$ dmcli eRT setv Device.X_RDKCENTRAL_COM_ServiceAgent.Services.1.GoalState string Stopped
1 Comment
Unknown User (tony.he)
Hi,
I did not find below object in the RPI4 2022q1 image. Anything wrong or has been changed since this document was updated on 2017? Thanks!