Administrator Guide
11 Python Scripting for Dell Networking N-Series | Version 1.0.1
2.4 show application
Use this command to see the scripts that are loaded into memory. Each script listed in the show
applications command also has an entry in the running-configuration.
Syntax:
show application [files]
Example: console#show application
OpEN application table contains three entries.
Name StartOnBoot AutoRestart CPU Sharing Max Memory
------------ ----------- ----------- ----------- ----------
SupportAssist Yes Yes 0 0
hello No No 0 0
hiveagent Yes Yes 0 0
Optional parameter:
files shows all application process directory contents available for install
2.5 application start
Use this command to execute a Python script. The script must be installed into memory using the application
install command (explained above) before it can be started.
Syntax:
application start <application-name>
Example: console#application start hello
Application started.
console#
Hello World!
2.6 application stop
Use this command to stop a running Python script. This command does not remove the script from memory.
The script remains ready for manual execution at any time or automatic execution at bootup if configured.
Syntax:
application stop <application-name>
Example: console#application stop hello
Application stopped.
Hint: Output of a script goes only to the switch console screen. It may be easier to SSH/Telnet into the
switch to stop a running script if the console is continuously scrolling.