AIX常用命令知识

AIX 常用命令知识(自整理)

lsvg –o rootvg

# lspv hdisk0

$ lspv hdisk0

PHYSICAL VOLUME: hdisk0 VOLUME GROUP: rootvg PV IDENTIFIER: 007857f365c430ec VG IDENTIFIER 007857f3a79852ee PV STATE: active

STALE PARTITIONS: 0 ALLOCATABLE: yes PP SIZE: 8 megabyte(s) LOGICAL VOLUMES: 8 TOTAL PPs: 516 (4128 megabytes) VG DESCRIPTORS: 2 FREE PPs: 90 (720 megabytes) USED PPs: 426 (3408 megabytes) FREE DISTRIBUTION: 23..38..00..00..29 USED DISTRIBUTION: 81..65..103..103..74

# oslevel

$ oslevel 4.3.2.0

# oslevel –r

ssaxlate –l hdisk3 lsattr –El hdisk0

lsattr -El proc0 lscfg –vl fsc0

lscfg –vl pdisk*

errpt –aj 粘贴错误码

errclear 0 (记得备份)

cp /var/adm/errlog /home/ww/err/errlog errclear 0

lsdev -Cc adapter

prtconf

bosboot –ad /dev/hdisk0

bootlist –m normal –o

bootlist -m normal hdisk0 hdisk1 rmt0 fd

查看安装媒体内容: installp -q -d /dev/cdrom –l du

errpt |more

find / -name core –print

cp file1 file1.030807

ps aux |head

pmcycles -m

sync Command

Updates the i-node table and writes buffered files to the hard disk

#sync;sync;sync

crontab –l 查看 crontab –e 修改 (vi) crontab –r 删除

有系统的,也可以编辑自己需要的 有时系统也自动生成,如电源故障报警系统生成的, 改正错误后应该删掉。

minute hour day_of_month month weekday command

These fields accept the following values: minute 0 through 59 hour 0 through 23

day_of_month 1 through 31 month 1 through 12

weekday 0 through 6 for Sunday through Saturday command a shell c

>>闂傚倷娴囬褏鎹㈤幒妤€纾婚柣鎰梿濞差亜鍐€妞ゆ劧缍嗗ḿ鐔兼⒑绾懏褰х紒鐘冲灩缁牓宕掗悙瀵稿帾婵犵數濮寸换妯侯瀶椤曗偓閺岋絾鎯旈娑橆伓<<
12@gma联系客服:779662525#qq.com(#替换为@) 苏ICP备20003344号-4