6 Ağustos 2009 Perşembe

aix komutları

smit

bos level;
oslevel
5 version --migration
3 Release
0 Modification -- smith update_all
0 Fix

bos maintenance level
oslevel -r

smit install -- software installation and maintanance
smit install_update
smit install_latest
#geninstall -d /usr..
smit lis_installed
lslpp
-L lists the installed software
-h shows the history of a software product
-p display request information for the fileset
-d dsiplays dependent information for the fileset
-f displays the names of the files added to the system during installation of the fileset
-w lists the fileset that owns a file
-b list software for the specified bundle name
lislpp -l "bos.*"
smit compare_report
smit service_software -software service management(SUMA)
suma
smit maintain_software
gencopy - d /dev/cd0 -t /usr/sys/inst.image all -- copy all software to hard disk for future installation

installs a fix;
#instfix -k IY58143 -d /dev/cd0
Search for a fix;
#instfix -ik IY58143
search for a fix keyword;
instfix -s SCSI -d /dev/cd0
list bos maintance level
instfix -i | grep ML
list missing
#instfix -ciqk 5300-01_AIX_ML | grep :-:
-T displays entire table of contens
-s search for and display table of contents entries containing the string
-k install fileset for a keyword or fix
#instfix -k IY58143 -d /dev/cd0
-f
-i
-a
-d
-c
smit change_documentation_services

accessing the web-based system manager
standalone mode;
#wsm
client-server mode;
#wsm -host
applet mode;
http:///wsm.html
lslpp -h sysmgt.websm.framework
smit web_based_system_manager

HMC Management
#bootlist -m service cd0 hdisk0 hdisk1
#bootinfo -p -architecture
#bootinfo -y -view addresing
#alog -o -t boot - view the boot information
#smit alog

who /var/adm/wtmp
who /var/adm/wtmp | grep "May 17"
/etc/inittab id
runlevel
action
respawn
wait
once
sysinit
off
command
#telinit - reread /etc/inittab file
#shutdown -m a single user mode terminating all logins

System resource controller syntax
list src status
#lssrc -g spooler
start a subsystem
#startsrc -s lpd
refresh a subsystem
# refresh -s lpd
stop a subsystem
#stopsrc -s lpd

Stopping Processes
#ps -ef
not started by srcmstr;
#kill 9345
by SRC;
#stopsrc -s qdaemon

System Shutdown
#shutdown +2 - 2saat sonra kapanacak
-d
-F hızlı kapatır
-h halt o.s.
-i
-k
-m single user mode
-r restart
-t mmddHHMM
-l

Manage the System Environment
#smit system

Manage System Language Environment
#smit mlang

Listing of /deb Directory
#ls -l /dev
cd0
fd0
hd, lv logical volume
hdisk physical volume

List All Support Device
PdDv(Predefined Devices)
#lsdev -P -H
#lsdev -Pc tapes

List All Define Devices
CuDv (Customized Devices)
#lsdev -C -H
#lsattr -EH -l sys0
#lsattr -E -l sys0 -a realmem

Device States
mkdev -l or cfgmgr

SMIT Devices Menu
#smit devices

important aix commands
lsdev -Cc adapter --list all adapters
lsslot -c pci --all slots
lscfg -vl xyz
--------------------
getlvcb -TA hd2
lspv
cfgmgr
lsdev -C -c disk
lspv hdisk1
lspv -l hdisk1
lspv -p hdisk1
lspv -M hdisk1

lsvg
lsvg -o
lsvg -l rootvg
lsvg -p rootvg
lsvg | lsvg -il
lslv newlv
--------------
mpstat cpu bilgileri
mpstat |tail +2 |wc -l

Hiç yorum yok:

Yorum Gönder