Buffering EdgeCmd scripts
- Last UpdatedMay 01, 2025
- 1 minute read
- PI System
- Adapter for RDBMS 1.1
- Adapters
The following EdgeCmd commands configure specific facets of buffering:
|
EdgeCmd command |
Description |
Examples |
|---|---|---|
|
edgecmd get Buffering [-file <filepath>] |
Get the buffering configuration. |
edgecmd get Buffering -file C:\Users\TestUser\Buffering\Configuration.json |
|
edgecmd set Buffering [-file <filepath>] |
Import the buffering configuration. |
edgecmd set Buffering |
|
edgecmd edit Buffering [-bufferLocation <value>] [-maxBufferSizeMB <value>] [-enableBuffering <value>] |
Change the buffering configuration. |
edgecmd Buffering -bufferLocation C:/ProgramData/OSIsoft/Adapters/RDBMS/Buffers -maxBufferSizeMB 1024 -enableBuffering true |
|
edgecmd help Buffering |
Display help output for the buffering configuration. |
Use EdgeCmd utility to add and remove adapter, and to configure facets of the components.
Note: The examples in this topic are using the default port number 5590. If you specified a different port number for your adapter, you need to add it in the command. For example: edgecmd -port 5591 <RestOfTheCommand>
If a command contains slashes, you must add escape characters as follows:
In Windows , add a second slash. style="box-sizing: inherit;">
Example: TestUser\OilCompany becomes TestUser\\OilCompany
In Linux , add three additional slashes. style="box-sizing: inherit;">
Example: TestUser\OilCompany becomes TestUser\\\\OilCompany