sp402_component_states
This table contains the dynamic data associated with a Monitored Component i.e. the current state of the process being monitored, stored in a single row per Monitored Component.Â
This data is updated every time a Monitored Component changes state, so it will always show the last known state of the process. It can be read by the monitor when it starts to determine if the system was shutdown completely before the monitor stopped, or whether the monitor is being restarted into a running system.
Â
Table Definition
Field | Type | Default | Nullable |
---|---|---|---|
component_no | number | Â | |
current_status | number | Â | |
current_process_id | number | Â | |
consecutive_starts | number | Â |
Keys
primary key (component_no)Â
foreign key (component_no) references sp400_components (component_no)Â
foreign key (current_status) references sp404_component_status_decodes (state_no)
Column Descriptions
Field | Description |
---|---|
component_no | Component identifier. |
current_status | What the process is currently doing e.g. starting/initialising/stopping etc. |
current_process_id | PID of the process currently running for this component. |
consecutive_starts | Number of times this process has been started without reaching the ready state. |