欢迎来到天天文库
浏览记录
ID:10671815
大小:191.50 KB
页数:28页
时间:2018-07-07
《hp系统维护命令大全》由会员上传分享,免费在线阅读,更多相关内容在行业资料-天天文库。
1、下面是查看HP小型机的信息的命令集:1、机型#model9000/800/L2000-44注意:其中44是指每个cpu有440MHZ。2、cpu个数#topCPULOADUSERNICESYSIDLEBLOCKSWAITINTRSSYS00.020.0%0.0%0.%0.0%0.0%0.0%0.0%10.000.6%0.0%0.%0.0%0.0%0.0%0.0%20.002.%97.0%0.0%0.0%0.0%0.0%30.000.4%0.0%0.0%99.6%0.0%0.0%0.0%0.0%同时显示内存SWAPINFO也可显示内存3、硬盘的大小信息#diskinfo/dev/
2、rdsk/c1t0d0SCSIdescribeofc1t0d0:vendor:SEAGATEproductid:ST39204LCtype:directaccesssize:8891556Kbytesbytespersector:5124、硬盘的个数#ioscan-funCdiskdisk00/0/1/1.0.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c1t0d0/dev/rdsk/c1t0d0disk10/0/1/1.2.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c1t2d0/dev/
3、rdsk/c1t2d0disk20/0/2/0.0.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c2t0d0/dev/rdsk/c2t0d0disk30/0/2/0.2.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c2t2d0/dev/rdsk/c2t2d0disk40/0/2/1.2.0sdiskCLAIMEDDEVICEHPDVD-ROM305/dev/dsk/c3t2d0/dev/rdsk/c3t2d0disk50/4/0/0.8.0sdiskCLAIMEDDEVICESEAGATES
4、T39236LC/dev/dsk/c4t8d0/dev/rdsk/c4t8d05、查看操作系统版本和license#uname-aHP-UXscp1B.11.00U9000/8001124961527unlimited-userlicense6、如何查看内存swapinfocpu同样可以显示内存#dmesgMemoryInformation:physicalpagesize=4096bytes,logicalpagesize=4096bytesPhysical:2097152Kbytes,lockable:1866308Kbytes,available:1902728Kbyts
5、7、如何查看文件系统#bdfFilesystemkbytesusedavail%usedMountedon/dev/vg00/lvol31025617247908982653%//dev/vg00/lvol1700691354825951396%/stand/dev/vg00/lvol82097152436927155719522%/var/dev/vg00/lvol7104857648152453163148%/usr/dev/vg00/lvol62552531482295790%/tmp/dev/vg01/lv_tellin205155312715217192457%/te
6、llin/dev/vg00/lvol520971528178318894624%/opt/dev/vg01/lv_informix2051553413823143257422%/opt/informix/dev/vg00/lvol452428812294903750%/home存在两个文件中:/etc/fstab/etc/mnttab8、查看卷组、卷组所包括的逻辑卷、以及该卷组所包括的物理磁盘#vgdisplay-vvg00则结果都是按照逻辑卷组、逻辑卷、物理磁盘的顺序全部显示。9、查看卷组、逻辑卷的位置#cd/dev/在该目录下面有所有的逻辑卷组,再进入某个逻辑卷组,则看到它
7、所有的所有逻辑卷了。10、激活/去激活卷组#vgchange-ay卷组名(激活)#vgchange-an卷组名(去激活)11、创建卷组、逻辑卷、文件系统的一系列命令格式化#pvcreate/dev/rdsk/c0t1d0(这里假设有块盘的设备文件名是c0t1d0)创建卷组名#mkdir/dev/vglock创建卷组的设备文件名字#mknod/dev/vglock/groupc640x010000(这里注意group不能重复)创建卷组#vgcreate/dev/vglock/dev/dsk/c
此文档下载收益归作者所有