lsvg –o rootvg # lspv hdisk0 # oslevel # 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 command mount –rv cdrfs /dev/cd0 /mnt lslpp –l /unix ifconfig –a netstat –in fget_config -l dar0 chmod 755 lee #ls –lu 查看某一文件最后一次被访问的时间 #bootinfo –b 查看上次引导设备 vmstat svmon ps tprof iostat netpmon filemon 检查物理内存:(RAM >= 512 MB) # lsattr -El sys0 -a realmem 用instfix 命令查看当前的ML: $ instfix -i | grep ML # svmon -Pau 10 | more 查看某个patch是否安装了: # instfix -i | grep IY24568 All filesets for IY25282 were found 表示已经有这个patch了 可使用下述命令使系统自动分配PVID: # chdev -l hdisk# -a pv=yes 用#lsfs -q FSNAME看bf项为true则该FS为large型。 syncvg -v rootvg ps aux |head -10 instfix -ciqk 5100-04_AIX_ML | grep ":-:" 用ls -altr列在最后面的就是最新被touch过的文件 如果在一个有很多目录结构下的fs里面想找出到底是谁占用空间最大 就用du -k|sort –rn |
转载于:https://blog.51cto.com/limy123/75576