Terminal (Program Port/Telnet) Commands
121
NI Series WebConsole & Programming Guide
Telnet Diagnostics Commands
The following Telnet Diagnostics Commands provide visibility to remote Masters, in order to determine
the current state of operations, and are provided as diagnostic/troubleshooting tools.
While these commands are available for any user to execute, their output is interpretable primarily by an
AMX Technical Support Engineer.
Logging Out of a Terminal Session
Telnet Diagnostics Commands
Command
Description
REBOOT HEAP WATCH
This command causes the Master to reboot into a Heap Watch mode, where every
memory allocation is tracked back to a task running in the Master.
This option may be useful in cases where a remote Master is indicating a continuous
loss of memory. With Heap Watch enabled, AMX Technical Support may be able to
track exactly which task is losing the memory.
SPY
SPY STOP
The SPY and SPY STOP interfaces are provided by VxWorks; AMX has made it
available to the user.
• SPY lists out all of the tasks running in the Master and their CPU usage, refreshing
every 10sec.
• SPY is very similar to a Windows Task Manager output.
This option may be useful in cases where a remote Master seems to be running but
very slowly. Enabling SPY might indicate if a specific task is using up the CPU.
SPY can also be useful in detecting infinite loops in NetLinx or Duet/Java code,
since the Interpreter or Java threads will show that they’re using all of the CPU.
PHYSICAL STATUS
This command reports the current state of the Master’s Status, Output and Input
LEDs, in order to troubleshoot a remote Master.
For example, if PHYSICAL STATUS indicates that the Input LED always shows ‘1’
(or ON), it could indicate that the Master is being hammered by incoming events.
MSG STATS
This command collects messages statistics for the Interpreter over a 10 second
period by calculating the number of event messages that have been processed.
This can be useful as a debugging/diagnostics tool to determine if the NetLinx Inter-
preter is running and how many messages it’s processing.
It is very important to execute the 'logout' command prior to disconnecting
from a Master.
Simply removing the RS-232 connector from the Program Port
maintains your logged-in status until you either return to logout via a new session or
reboot the target Master.
Summary of Contents for NetLinx Master-Ethernet Card/Module NXC-ME260
Page 8: ...vi NI Series WebConsole Programming Guide Table of Contents ...
Page 13: ...Overview 5 NI Series WebConsole Programming Guide ...
Page 14: ...Overview 6 NI Series WebConsole Programming Guide ...
Page 34: ...Onboard WebConsole User Interface 26 NI Series WebConsole Programming Guide ...
Page 36: ...WebConsole WebControl Options 28 NI Series WebConsole Programming Guide ...
Page 88: ...WebConsole System Options 80 NI Series WebConsole Programming Guide ...
Page 104: ...Programming 96 NI Series WebConsole Programming Guide ...
Page 156: ...Appendix A IPSec Configuration File 148 NI Series WebConsole Programming Guide ...
Page 161: ...Terminal Program Port Telnet Commands 153 NI Series WebConsole Programming Guide ...