Monitor the flow of events to PI Archive Subsystem
- Last UpdatedJun 29, 2023
- 1 minute read
- PI System
- PI Server
You can use the piartool utility to monitor PI Archive Subsystem.
-
At a command prompt, go to the PI\adm directory.
-
Type the following command:
Command output lists PI Archive Subsystem internal counters every five seconds.
$ piartool -as
Counters for 5-Nov-18 16:53:54 (all tags)
Archived Events: 1050621 1485
Out of Order Events: 0 0
Events Read: 5 0
Read Operations: 0 0
Cache Record Count: 0 0
Cache Records Created: 6 0
Cache Record Memory Reads: 5 0
Cache Clean Count: 0 0
Archive Record Disk Reads: 146342 219
Archive Record Disk Writes: 152737 226
Unflushed Events: 12431 -203
Unflushed Points: 3131 -48
Point Flush Count: 133491 211
Primary Archive Number: 5 0
Archive Shift Prediction (hr): 1 0
Archiving Flag: 1 0
Archive Backup Flag: 0 0
Shift or System Backup Flag: 0 0
Failed Archive Shift Flag: 0 0
Overflow Index Record Count: 0 0
Overflow Data Record Count: 5082 4
Archive Loaded Flag: 1 0Note: For information about the possible values of Archiving Flag, see Output from piartool -as.
-
Review the output. Note the difference in the count in the column on the right since the previous five seconds. The counters are reset to zero when PI Archive Subsystem starts.
-
Press Ctrl+C to stop piartool output.