show pal file_system_event
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
type=? | Event type. | The value can be "table","type" and "record", where:
|
type_id=? | ID of the event type. | When the value of "type" is "table", do not configure "type_id". When the value of "type" is "type" or "record", the type ID is displayed in the information printed. |
Example
-
Query information about I/O events of a file system.
developer:/>show pal file_system_event type=table Address: 0xffffffffaaa1e7c0 Type Type ID Count FS_EVENT_OVERLOAD 1 1 FS_EVENT_HANG_IO 2 2 FS_EVENT_BLOCK_IO 3 2 FS_EVENT_UNHANG_IO 4 2 FS_EVENT_UNBLOCK_IO 5 2 FS_EVENT_STOP_IO 6 0 FS_EVENT_START_IO 7 0
-
Query information about I/O event "2" of a file system.
developer:/>show pal file_system_event type=type type_id=2 Type: FS_EVENT_HANG_IO HandleFunc Pid Reference Count ffffffffa9afa090 301 1 ffffffffa6d080e0 98 1 Total Event Count: 2
-
Query information about I/O event record "2" of a file system.
developer:/>show pal file_system_event type=record type_id=2 Type: FS_EVENT_HANG_IO Record Count: 0 Trigger Pid Trigger Key Fs id Pid Result Begin End
System Response
The following table describes the parameter meanings.
Parameter |
Meaning |
---|---|
Type | Event type. |
Type ID | Event ID. |
Count | Count of event observers. |
HandleFunc | Function of event handling handles. |
Pid | Module ID. |
Reference Count | Count of references. |
Trigger Pid | Module ID of the initiator. |
Trigger Key | Key of the initiator. |
Fs id | File system ID. |
Result | Result of the current event type. |
Begin | Time when command delivery starts. |
End | Time when command delivery ends. |