您好,欢迎访问三七文档
一系统环境检查1系统风扇运转检查/usr/platform/sun4u/sbin#prtdiagSystemConfiguration:SunMicrosystemssun4uSunBlade150(UltraSPARC-IIe650MHz)Systemclockfrequency:93MHZMemorysize:512MB====================================CPUs====================================E$CPUCPUTemperatureCPUFreqSizeImpl.MaskDieAmbient-----------------------------------------------0650MHz512KBUS-IIe3.346C31C=================================IODevices=================================BusFreqBrdTypeMHzSlotNameModel---------------------------------------------------------------------0pci337isa/dma-isadma(dma)0pci337isa/serial-su16550(serial)0pci337isa/serial-su16550(serial)0pci338sound-pci10b9,5451.10b9.5451+0pci3312network-pci108e,1101.1(netw+SUNW,pci-eri0pci3312firewire-pci108e,1102.1001(+0pci3312usb-pci108e,1103.1(usb)0pci3313ide-pci10b9,5229.c3(ide)0pci3319SUNW,m64B(display)ATY,RageXL============================MemoryConfiguration============================SegmentTable:-----------------------------------------------------------------------BaseAddressSizeInterleaveFactorContains-----------------------------------------------------------------------0x0256MB1DIMM00x40000000256MB1DIMM1===============================usbDevices===============================NamePort#-----------------keyboard2mouse32操作系统版本#uname-aSunOSGZMMSC-TEST5.8Generic_108528-29sun4usparcSUNW,Sun-Blade-1003CPU状态检查7文件系统检查metastatmetastat:notfound系统配置1、hosts文件检查#more/etc/hosts127.0.0.1localhost211.139.142.42GZMMSC-TESTloghost2、用户检查#more/etc/passwdroot:x:0:1:Super-User:/:/sbin/shdaemon:x:1:1::/:bin:x:2:2::/usr/bin:sys:x:3:3::/:adm:x:4:4:Admin:/var/adm:lp:x:71:8:LinePrinterAdmin:/usr/spool/lp:uucp:x:5:5:uucpAdmin:/usr/lib/uucp:nuucp:x:9:9:uucpAdmin:/var/spool/uucppublic:/usr/lib/uucp/uucicolisten:x:37:4:NetworkAdmin:/usr/net/nls:nobody:x:60001:60001:Nobody:/:noaccess:x:60002:60002:NoAccessUser:/:nobody4:x:65534:65534:SunOS4.xNobody:/:oracle:x:101:101::/oracle:/usr/bin/cshmmsc:x:102:102::/mmsc:/usr/bin/cshupws:x:103:102::/export/home/upws:/usr/bin/bash3、网络配置检查#hostnameGZMMSC-TEST#ifconfig-alo0:flags=1000849UP,LOOPBACK,RUNNING,MULTICAST,IPv4mtu8232index1inet127.0.0.1netmaskff000000eri0:flags=1000843UP,BROADCAST,RUNNING,MULTICAST,IPv4mtu1500index2inet211.139.142.42netmaskfffffff8broadcast211.139.142.47ether0:3:ba:2c:10:cf#netstat-rnRoutingTable:IPv4DestinationGatewayFlagsRefUseInterface-----------------------------------------------------------------211.139.142.40211.139.142.42U114288eri0224.0.0.0211.139.142.42U10eri0default211.139.142.41UG11268127.0.0.1127.0.0.1UH354043lo0#more/etc/defaultrouter211.139.142.41系统运行检查1、文件系统空间检查#df-kFilesystemkbytesusedavailcapacityMountedon/dev/dsk/c0t0d0s064594382155147423969734%//proc0000%/procfd0000%/dev/fdmnttab0000%/etc/mnttab/dev/dsk/c0t0d0s33098743310189272658011%/varswap7904248879042401%/var/run/dev/dsk/c0t0d0s682607574462123371602755%/dataswap7904248879042401%/tmp/dev/dsk/c0t0d0s151640381107275400512322%/mmsc/dev/dsk/c0t0d0s551640382543570256882850%/oracle/dev/dsk/c0t0d0s720554632809119657092%/export/home2、core文件检查#find/-namecore-print/oracle/core3、内存交换区使用检查#df-k|grepswapswap7896128878961201%/var/runswap7896128878961201%/tmp4、空闲内存检查#toploadaverages:1.73,3.64,4.22GZMMSC-TEST17:38:4677processes:75sleeping,1stopped,1oncpuCPUstates:%idle,%user,%kernel,%iowait,%swapMemory:512Mreal,21.2Mfree,812Mswapinuse,7.6GswapfreePIDUSERNAMETHRPRNCESIZERESSTATETIMEFLTSCPUCOMMAND12897root1600992K744Ksleep0:0604.97%find6844root7359066.1M29.8Msleep2:2502.09%java13066root15801728K1128Kcpu000:0000.24%top6608mmsc65805992K1896Ksleep0:0700.10%mms_billcreator6586mmsc24590137M7016Ksleep0:0100.09%mms_relay6592mmsc46580310M34.2Msleep0:0600.05%mms_server13065mmsc14301024K688Ksleep0:0000.04%sleep6635mmsc14201152K648Ksleep0:0100.02%sysinfo237root65803568K1392Ksleep0:0100.01%vold195root105503488K2080Ksleep0:1800.01%nscd1root1580848K152Ksleep0:1600.01%init67root92303056K1552Ksleep0:0500.00%picld23295oracle11590337M297Msleep0:0100.00%oracle98oracle11590337M299Msleep0:0400.00%oracle23302oracle155012.2M3056Ksleep0:0200.00%tnslsnr5、系统日志检查#vi/var/adm/messages/var/adm/messages2lines,273charactersApr418:12:35GZMMSC-TESTsendmail[28250]:[ID702911mail.crit]Myunqualifiedhostname(GZMMSC-TEST)unknown;sleepingforretryApr418:13:35GZMMSC-TESTsendmail[28250]:[ID702911mail.alert]unabletoqualifymyowndomainname(GZMMSC-TEST)--usingshortname6、root用户的MAIL检查7、主备机时间检查#dateMonApr517:41:05CST2004数据库服务器检查安装路径检查oraclepwd/oracle.cshrc检查#@(#)cshrc1.1189/11/29SMIumask022setenvORACLE_BASE/oraclesetenvORACLE_HOME/oracle/product/8.1.7setenvORACLE_SIDora817setenvLD_LIBRARY_PATH$ORACLE_HOME/lib:/usr/libsetenvTNS_ADMIN$ORACLE_HOME/network/adminsetenvORA_NLS33$ORACLE_HOME/ocommon/nls/admin/datasetenvNLS_LANGSIMPLIFIEDCHINESE_CHINA.ZHS16GBKsetenvDISPLAY211.139.142.42:0.0setpath=(/sbin/usr/sbin/usr/bin/etc/usr/ccs/bin/usr/openwin/bin$ORACLE_HOME/bin/usr/ucb.)setprompt='oracle'sethistory=32setterm=vt100检查服务器上可用数据库oraclecat/var/opt/oracle/oratab##ThisfileisusedbyORACLEutilities.Itiscreatedbyroot.sh#andupdatedbytheDatabaseConfigu
本文标题:一系统环境检查
链接地址:https://www.777doc.com/doc-907649 .html