常用下面的命令来查看和修改该文件
lsitab Lists records in the /etc/inittab file.
mkitab Adds records to the /etc/inittab file.
rmitab Removes records from the /etc/inittab file.
-bash-2.05b$ lsdev -C
sys0 Available 00-00 System Object
sysplanar0 Available 00-00 System Planar
pci0 Available 00-400000000110 PCI Bus
pci1 Available 00-400000000111 PCI Bus
pci2 Available 00-400000000112 PCI Bus
5.lsattr
查看系统所有内核信息
lsattr -EH -l sys0
sys0是内核
-bash-2.05b$ lsattr -EH -l sys0
attribute value description
user_settable
keylock normal State of system keylock at boot time
False
maxbuf 20 Maximum number of pages in block I/O BUFFER
CACHE True
maxmbuf 0 Maximum Kbytes of real memory allowed for M
BUFS True
maxuproc 128 Maximum number of PROCESSES allowed per use
r True
autorestart false Automatically REBOOT system after a crash
True
iostat false Continuously maintain DISK I/O history
True
realmem 4194304 Amount of usable physical memory in Kbytes
False
查看内存使用情况
bash-2.05a$ lsattr -EH -l sys0 -a realmem
attribute value description user_settable
realmem 8388608 Amount of usable physical memory in Kbytes False
6.lscfg -v
所以设备配置信息
-bash-2.05b$ lscfg -v
INSTALLED RESOURCE LIST WITH VPD
The following resources are installed on your machine.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
sys0 00-00 System Object
sysplanar0 00-00 System Planar
mem0 00-00 Memory
proc0 00-00 Processor
sioka0 01-K1-00 Keyboard Adapter
kbd0 01-K1-00-00 PS/2 keyboard
sioma0 01-K1-01 Mouse Adapter
mouse0 01-K1-01-00 3 button mouse
sa0 01-S1 Standard I/O Serial Port
Device Specific.(YL)........U0.1-P2/S1
sa1 01-S2 Standard I/O Serial Port
Device Specific.(YL)........U0.1-P2/S2
sa2 01-S3 Standard I/O Serial Port
Device Specific.(YL)........U0.1-P2/S3
sa3 01-S4 Standard I/O Serial Port
Device Specific.(YL)........U0.1-P2/S4
pci1 00-400000000111 PCI Bus
Device Specific.(YL)........U0.1-P2
pci3 1Y-10 PCI Bus
Device Specific.(YL)........U0.1-P2
scsi0 1Z-08 Wide/Ultra-3 SCSI I/O Controller
Device Specific.(YL)........U0.1-P2/Z1
cd0 1Z-08-00-1,0 16 Bit LVD SCSI DVD-ROM Drive (4700
MB)
Manufacturer................IBM
Machine Type and Model......DROM00203
ROS Level and ID............7R43
Device Specific.(Z0)........058002028F000030
Part Number.................53P1834
EC Level....................H63162
FRU Number..................53P2799
hdisk0 1Z-08-00-8,0 16 Bit LVD SCSI Disk Drive (146800
MB)
Manufacturer................IBM
Machine Type and Model......IC35L146UCDY10-0
FRU Number..................00P3835
ROS Level and ID............53323846
Serial Number...............ECVT4UZC
EC Level....................H32224
Part Number.................08K0273
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........07N4972
Device Specific.(Z2)........0068
Device Specific.(Z3)........04064
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........
hdisk1 1Z-08-00-9,0 16 Bit LVD SCSI Disk Drive (146800
MB)
Manufacturer................IBM
Machine Type and Model......IC35L146UCDY10-0
FRU Number..................00P3835
ROS Level and ID............53323846
Serial Number...............ECVTXWDC
EC Level....................H32224
Part Number.................08K0273
Device Specific.(Z0)........000003029F00013A
Device Specific.(Z1)........07N4972
Device Specific.(Z2)........0068
Device Specific.(Z3)........04065
Device Specific.(Z4)........0001
Device Specific.(Z5)........22
Device Specific.(Z6)........
-bash-2.05b$ lsvg -p datavg --查看物理磁盘
datavg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk2 active 546 333 19..00..96..109..1
09
hdisk3 active 546 334 07..00..109..109..
109
||
^^
柱面分布
中间部分性
能较好
早期的小硬
盘外层较好
lsvg -o --只显示已经varyonvg(激活的)卷组
-bash-2.05b$ lsvg datavg --查看卷组的细节
VOLUME GROUP: datavg VG IDENTIFIER: 0052db8d00004c0000000
0fe2103f6b6
VG STATE: active PP SIZE: 256 megabyte(s) --物理
分区的大小
VG PERMISSION: read/write TOTAL PPs: 1092 (279552 megabyte
s)
MAX LVs: 256 FREE PPs: 667 (170752 megabytes
) --空闲空间
LVs: 33 USED PPs: 425 (108800 megabytes
)
OPEN LVs: 22 QUORUM: 1 --没有使用
TOTAL PVs: 2 VG DESCRIPTORS: 3
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 2 AUTO ON: yes
MAX PPs per PV: 1016 MAX PVs: 32
LTG size: 128 kilobyte(s) AUTO SYNC: no
HOT SPARE: no
7.lslv lvname
查看逻辑卷
lslv -l
-bash-2.05b$ lslv -l rsino_indx02
rsino_indx02:N/A
PV COPIES IN BAND DISTRIBUTION
hdisk3 016:000:000 0% 016:000:000:000:000
||
^^
16个pp
查看系统内核
$ bootinfo -y [reports the hardware type]
$ bootinfo -K [reports the kernel type]
另一种方法
$ ls -l /usr/lib/boot
lrwxrwxrwx 1 root system 21 Aug 02 2004 unix -> /usr/lib/boot
/unix_mp --link的是mp
-r-xr-xr-x 1 root system 8386253 Oct 02 2003 unix_64
-r-xr-xr-x 1 root system 8070143 Oct 02 2003 unix_mp
unix_mp是32位多CPU
unix_64是64位多CPU
unix_up是32位单CPU
64位的软件也可以用在32系统
1.包的定义
lpp(bos)产品集合=>文件集的集合=>文件集=>后缀
|... |...
bos=>基本的操作系统集
后缀:
adt ==== 应用开发包
com
data ==== /usr/share中的文件集
dev
diag ==== 诊断文件集
fnt ==== 字体集
info
help
loc
mp
msg
rte
smit
ucode
up
6.rootvg的恢复
进入安装维护模式
选择3.start Maintenance Mode for System Recovery
=>install from a system Backup
=>tape/scsi/4mm/2GB /dev/rmt0
=>Change/Show Installation Settings and Install
=>Disk where you want to install
需要预先指定启动设备列表
bootlist -om normal 可以显示