欢迎来到天天文库
浏览记录
ID:55631504
大小:98.50 KB
页数:32页
时间:2020-05-21
《HP-ux系统命令大全.doc》由会员上传分享,免费在线阅读,更多相关内容在教育资源-天天文库。
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%3、硬盘的大小信息#diskinfo/dev/rdsk/c1t0d0SCSIdescribeofc1t0d0:v
2、endor:SEAGATEproductid:ST39204LCtype:directaccesssize:Kbytesbytespersector:5124、硬盘的个数#ioscan-funCdiskdisk00/0/1/1.0.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c1t0d0/dev/rdsk/c1t0d0disk10/0/1/1.2.0sdiskCLAIMEDDEVICESEAGATEST39204LC/dev/dsk/c1t2d0/dev/rdsk/c1t2d0disk20/0/2/0.0.0sdiskCLAIMEDDEVICESEA
3、GATEST39204LC/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.0sdiskCLAIMEDDEVICESEAGATEST39236LC/dev/dsk/c4t8d0/dev/rdsk/c4t8d05、查看操作系统版本和licens
4、e#uname-aHP-UXscp1B.11.00U9000/800unlimited-userlicense6、如何查看内存#dmesgMemoryInformation:physicalpagesize=4096bytes,logicalpagesize=4096bytesPhysical:Kbytes,lockable:Kbytes,available:Kbyts7、如何查看文件系统#bdfFilesystemkbytesusedavail%usedMountedon/dev/vg00/lvol3247903%//dev/vg00/lvol1354826%/stand/dev/vg00/
5、lvol822%/var/dev/vg00/lvol748%/usr/dev/vg00/lvol61480%/tmp/dev/vg01/lv_tellin7%/tellin/dev/vg00/lvol5817834%/opt/dev/vg01/lv_informix22%/opt/informix/dev/vg00/lvol412290%/home存在两个文件中:/etc/fstab/etc/mnttab8、查看卷组、卷组所包括的逻辑卷、以及该卷组所包括的物理磁盘#vgdisplay-vvg00则结果都是按照逻辑卷组、逻辑卷、物理磁盘的顺序全部显示。9、查看卷组、逻辑卷的位置#cd/dev/在
6、该目录下面有所有的逻辑卷组,再进入某个逻辑卷组,则看到它所有的所有逻辑卷了。10、激活/去激活卷组#vgchange-ay卷组名(激活)#vgchange-an卷组名(去激活)11、创建卷组、逻辑卷、文件系统的一系列命令格式化#pvcreate/dev/rdsk/c0t1d0(这里假设有块盘的设备文件名是c0t1d0)创建卷组名#mkdir/dev/vglock创建卷组的设备文件名字#mknod/dev/vglock/groupc640x(这里注意group不能重复)创建卷组#vgcreate/dev/vglock/dev/dsk/c0t1d0(将物理磁盘c0t1d0加给该卷组)激活卷组#vg
7、change-ay/dev/vglock创建逻辑卷lv_informix#lvcreate-nlv_informix/dev/vglock给逻辑卷增加大小#lvextend-l50/dev/vglock/lv_informix(单位是页,页的大小再创建卷组时已经确定,不可以再更改,一般缺省为4M,所以是200M)或者#lvextend-L200/dev/vglock/lv_informix(这是带
此文档下载收益归作者所有