Kernel Commands
- Last UpdatedFeb 06, 2024
- 2 minute read
Commands are issued at a command line interface (similar to the Windows Command Prompt), from the Shell window. Some commands display their results in the main Kernel window; others open a child window for information display (or for further commands). You can open a maximum of eight windows at once (including the Main and Shell windows).
You can use several keyboard keys to scan and reuse commands from the command history, to speed up the issuing of Kernel commands. (The command history is a list of commands that you have previously issued). These keyboard keys are listed below:
|
Key |
Description |
|---|---|
|
Up arrow |
Scans backward through the command history. (Commands are displayed in the command line.) |
|
Down arrow |
Scans forward through the command history. (Commands are displayed in the command line.) |
|
F3 |
Puts the last command you issued in the command line. |
|
Left arrow |
Moves the cursor back one character at a time (in the command line). |
|
Right arrow |
Moves the cursor forward one character at a time (in the command line). |
|
Delete |
Deletes the character to the right of the cursor (in the command line). |
|
Backspace |
Deletes the character to the left of the cursor (in the command line). |
|
Insert |
Switches from over-strike mode to insert character mode (in the command line). |
The table below describes the Kernel commands.
|
Command |
Description |
|---|---|
|
Changes the cache timeout for each I/O Device. |
|
|
Opens a child window that you can use to call Cicode functions. |
|
|
Clears text from the current window (the Shell window or Cicode window). You can also use "Cls Main" to clear text in the main window. |
|
|
Enables logging of server-side CtAPI debugging information. |
|
|
Enables the debugging of raw data transfer between Plant SCADA and a driver. |
|
|
Sends a report on the call stacks for all running Cicode to the relevant log file. |
|
|
Controls the listing of driver control blocks (DCBs) between the I/O server and drivers. |
|
|
Closes a Cicode or Shell window. |
|
|
Displays a list of the commands available in the Kernel. |
|
|
Enables or disables the logging of I/O Device reads and writes. |
|
|
Displays general statistics information. |
|
|
Displays information about each driver in the Plant SCADA system. |
|
|
Displays the memory debug heap. |
|
|
Displays the queues that are active on the system. |
|
|
Displays information about Plant SCADA's Runtime Databases. |
|
|
Displays information about Plant SCADA's internal data structures. |
|
|
Displays information about each I/O Device in the Plant SCADA system. |
|
|
Pauses debug output. |
|
|
Profile |
Enter "profile 1" to enable the Cicode Profiler, or "profile 0" to disable it (see The Cicode Profiler). |
|
Opens a new command (shell) window. Note: The last shell window cannot be closed. |
|
|
Resets system statistics. |
|
|
Enables logging for tran activity messages in the syslog.dat file. |
|
|
Sends a customized message to the relevant syslog.dat file. |
|
|
Lists all the loaded native process modules into the relevant debug.log file. |