List mode for viewing information
- Last UpdatedJan 13, 2023
- 1 minute read
- PI System
- PI Server
Use List mode to read data from a table. This is the default mode when you start piconfig.
In List mode, follow these steps:
-
Specify the output fields and formatting that you want by using the output structure command, .
-
Retrieve the data you need by using the select command, .
-
Use the command to proceed with listing the results.
The following example defines a two-line output structure in which the first line contains the connection ID and application name attributes and the second line contains the PI user and Windows user attributes. The command returns all records in this output structure for which the application name begins with "SMT".
* (Ls - ) PICONFIG> @tabl pinetmgrstats
* (Ls - PINETMGRSTATS) PICONFIG> @ostr ID,Name
* (Ls - PINETMGRSTATS) PICONFIG> @ostr User,OSUser
* (Ls - PINETMGRSTATS) PICONFIG> @sele ID=*,Name=SMT*
* (Ls - PINETMGRSTATS) PICONFIG> @ends
1507,SMTHost.exe(8372):remote
piadmin | piadmins | PIWorld,OSI\jallen
*----------
1522,SMTHost.exe
piadmin | piadmins | PIWorld,OSI\jallen
*----------
Note: To output all attributes for each entry in the table, use the command .
To view an output structure, use the command .