Programmable Internetworking & Communication Operating System Docs ... Click Spaces -> Space Directory to see docs for all releases ...
Page tree
Skip to end of metadata
Go to start of metadata

User can display a system's information, including fan, power supply unit, and serial number information. 

Displaying the System Fan

admin@XorPlus>show system fan 
Sensor Temperature:
Sensor 1 Temperature : 42 Centigrade
Sensor 2 Temperature : 39 Centigrade
Sensor 3 Temperature : 46 Centigrade
Sensor 4 Temperature : 33 Centigrade
Fan Status:
Fan 1 speed = 12529 RPM, PWM = 79
Fan 2 speed = 12413 RPM, PWM = 79
Fan 3 speed = 12300 RPM, PWM = 79 

Displaying the System Power Supply Unit

admin@XorPlus> show system rpsu 
RPSU 1:
TEMPERATURE_1 : N/A
RPSU 2:
TEMPERATURE_1 : 38.00 Centigrade
TEMPERATURE_2 : 40.00 Centigrade
FAN_SPEED : 10784.0 RPM
FAN_PWM : 60 

Displaying the System Serial Number

admin@XorPlus> show system serial-number 

MotherBoard Serial Number : TW0WYGRVDNT0097I0015

RPSU 1 Serial Number      : N/A
RPSU 2: Not ready
SFP+    te-1/1/49             :
        Vendor Name           : Hisense
        Vendor PartNr         : LTF8502-BC+
        Serial Number         : CN56GMC2S0
        Module Type           : 10G_BASE_SR
        Cable Length          : 300m
SFP     te-1/1/50             :
        Vendor Name           : FiberStore
        Vendor PartNr         : SFP1G-LX-31
        Serial Number         : F174CO01408
        Module Type           : 1G_BASE_LX
        Cable Length          : 10km
SFP     te-1/1/51             :
        Vendor Name           : FiberStore
        Vendor PartNr         : SFP1G-LX-31
        Serial Number         : F174CO01641
        Module Type           : 1G_BASE_LX
        Cable Length          : 10km
SFP+    te-1/1/52             :
        Vendor Name           : 3M
        Vendor PartNr         : 1410-P17-00-3.00
        Serial Number         : Y30B220863
        Module Type           : 10G_BASE_AOC
        Cable Length          : 30m

Displaying Additional System Information

