Administrator Guide
Smart Scripting | 57
Displaying Installed Packages
To view the Open Automation packages currently installed on a switch, including
version numbers and content, use the
show packages command.
Uninstalling Smart Scripting
Uninstalling the Smart Scripting package removes it from the internal flash memory.
Limits on System Usage
Smart Scripting establishes limits on system processes for the following attributes
(regardless of the user-privilege level or scripting method) to restrict CPU and
memory usage:
Command Syntax Command Mode Task
show packages EXEC Privilege View package information.
Caution: Before you uninstall the Smart Scripting package, stop all scripts that are currently
running using the no script script-name command. You must also manually stop the http
server daemon.
Note: If installed, uninstall the VSN Agent package before uninstalling Smart Scripting
package.
Command Syntax Command Mode Task
package uninstall package-name
Enter the name of the Smart Scripting package,
exactly as it appears in the show packages
list.
EXEC Privilege Uninstall the Smart Scripting package stored on
the switch.
Table 5-1. Limits on System Attributes
System
Attribute Value Description
cputime unlimited Maximum amount of time used by a process.
filesize unlimited Largest file size (in bytes) that can be created.
datasize 131,072 Maximum size (in bytes) of the data segment for a process; this value defines how
far a program may extend its break with the sbrk(2) system call.