分类:
2005-07-13 12:53:42
# hostname (主机名)
# hostid
# uname -X
# uname -a
# w (进程)
# who
# last
# ps -eaf
# /usr/ucb/ps -aux
# prstat
# ifconfig -a (IP地址)
# netstat -nr
# netstat -in
# /usr/platform/sun4u/sbin/prtdiag -v |more
# /usr/platform/sun4u/sbin/eeprom |more
# df -k
# format
# iostat -En
# luxadm probe (阵列)
# luxadm display 171
# swap -s (虚拟内存)
# swap -l
# iostat -c 1 5 (使用率)
# iostat -d 1 5
# vmstat 1 5
# sar 1 5
# more /var/adm/messages (日志)
# more /etc/system
# more /etc/group
# more /etc/hosts
# pkginfo -l (软件信息)
# pkginfo -l VRTSvxvm
# showrev -p (patch)
# vxdisk list (Veritas)
# vxdg list
# vxinfo -g juanzu
# vxprint -v
# vxprint -p
# vxprint -s
# vxprint -ht
# metadb -i (disksuite)
# metastat
# metastat -p
# more /etc/vfstab
# /usr/lib/osa/bin/lad (硬RAID)
# /usr/lib/osa/bin/healthck -a
# /usr/lib/osa/bin/drivutil -d c8t0d0s2
# /usr/lib/osa/bin/drivutil -i c1t3d1s2
# /usr/lib/osa/bin/raidutil -c c2t3d0s2
# /usr/lib/osa/bin/parityck -a
# more /etc/passwd (oracal)
# more /etc/system
# su - orauser
$ ps -efa|grep ora
$ more .profile
$ lsnrctl status
$ svrmgrl
svrmgrl> connect internal
svrmgrl> select * from v$datafile;
svrmgrl> quit
-------------------------------------------------
# hostid (license)
# uname -i
# /opt/VRTS/bin/vxlicrep
# cd /etc/vx/elm/
# more *.lic
# hastatus -summary (VCS双机)
# hares -dep
# hagrp -dep
# cd /etc/VRTSvcs/conf/config
# more main.cf
# more types.cf
# more OracleTypes.cf
# lltconfig (LLT)
# lltconfig -a list
# lltstat
# lltstat -nvv
# gabconfig -a (GAB)
# gabdiskhb -l
# gabdiskx -l
-------------------------------------------------
SC的巡检相关
查看集群状态(不仅仅使用于双机,N节点集群时,在任意节点进行操作即可)
# scstat -p
查看集群配置
# scconf –p