Hello All,

I would like to know if it is possible to see the estimated buffer capacity, other than using Buffering Manager. We are using an older version of PI Buffer sub system (3.4.380.79) and we don't have Buffering Manager option. We are not in a position to immediately upgrade the version. Do we have any commands that can give the estimated buffer capacity in days, like the one we get in buffering manager?

I had tried to run the pibufss -qs command, and it has the estimated remaining capacity, whereas that seems to be in terms of number of events. Please let me know if we can get it in number of days.

Thanks in advance!!

Regards,

Nandhini.S

Hello Nandhini,

I believe the pibufss -qs is the best option you have but you will have to do some math on the reported statistics. You will likely know that the left value column is the total while the right one is the change since the last update. The statistics update every 5 seconds and you could use Events in Queue for the calculation. If I would have to do it, I would first sum up Events in Queue for a minute and use this value together with Estimated remaining capacity (number of Events) to calculate the estimated remaining time. By the way, the result is always based on recent conditions which means the quality of the estimation heavily depends on how constant write rates are.

By the way, I have just checked pibufss -qs command with PI Buffer Subsystem version 4.8.0.18 and the Estimated remaining Capacity is reported in hours which is closer to what you are looking for and hence another reason to upgrade.

I can also think of an alternative approach based on available disk space and the actual change rate for the drive hosting the Buffer Subsystem queue files. If other applications also store files for the same logical drive, this estimation may be even more accurate. You can get the available disk space from Windows Performance Counters.