View log messages with pigetmsg
- Last UpdatedJul 15, 2025
- 1 minute read
- PI System
- PI Server
Use pigetmsg to view messages in the PI message log. Run the pigetmsg utility from the ..\PI\adm directory.
If you include all necessary parameters on the command line, pigetmsg simply returns the results and exits. This is called non-interactive mode. If you do not enter all the necessary parameters, pigetmsg prompts you to enter them. This is called interactive mode.
To run in non-interactive mode, specify at least two of the following:
-
Start time (–st)
-
End time (–et)
-
Max count (–mc)
-
If you specify the -i option, pigetmsg goes into interactive mode after the results are returned, even if you entered all necessary parameters for non-interactive mode.
If you specify the -i option, pigetmsg goes into interactive mode after the results are returned, even if you entered all necessary parameters for non-interactive mode.
If you specify the –f option, pigetmsg goes into continuous mode after the results are returned.