Table Of Contents
Show Commands
show account
show firewall list
show hardware
show logins
show myself
show network
show open
show packages
show process
show stats io
show status
show tech all
show tech network
show tech runtime
show tech system
show timezone
show version
show workingdir
Show Commands
Revised: April 15, 2009, OL-19545-01
This chapter contains the following show commands:
•
show account
•
show firewall list
•
show hardware
•
show logins
•
show myself
•
show network
•
show open
•
show packages
•
show process
•
show stats io
•
show status
•
show tech all
•
show tech network
•
show tech runtime
•
show tech system
•
show timezone
•
show version
•
show workingdir
show account
show account
Syntax Description
None
Command Modes
Admin
Command privilege level: 4
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
The command was first introduced.
|
Usage Guidelines
This command lists current administrator accounts, except the master administrator account.
Examples
Related Commands
show firewall list
show firewall list [detail] [page] [file filename]
Syntax Description
detail
|
Displays detailed statistics on every available device on the system.
|
page
|
Displays the output one page at a time.
|
file filename
|
Outputs the information to a file.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
The command was first documented.
|
Usage Guidelines
This command displays system aspects of the server.
Note
The file option saves the information to platform/cli/filename.txt. Ensure the file name does not contain the "." character.
Examples
admin: show firewall list [detail] [page] [file filename]
Related Commands
show hardware
show hardware
Syntax Description
detail
|
Display more detailed call statistics.
|
page
|
Pauses output after one page of call statistics.
|
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
The command was first documented.
|
Usage Guidelines
This command displays the following information on the platform hardware:
•
Platform
•
Serial number
•
BIOS build level
•
BIOS manufacturer
•
Active processors
•
RAID controller status
Examples
Related Commands
show logins
show logins number
Syntax Description
number
|
Specifies the number of most recent logins to display. The default equals 20.
|
Command Modes
Admin
Command privilege level: 1
Command History
Release
|
Modifications
|
1.2
|
The command was first documented.
|
Usage Guidelines
This command lists recent logins to the server
Examples
Related Commands
show myself
show myself
Syntax Description
None
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
The command was first documented.
|
Usage Guidelines
This command displays information about the current account
Examples
Your account name is : test
Your privilege level is : 1
Related Commands
show network
show network
cluster
eth0 [detail]
failover [detail] [page]
route [detail]
status [detail] [listen] [process] [all] [nodns] [search stext]
ip_conntrack
max_ip_conntrack
dhcp eth0 status
all [detail]
Syntax Description
cluster
|
Displays a list of the nodes in the network cluster
|
eth0
|
Specifies Ethernet 0
|
failover
|
Specifies Network Fault Tolerance information
|
route
|
Specifies network routing information.
|
status
|
Specifies active Internet connections.
|
ip_conntrack
|
Specifies ip_conntrack usage information.
|
max_ip_conntrack
|
Specifies max_ip_conntrack information.
|
dhcp eth0 status
|
Displays DHCP status information.
|
all
|
Specifies all basic network information.
|
detail
|
Displays additional information.
|
page
|
Displays information 1 page at a time.
|
listen
|
Displays only listening sockets.
|
process
|
Displays the process ID and name of the program to which each socket belongs.
|
all
|
Displays both listening and nonlistening sockets.
|
nodns
|
Displays numerical addresses without any DNS information.
|
search stext
|
Searches for the stext in the output.
|
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modification
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays network information.
Use this command to retrieve the status of the call.
Examples
This example displays active Internet connections.
IP Address : 192.0.2.0 IP Mask : 255.255.255.000
Link Detected: yes Mode : Auto off, Full, 100MB/s
Primary : 171.70.168.183 Secondary :
Gateway : 128.107.140.1 on Ethernet 0
show open
show open
files [all] [process processID] [regexp reg_exp]
ports [all] [regexp reg_exp]
Syntax Description
files
|
Displays open files on the system.
|
ports
|
Displays open ports on the system.
|
all
|
Displays all open files or ports.
|
process
|
Displays open files that belong to the specified process.
|
processID
|
Specifies a process.
|
regexp
|
Displays open files or ports that match the specified regular expression.
|
reg_exp
|
Represents a regular expression.
|
Command Modes
Admin
Command privilege level: 1
Command History
Release
|
Modification
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays open files and ports on the system.
Examples
show packages
show packages
active name [page]
inactive name [page]
Syntax Description
name
|
Represents the package name. To display all active or inactive packages, use the wildcard character, *.
|
page
|
Displays the output one page at a time.
|
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays the name and version for installed packages.
Examples
Related Commands
show process
show process
list [file filename] [detail]
load [cont] [clear] [noidle] [num number] [thread] [cpu | memory| time] [page]
Syntax Description
list
|
Displays a list of all the processes and critical information about each process and visually indicates the child-parent relationships between the processes.
|
load
|
Displays the current load on the system.
|
file filename
|
Outputs the results to the file that is specified by filename.
|
detail
|
Displays detailed output.
|
cont
|
Repeats the command continuously.
|
clear
|
Clears the screen before displaying output.
|
noidle
|
Ignore the idle/zombie processes.
|
num number
|
Displays the number of processes that are specified by number. The default number of processes equals 10. Set number to all to display all processes.
|
thread
|
Displays threads.
|
[cpu | memory | time]
|
Sorts output by CPU usage, memory usage, or time usage. The default specifies to sort by CPU usage.
|
page
|
Displays the output in pages.
|
process
|
Specifies the name of a process.
|
process-id
|
Specifies the process ID number of a process.
|
regexp
|
Represents a regular expression.
|
number
|
Specifies the number of processes to display. The default equals 5.
|
Command Modes
Admin
Command privilege level: 1
Command History
Release
|
Modification
|
1.2
|
The command was first documented.
|
Usage Guidelines
This command displays information about process that is running on the system.
Examples
Related Commands
show stats io
show stats io [kilo] [detail] [page] [file filename]
Syntax Description
kilo
|
Displays statistics in kilobytes.
|
detail
|
Displays detailed statistics on every available device on the system and overrides the kilo option.
|
file filename
|
Outputs the information to a file.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modification
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays system IO statistics.
Note
The file option saves the information to platform/cli/filename.txt. Ensure that the file name does not contain the "." character.
Examples
Related Commands
show status
show status
Syntax Description
None
Command Modes
Admin
Command privilege level: 0
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays basic platform status.
This command displays the following basic platform status:
•
Host name
•
Date
•
Time zone
•
Locale
•
Product version
•
Platform version
•
CPU usage
•
Memory and disk usage
Examples
Date : Thu Jun 24, 2004 12:55:01
CPU Idle: 100.00% System: 00.00% User: 00.00%
Memory 254984K 72964K 182020K
Disk/active 3020140K 1580608K 1286116K (45%)
Disk/inactive 3020172K 2833924K 32828K (2%)
Disk/logging 11290072K 10017808K 698748K (7%)
show tech all
show tech all [page] [file filename]
Syntax Description
page
|
Displays one page at a time.
|
file
|
Outputs the information to a file.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays the combined output of all show tech commands.
Note
The file option saves the information to platform/cli/filename.txt. Ensure that the file name does not contain the "." character.
Examples
admin: show tech all [page] [file filename]
Related Commands
show tech network
show tech network
all [page] [search text] [file filename]
hosts [page] [search text] [file filename]
interfaces [page] [search text] [file filename]
resolv [page] [search text] [file filename]
routes [page] [search text] [file filename]
sockets {numeric}
Syntax Description
all
|
Displays all network tech information.
|
hosts
|
Displays information about hosts configuration.
|
interfaces
|
Displays information about the network interfaces.
|
resolv
|
Displays information about hostname resolution
|
routes
|
Displays information about network routes.
|
sockets
|
Displays the list of open sockets.
|
page
|
Displays one page at a time.
|
search text
|
Searches the output for the string that text specifies. Be aware that the search is case insensitive.
|
file filename
|
Outputs the information to a file.
|
numeric
|
Displays the numerical addresses of the ports instead of determining symbolic hosts. This parameter is equivalent to running the Linux shell command netstat [-n] command.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
Use this command to show network aspects of the machine. The file option saves the information to platform/cli/filename.txt.
Note
Ensure that the file name does not contain the "." character.
Examples
Related Commands
Command
|
Description
|
show tech runtime
|
Shows runtime aspects of the machine
|
show tech system
|
Shows system aspects of the machine
|
show tech runtime
show tech runtime
all [page] [file filename]
cpu [page] [file filename]
disk [page] [file filename]
env [page] [file filename]
memory [page] [file filename]
Syntax Description
all
|
Displays all runtime information
|
cpu
|
Displays CPU usage information at the time the command is run.
|
disk
|
Displays system disk usage information.
|
env
|
Displays environment variables.
|
memory
|
Displays memory usage information.
|
page
|
Displays one page at a time.
|
file filename
|
Outputs the information to a file.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.5
|
This command was first documented.
|
Usage Guidelines
Use this command to show runtime aspects of the machine. The file option saves the information to platform/cli/filename.txt.
Note
Ensure that the file name cannot contain the "." character.
Examples
Related Commands
Command
|
Description
|
show tech network
|
Shows network aspects of the machine
|
show tech system
|
Shows system aspects of the machine
|
show tech system
show tech system
all [page] [file filename]
bus [page] [file filename]
hardware [page] [file filename]
host [page] [file filename]
kernel [page] [file filename]
software [page] [file filename]
tools [page] [file filename]
Syntax Description
all
|
Displays all the system information.
|
bus
|
Displays information about the data buses on the server.
|
hardware
|
Displays information about the server hardware.
|
host
|
Displays information about the server.
|
kernel
|
Lists the installed kernel modules.
|
software
|
Displays information about the installed software versions.
|
tools
|
Displays information about the software tools on the server.
|
page
|
Displays one page at a time.
|
file filename
|
Outputs the information to a file.
|
Command Modes
Admin
Command privilege level: 1
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first introduced.
|
Usage Guidelines
The file option saves the information to platform/cli/filename.txt.
Note
Ensure that the file name does not contain the "." character.
Examples
Related Commands
Command
|
Description
|
show tech network
|
Shows network aspects of the machine
|
show tech runtime
|
Shows runtime aspects of the machine
|
show timezone
show timezone
config
list [page]
Syntax Description
config
|
Displays the current time zone settings.
|
list
|
Displays the available time zones.
|
page
|
Displays the output one page at a time.
|
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command displays time zone information.
Examples
Current timezone: (GMT+10:00) Canberra, Melbourne, Sydney
Related Commands
show version
show version
active
inactive
Syntax Description
None
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
Use this command to display the software version on the active or inactive partition.
Examples
Related Commands
show workingdir
show working dir
Syntax Description
None
Command Modes
Admin
Command privilege level: 0
Allowed during upgrade: Yes
Command History
Release
|
Modifications
|
1.2
|
This command was first documented.
|
Usage Guidelines
This command retrieves the current working directory for activelog, inactivelog, install, and TFTP.
Examples
Related Commands
Related Commands