Aix Command
Aix Command
z
xlcpp.util.12.1.0.aix.base.Z
root@sg01p-knebs01:/u02/soft/AIX/vactest>uncompress xlcpp.util.12.1.0.aix.base.Z
root@sg01p-knebs01:/u02/soft/AIX/vactest>inutoc
root@sg01p-knebs01:/u02/soft/AIX/vactest>smit installp
topas_nmon --m
smitty fs
smitty chuser
smitty mktcpip
smitty mkuser
smitty lvm
smitty devices
smitty cron
------------------------------
bffcreate -ld <dir> shows info about the packages in a dir
(I:install, U:updatte package)
bffcreate -c -d /bb1 it will change the bff name from U#### to
normal fileset name in bb1 !!!overwrites original bff!!!
------------------------------
------------------------------
------------------------------
geninstall -I "-acgXY" -p -d /home/bb all preview install for all files in given
location (using installp format)
geninstall -I "-acgXY" -d . bos.rte.install install a fileset from current (.)
location (using installp format)
------------------------------
------------------------------
instfix -i|grep ML (instfix -i|grep TL) shows whether all filesets are installed
instfix -i | grep SP
instfix -icqk 5300-05_AIX_ML| grep ":-:" shows missing software levels
instfix -ik IY24043 shows if a fix (APAR) is installed on
the system (instfix -ivk ... <--verbose mode)
instfix -k IY73748 -d /dev/cd0 install APAR iY733748 from /dev/cd0
------------------------------
------------------------------
------------------------------
restore -Tqvf EMCpower_install show which files will be changed by the fileset
/usr/lpp/PackageName here are the previous version of the updates
which are in applied state (not commited yet)
inutoc <path> creates a .toc file in the given path
ldd /root/gzip lists the path names of all dependencies (lists
dynamic dependencies)
which_fileset <command> searches the /usr/lpp/bos/AIX_file_list file
for a specified file name or command
/usr/lib/instl/lppmgr -d /nim/5304 -rub the directory will be checked and all
duplicate filesets will be removed
(-r: remove, -u:check update filesets, -b:
check base level filesets)
multibos
http://www.ibmsystemsmag.com/aix/aprilmay08/tipstechniques/20226p1.aspx
---------------------------------------------------------------------
INSTFIX CORRECTION:
1. instfix -i | grep ML
All filesets for 5.3.0.0_AIX_ML were found.
All filesets for 5300-01_AIX_ML were found.
All filesets for 5300-04_AIX_ML were found.
Not all filesets for 5300-05_AIX_ML were found.
...
2. instfix -vick 5300-05_AIX_ML | grep :-:
(instfix -icqk 5300-05_AIX_ML | grep ":-:" <--this
command was used in the NIM redbook)
lppchk -v shows problems with a fileset and you don't want to remove it:
1. save ODM
tar -cvf /tmp/odm.etc.tar /etc/objrepos
tar -cvf /tmp/odm.usr.lib.tar /usr/lib/objrepos
2. check lpp_id
odmget -q name=devices.common.IBM.iscsi.rte lpp
output will show lpp_id:
...
lpp_id = 355