Вы находитесь на странице: 1из 4

sun

comandos informacion status


prtconf
psrinfo
procesadores
prstat
prstat -S size ordenado por size
prstat -S rss ordenado por RSS
sar 1 5 ver cpu
vmstat
pi page in ,po page out , sr scan rate, r run quoue , b procesos blo
queado, us cpu user,us cpu system
prtdiag
errores
dmesg
cat /etc/release uname -s

versiones 5.10

swap
swap -s used + available
discos
format
ver discos
vxprint -A
________________________________________________________________________________
____
uso de memoria y de swap
#vmstat 1 3
kthr
memory
page
disk
faults
cpu
r b w swap free re mf pi po fr de sr s0 s1 s2 s5 in sy cs us sy id
0 0 0 20439912 6909096 133 834 1 1 1 0 0 -0 1 5 -0 1779 1485 1318 0 0 100
el free es de la memoria ram no del swap.
swap -s
total: 269312k bytes allocated + 95192k reserved = 364504k used, 20383424k avail
able
swap = used + available
364504 + 20383424 = 20747928
memoria = 8184 ( con prtconf)
swap puede ser
total - (swap en el vmstat) swap usado
memoria
memoria - (memoria libre en el vmstat)
(8194 * 1024) - 6909096 = 1481560
1481560 / 1024
memoria usada 1446
________________________________________________________________________________
__________

tarjetas de red
ver tarjetas status velocidad duplex
/usr/sbin/dladm show-dev
ifconfig -a
ver trafico de red
netstat -i
ver si esta corriendo un servicio
svcs ntp
ver status de servicio
svcs nfs
svcs -a
muestra todos los servicios y sus status
ntpq -p
ver ntpd
vet /etc/ntpq.conf
http://support.ntp.org/bin/view/Support/TroubleshootingNTP
subir y bajar servicios
svcadm enable nfs
svcadm disable nfs
rpcinfo -u localhost nfs
ps -fe|grep nfsd
ver hba's
fcinfo hba-port
luxadm glgc hba
ver discos
format
ver cpu fisicos
/usr/sbin/psrinfo
/usr/sbin/psrinfo -v

mas detalles

rutas estaticas
si tengo el patches
showrev -p|grep "Patch: 118833-36"
al hacer un add route -p

se hacer permanente

ejemplo
route -p add -net 192.168.20.0 172.26.17.2
ver rutas staticas definidas
route -p show
sino de debe crear un script de inicio en /etc/init.d/rc3.d donde incluyamos nue
stras rutas, por ejemplo,
# echo "route add -net 192.168.20.0 172.26.17.1" >> /etc/init.d/rc3.d/S99myr
outes
# chmod 555 /etc/init.d/rc3.d/S99myroutes

redes
ver si hay colisiones o encolamiento
netstat -in
Name
lo0
eri0
0
qfe0

Mtu Net/Dest
8232 127.0.0.0
1500 192.168.2.0
1500 192.168.2.0

vvv
Address
Ipkts Ierrs Opkts Oerrs Collis
127.0.0.1
61162 0
61162 0
0
172.24.2.210 144910261 1
145585424 4
172.24.2.10

72207147 0

47267 0

vvvv
Queue
0
0

# ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232
1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
inet 10.120.156.117 netmask fffffc00 broadcast 10.120.159.255
ether 0:21:28:bd:8c:c
e1000g1: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
inet 10.120.156.115 netmask fffffc00 broadcast 10.120.159.255
ether 0:21:28:bd:8c:d
e1000g2: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
inet 10.120.156.116 netmask fffffc00 broadcast 10.120.159.255
ether 0:21:28:bd:8c:e
e1000g3: flags=1000843<UP,BROADCAST,RUNNING,MULTICAST,IPv4> mtu 1500 index
inet 161.196.89.59 netmask ffffff80 broadcast 161.196.89.127
ether 0:21:28:bd:8c:f
(el parmetro adv_1000fdx_cap permite configurar la interfaz a 1Gbps)
# ndd -get /dev/e1000g0 \?
?
(read only)
autoneg_cap
(read only)
pause_cap
(read only)
asym_pause_cap
(read only)
1000fdx_cap
(read only)
1000hdx_cap
(read only)
100T4_cap
(read only)
100fdx_cap
(read only)
100hdx_cap
(read only)
10fdx_cap
(read only)
10hdx_cap
(read only)
adv_autoneg_cap
(read and write)
adv_pause_cap
(read only)
adv_asym_pause_cap
(read only)
adv_1000fdx_cap
(read and write)
adv_1000hdx_cap
(read only)
adv_100T4_cap
(read only)
adv_100fdx_cap
(read and write)
adv_100hdx_cap
(read and write)
adv_10fdx_cap
(read and write)
adv_10hdx_cap
(read and write)
lp_autoneg_cap
(read only)
lp_pause_cap
(read only)
lp_asym_pause_cap
(read only)
lp_1000fdx_cap
(read only)
lp_1000hdx_cap
(read only)
lp_100T4_cap
(read only)
lp_100fdx_cap
(read only)

0
index
2
3
4
5

lp_100hdx_cap
lp_10fdx_cap
lp_10hdx_cap
force_speed_duplex
link_status
link_speed
link_duplex
link_autoneg
tx_bcopy_threshold
tx_interrupt_enable
tx_intr_delay
tx_intr_abs_delay
rx_bcopy_threshold
max_num_rcv_packets
rx_intr_delay
rx_intr_abs_delay

(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read
(read

only)
only)
only)
and write)
only)
only)
only)
only)
and write)
and write)
and write)
and write)
and write)
and write)
and write)
and write)

Вам также может понравиться