hpux-小机巡检命令列表及说明

合集下载
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

命令:

#netstat -in #查看ip地址,及网卡进出流量

例:

Name Mtu Network Address Ipkts Ierrs Opkts

Oerrs Coll

lan2 1500 10.10.60.0 10.10.60.8 3367919964 0 3350964850

0 0

lan1 1500 192.168.0.0 192.168.0.2 2357231 0 504 0

lo0 32808 127.0.0.0 127.0.0.1 37865218 0 37865221

*************************************************************************命令:

#hostname #查看主机hostname名

例:

RX6600S2

*************************************************************************命令:/usr/sbin/

#dmesg #查看信息,内存

************************************************************************* #查看系统日志#

[HPUX:/]#cd var

[HPUX:/var]#cd adm

[HPUX:/var/adm]#ls

.sfd.log conslog.opts kc.log new._SOC_DFLT_ACL

snmpd.log wtmp

OLDsulog crash kcmond new.secrets streams

wtmps

SGsnmpsuba.log cron lp ps_data sulog

wtmpx

acct diag netinfo.s2 ptydaemonlog sw

automount.log eisa nettl.LOG000 rc.log syslog

btmp hotplugd.log new._ACL sbtab userdb

btmps icod.log new._OWNER sgproviders util

cmcluster kc.cache new._PROD_DFLT_ACL shutdownlog vx

[HPUX:/var/adm]#cd syslog

[HPUX:/var/adm/syslog]#ls

OLDsyslog.log mail.log syslog.log

[HPUX:/var/adm/syslog]#cat syslog.log

Mar 20 04:13:47 RX6600S2 syslogd: restart

Mar 20 04:13:47 RX6600S2 vmunix:

Mar 20 04:13:47 RX6600S2 vmunix: MFS is defined: base= 0xe000000101a53000 size= 20248 KB

Mar 20 04:13:47 RX6600S2 vmunix: Found adjacent data tr. Growing size. 0x25ad000 -> 0x65ad000.

Mar 20 04:13:47 RX6600S2 vmunix: Loaded ACPI revision 2.0 tables.

Mar 20 04:13:47 RX6600S2 vmunix: MMIO on this platform supports Write Coalescing.

Mar 20 04:13:47 RX6600S2 vmunix:

Mar 20 04:13:47 RX6600S2 vmunix: MCA recovery subsystem disabled, not supported on this platform.

Mar 20 04:13:47 RX6600S2 vmunix: Memory Class Setup

等。。

*************************************************************************命令:

#bdf #查看文件系统使用率(超过80%,需调整(/,/var,/tmp,重

点))

例:

Filesystem kbytes used avail %used Mounted on

/dev/vg00/lvol3 1048576 856464 191368 82% /

/dev/vg00/lvol1 1835008 296192 1526856 16% /stand

/dev/vg00/lvol8 8912896 2798056 6069584 32% /var

/dev/vg00/lvol7 6291456 2957736 3307704 47% /usr

/dev/vg00/lvol4 10485760 7563112 2900032 72% /tmp

/dev/vg00/lvol6 9699328 5032200 4630880 52% /opt

/dev/vg00/lvol5 5242880 342880 4861768 7% /home

DevFS 11 11 0 100% /dev/deviceFileSystem

/dev/vgdg/lvdg 409600000 316455792 87323833 78% /standbydata

/dev/vgdg/lvarch 204800000 61558802 134288954 31% /standbyarch

/dev/vg00/oracle 30736384 4565897 24535623 16% /oracle

相关文档
最新文档