System and Software
Installation Commands
# /usr/bin/tcbck To
check if TCB is enabled on your system
# smit alog_show To
view logs in the /var/adm/ras directory
# alog –L To
view the logs defined in the alog database
# alog -f path of
bosinstlog -o To
view the content of log file
# alog -o -t boot To
view the boot log
# last Shows
the previous login and logoffs records from /var/adm/wtmp
# last root console To
find when root user login and logoff from console
# last shutdown To
determine when system was last shutdown
#
/usr/lib/acct/fwtmp </var/adm/wtmp |grep run-level display a history of previous run levels using
# telinit M To
change run level
# oslevel To
see the current maintenance level of your system
# oslevel –r To
see the current maintenance level of your system
# oslevel –s To
see the current SP level of your system
# oslevel –sq To
see the all SP and maintenance level of
your system
# oslevel –g ML To
see the greater ML of current ML
# oslevel –rl
5300-07 To
see the ML which are less that specified
# cfgmgr –f Configure
the devices as a phase 1
# cfgmgr Configure
the devices as a phase 2
# cfgmgr –p Configure
the devices as a phase 3
# cfgmgr -i
/usr/sys/inst.images To
find the installation medium to install drivers
# cfgmgr -l scsi0 Specifies
the named device to configure along with its children
# bootinfo -s
hdiskx It
gives the size of the disk
# bootinfo -y System
Hardware bit
# bootinfo -K System
kernel bit
# bootinfo -p System
architecture
# bootinfo -m Shows
the memory
# shutdown –Fr To
perform a fast shutdown and restart the system
# installp -avX
-d/usr/sys/inst.images bos.net To
install all filesets within the bos.net
# installp -acpX
-d/usr/sys/inst.images bos.net To
preview an install of all filesets within the bos.net
# cat
/var/adm/sw/installp.summary A
record of the installp output can be found
# installp -cgX all To
commit all updates
# installp -rBfX
./reject.list To
reject all applied updates listed in the file
# installp -ugp -V2
bos.net.ipsec.rte To
preview a remove of bos.net.ipsec.rte and its dependents
# installp –C To
do a cleanup after a installation failed
# installp -L -d
/dev/cd0 To
list the software that is on your CD-ROM
# geninstall
-d/dev/cd0 R:cdrecord R:mtools To
install the cdrecord and mtools open source RPM packages
smitty
install_latest. To
install software products
smitty
install_commit To
commit an applied software update
smitty
install_reject To
reject a service update that you have installed
smitty
install_remove Remove
installed and committed software
smitty
install_software To
install open source software
smitty
maintain_software To
clean up after failed installation
smitty easy_install To
install software bundle created
No comments:
Post a Comment