IBM® Carrier Grade Server X3650 T
Revision 3.0
52
-u Send a SysCon device unmount event.
-f Send a SysCon device mount failure.
-p provide mount point of the SysCon device.
-d provide the SCSI name of the SysCon device.
syscon_format – Utility that formats and initializes a syscon device.
Usage: syscon_format device [noninteractive|interactive]
Examples: syscon_format /dev/sde
syscon_format /dev/sde noninteractive
syscon_copy – Utility that copies data from one syscon device to another.
Usage: syscon_copy source-syscon-mnt-point destination-syscon-mnt-point
syscon_monitor – A real-time event notification client used for demonstration/example
purposes. A query string is provided as the argument and query event matches will produce a
demonstration of many of the syscon API routines.
Example:
#syscon_monitor "dev_type = key"
Registered with SYSCON Event logger (handle=3)
Waiting for an event..
****************** test_function1 activated by: ****************
Query string: dev_type = key
signal=34 from event: Record ID=1
searching event log for record ID... Found Recid=1
Device Type=SysCon Removable Device
Severity=Warning, User=root, Group=root
Event Type: A SysCon device has been removed.
This event is related to a Removable SysCon device.
Message size=87, date/time=Tue Nov 9 17:18:18 2004
Mesg=[Nov 09 17:18:14 SCM: 112 1 -d PID=23024: /dev/sdd1 /dev/sdd1
Device r]
Found first query (dev_type = removable) at recid=1
Found last query (dev_type = removable) at recid=1
****************** test_function1 activated by: ****************
Query string: dev_type = removable
signal=34 from event: Record ID=4
searching event log for record ID... Found Recid=4
Device Type=SysCon Removable Device
Severity=Warning, User=root, Group=root
Event Type: A SysCon device has been added.
This event is related to a Removable SysCon device.
Message size=126, date/time=Tue Nov 9 17:18:28 2004
Mesg=[Nov 09 17:18:24 SCM: 112 2 /dev/sde1 /etc/sysconfig/syscon2
PID=24136:]
Found first query (dev_type = removable) at recid=1
Found second query (dev_type = removable) at recid=4
Found last query (dev_type = removable) at recid=4
Found last backward query (dev_type = removable) at recid=3
syscon_gui – X-Windows GUI SysCon monitor. A query string is the argument.