UNIX系统 HP小型机的信息命令集
下面是关于HP小型机的查看基本属性的命令 1、机型 #model 9000/800/L2000-44 注意:其中44是指每个cpu有440MHZ。
2、查看操作系统版本和license #uname -a HP-UX scp1 B.11.00 U 9000/800 1124961527 unlimited-user license
3、硬盘的大小信息 #diskinfo /dev/rdsk/c1t0d0 SCSI describe of c1t0d0: vendor: SEAGATE product id: ST39204LC type: direct access size: 8891556 Kbytes bytes per sector: 512
4、硬盘的个数 #ioscan -funC disk disk 0 0/0/1/1.0.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC /dev/dsk/c1t0d0 /dev/rdsk/c1t0d0 disk 1 0/0/1/1.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC /dev/dsk/c1t2d0 /dev/rdsk/c1t2d0 disk 2 0/0/2/0.0.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC /dev/dsk/c2t0d0 /dev/rdsk/c2t0d0 disk 3 0/0/2/0.2.0 sdisk CLAIMED DEVICE SEAGATE ST39204LC /dev/dsk/c2t2d0 /dev/rdsk/c2t2d0 disk 4 0/0/2/1.2.0 sdisk CLAIMED DEVICE HP DVD-ROM 305 /dev/dsk/c3t2d0 /dev/rdsk/c3t2d0 disk 5 0/4/0/0.8.0 sdisk CLAIMED DEVICE SEAGATE ST39236LC /dev/dsk/c4t8d0 /dev/rdsk/c4t8d0
5、cpu个数 #top CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 0.02 0.0% 0.0% 0.% 0.0% 0.0% 0.0% 0.0% 1 0.00 0.6% 0.0% 0.% 0.0% 0.0% 0.0% 0.0% 2 0.00 2.% 97.0% 0.0% 0.0% 0.0% 0.0% 3 0.00 0.4% 0.0% 0.0% 99.6% 0.0% 0.0% 0.0% 0.0%
6、如何查看内存 #dmesg Memory Information: physical page size = 4096 bytes, logical page size = 4096 bytes Physical: 2097152 Kbytes, lockable: 1866308 Kbytes, available: 1902728 Kbyts
7、如何查看文件系统 #bdf Filesystem kbytes used avail %used Mounted on /dev/vg00/lvol3 1025617 24790 898265 3% / /dev/vg00/lvol1 700691 35482 595139 6% /stand /dev/vg00/lvol8 2097152 436927 1557195 22% /var /dev/vg00/lvol7 1048576 481524 531631 48% /usr /dev/vg00/lvol6 255253 148 229579 0% /tmp /dev/vg01/lv_tellin 2051553 127152 1719245 7% /tellin /dev/vg00/lvol5 2097152 81783 1889462 4% /opt /dev/vg01/lv_informix 2051553 413823 1432574 22% /opt/informix /dev/vg00/lvol4 524288 1229 490375 0% /home
存在两个文件中:/etc/fstab /etc/mnttab
8、查看卷组、卷组所包括的逻辑卷、以及该卷组所包括的物理磁盘 #vgdisplay -v vg00 则结果都是按照逻辑卷组、逻辑卷、物理磁盘的顺序全部显示。
9、查看卷组、逻辑卷的位置 #cd /dev/ 在该目录下面有所有的逻辑卷组,再进入某个逻辑卷组,则看到它所有的所有 逻辑卷了。
|