I know that we can list the subservers of a subsystem by using the command lssrc -l -s subsystem_name
command. But this does not work when the subsystem uses the signal communication
as the communication type with srcmstr
daemon. Is there an any kind of way to know what are the subservers of a particular subsystem which use signal
communication? Can we find them by inspecting the subsystem object? If so where is it located?
Asked
Active
Viewed 298 times
0

Ashan Priyadarshana
- 3,119
- 3
- 29
- 34
-
Could you please give an example for such a subsystem that uses _signal communication_ and has _subservers_? – Lorinczy Zsigmond Sep 11 '18 at 10:11
1 Answers
0
Since lssrc -ls
reports an error when the subsystem only supports signal communication, decide based on the return code:
lssrc -l -s portmap > /dev/null || echo portmap only supports signal communication.
Alternatively, you can query the ODM for the subsystem's "contact" value equaling 2; this will return a list of subsystems that support signal communication:
odmget -q contact=2 SRCsubsys | grep subsysname

Jeff Schaller
- 2,352
- 5
- 23
- 38