admin@XorPlus# run show system temperature 
Temperature: 39 C /102F
admin@XorPlus#
admin@XorPlus# run show system uptime 
01:21:33 up 50 min, load average: 0.04, 0.06, 0.07
admin@XorPlus#
admin@XorPlus# run show system cpu-usage 
Cpu usage: 15%
admin@XorPlus#
admin@XorPlus# run show system date
Mon Jan 13 18:11:04 UTC 2014
admin@XorPlus# 
admin@XorPlus# run show system memory-usage 
total used free shared buffers cached
Mem: 515808 185468 330340 0 10320 68312
-/+ buffers/cache: 106836 408972
Swap: 0 0 0
admin@XorPlus# 
admin@XorPlus# run show system name 
admin@XorPlus
admin@XorPlus#
admin@XorPlus# run show system ntp-status 
Please start the ntp server first!
admin@XorPlus#
admin@XorPlus# run show system os
Linux XorPlus 2.6.27 #1 Thu Feb 13 00:42:23 CST 2014 ppc GNU/Linux
admin@XorPlus# run show system processes brief 
PID TTY STAT TIME COMMAND
1 ? Ss 0:01 init [2] 
2 ? S< 0:00 [kthreadd]
3 ? S< 0:00 [ksoftirqd/0]
4 ? S< 0:00 [watchdog/0]
5 ? S< 0:02 [events/0]
6 ? S< 0:00 [khelper]
48 ? S< 0:00 [kblockd/0]
55 ? S< 0:00 [ata/0]
56 ? S< 0:00 [ata_aux]
58 ? S< 0:00 [kseriod]
99 ? S 0:00 [pdflush]
101 ? S< 0:00 [kswapd0]
147 ? S< 0:00 [aio/0]
156 ? S< 0:00 [nfsiod]
831 ? S< 0:00 [ftld]
853 ? S< 0:00 [rpciod/0]
857 ? S< 0:00 [kjournald]
2222 ? S 0:00 [pdflush]
2356 ? Ss 0:00 /usr/sbin/cron -L 0
2387 ? Ss 0:00 /usr/sbin/xinetd -pidfile /var/run/xinetd.pid -stayalive -inetd_compat -inetd_ipv6
2501 ? S 0:03 pica_cardmgr
2503 ? S 0:59 pica_sif
2649 ? S 0:05 pica_lacp
2664 ? Ss 0:00 dhclient -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases eth0
2666 ? Sl 18:06 pica_lcmgr
2672 ? S 0:04 pica_login
3166 ? Sl 0:00 /usr/sbin/rsyslogd -c5
3457 ? S 0:35 pica_mstp
3462 ? S 0:02 xorp_policy
3464 ? Ss 1:03 /pica/bin/xorp_rtrmgr -d -L local0.info -P /var/run/xorp_rtrmgr.pid
3500 tty1 Ss+ 0:00 /sbin/getty 38400 tty1
3507 tty2 Ss+ 0:00 /sbin/getty 38400 tty2
3508 tty3 Ss+ 0:00 /sbin/getty 38400 tty3
3761 ttyS0 Ss+ 0:00 /sbin/getty -s -L ttyS0 115200 ansi
4050 ? S 0:57 ovs-vswitchd
4422 ? Ss 0:00 in.telnetd: 10.10.50.16
4423 pts/0 Ss 0:00 login -h 10.10.50.16 -p
4424 pts/0 S+ 0:00 -bash
4434 pts/0 S+ 0:03 /pica/bin/pica_sh
6451 ? Ss 0:00 in.telnetd: 10.10.50.18
6452 pts/1 Ss 0:00 login -h 10.10.50.18 -p
6460 pts/1 S+ 0:00 -bash
6469 pts/1 R+ 0:03 /pica/bin/pica_sh
15113 pts/1 R 0:00 ps a
admin@XorPlus# run show system rollback ?
Possible completions:
compare Show the difference between tow rolled back configurations
file Show rolled back configuration file
list Show rolled back file list
admin@XorPlus# run show system rollback compare to 02
3c3
< /Last commit : Mon Jan 13 14:13:01 2014 by admin/
—
> /Last commit : Mon Jan 13 14:11:54 2014 by admin/
83,86d82
< crossflow {
< enable: true
< local-control: true
< }
95,98d90
< crossflow {
< enable: true
< local-control: true
< }
510,514d501
< controller 1 {
< protocol: "tcp"
< address: 10.10.50.47
< port: 6633
< }
admin@XorPlus#
admin@XorPlus# run show system rollback file 02
/XORP Configuration File, v1.0/
/* Copyright (C) 2009-2013 Pica8, Inc.*/
/Last commit : Mon Jan 13 14:11:54 2014 by admin/
/PicOS Version : 2.2/
/Version Checksum: 24226776f6bc5622030e3b7959d612bf/
interface {
ecmp {
max-path: 4
hash-mapping {
field {
ingress-interface {
disable: true
}
vlan {
disable: true
}
ip-protocol {
disable: true
}
ip-source {
disable: false
}
ip-destination {
disable: false
}
port-source {
disable: false
}
port-destination {
disable: false
}
}
}
}
aggregate-balancing {
.....................................................................
admin@XorPlus# run show system rollback list 
-rw-rw-r-- 1 root xorp 23478 Jul 7 22:55 /pica/config/pica.conf
-rw-rw-r-- 1 root xorp 23595 Jul 7 22:28 /pica/config/pica.conf.01
-rw-rw-r-- 1 admin xorp 23595 Jul 7 22:27 /pica/config/pica.conf.02
-rw-rw-r-- 1 root xorp 23595 Jul 7 22:26 /pica/config/pica.conf.03
admin@XorPlus# run show system users 
admin pts/0 Jan 13 14:19 (10.10.50.16)
admin pts/1 Jan 13 15:03 (10.10.50.18)
admin@XorPlus#
admin@XorPlus# run show system core-dumps 
total 0
admin@XorPlus#
admin@XorPlus# run show system connections 
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode 
tcp 0 0 127.0.0.1:49152 0.0.0.0:* LISTEN 0 6787 
tcp 0 0 127.0.0.1:60833 0.0.0.0:* LISTEN 0 5715 
tcp 0 0 127.0.0.1:51714 0.0.0.0:* LISTEN 11 31043 
tcp 0 0 127.0.0.1:42179 0.0.0.0:* LISTEN 0 6789 
tcp 0 0 127.0.0.1:56484 0.0.0.0:* LISTEN 0 5711 
tcp 0 0 127.0.0.1:51044 0.0.0.0:* LISTEN 0 5705 
tcp 0 0 127.0.0.1:40421 0.0.0.0:* LISTEN 0 6764 
tcp 0 0 127.0.0.1:56263 0.0.0.0:* LISTEN 0 6822 
admin@XorPlus# run show system boot-messages 
Copyright (c) 2009-2014 Pica8 Inc. 
All rights reserved.
Up time: 18:19:41 
revision: 2.6.27 
Using MPC85xx CDS machine description
Memory CAM mapping: CAM0=256Mb, CAM1=256Mb, CAM2=0Mb residual: 0Mb
Linux version 2.6.27 (root@dev-16-new) (gcc version 4.2.2) #1 Thu Feb 13 00:42:23 CST 2014
Found legacy serial port 0 for /soc8541@e0000000/serial@4500
mem=e0004500, taddr=e0004500, irq=0, clk=330000000, speed=0
Found legacy serial port 1 for /soc8541@e0000000/serial@4600
mem=e0004600, taddr=e0004600, irq=0, clk=330000000, speed=0
  • No labels