Using snap
1. Enter the following command to gather all system configuration information:
snap -a
The output of this command is written to the /tmp/ibmsupt directory.
Using Performacne Command
lsps -a view swap space
vmstat - capture virtual memory usage
iostat - capture disk io stats
sar -c -o sar.dat 5 9600 > sar.txt
/usr/samples/kernel/vmtune
ipcs - Reports interprocess communication facility status
Must install performance Toolbox to use these tools
svmon perfagent.tools pkg
ps avx
ps auxww
CHECK CPU SPEED
$> cat checkspeed.sh
typeset -i10 mhz
lscfg -vp | grep "PS+"|tail -1|awk -F = '{print $2}'|awk -F , '{print $1}'|read freq
typeset -i16 freq=16#$freq
mhz=freq/1000000
echo $mhz
$>
errpt -s mmddhhmmyy
or
errpt # defaults to the beginning
Network Troubleshooting
refresh -s inetd to reread /etc/inetd.conf
displays/modifies network tunables
/usr/sbin/no -a
in the /etc/netsvc.conf there is an entry that looks like this:
hosts = local, bind
various network commands
$ lsattr -El en0
$ entstat -dt en0
$ iptrace -i en0 /tmp/ipt
$ ipreport -rns /tmp/ipt >/tmp/ipr
AIX OS SW
$ lslpp -l - list all installed software
$ instfix -i shows the list of applied patches
RPM for AIX, with several RPMS of popular software, including GNU stuff works on 4.3.3
http://www-1.ibm.com/servers/aix/products/aixos/linux/download.html
AIX FAQ
http://www.faqs.org/faqs/aix-faq/part1/preamble.html
I use the 'bootinfo -K' command to determine what the running kernel is. I use the 'bootinfo -y' command to determine whether the h/w is 64-bit capable.
The machines with 64-bit processors include: 701X-S70, S7A, S80 7025-H80, F80 7026-H70, H80, M80 7043-260 7044-170, 270 pSeries 680 (S85) pSeries 640 (B80) pSeries 660 (6H1, 6M1) pSeries 620 (6F1) pSeries 690 pSeries 610 (6C1, 6E1)
Not with AIX 4.3.3. AIX 4.3.3 is a 32-bit kernel. You have to move to AIX 5.1 to get a 64-bit kernel. See the /usr/lpp/bos/README file on an AIX 5.1 system for the steps to switch between the 64-bit kernel and the 32-bit kernels.
You are running the 32-bit kernel on 64-bit h/w, which is a valid config. You can switch to the AIX 5.1 64-bit kernel by following the steps in the /usr/lpp/bos/README file (search for the place where it talks about the 'bosboot' command). Here are the combinations:
user-space 32 64 32 64 32 64 32 64
kernel 32 32 64 64 32 32 64 64
h/w 32 32 32 32 64 64 64 64
---------- -- -- -- -- -- -- -- --
valid y n n n y y1 y2 y2
Note1: Requires AIX 4.3 and the bos.64bit fileset
Note2: Requires AIX 5.1 or later
user-space 32 64 32 64 32 64 32 64
kernel 32 32 64 64 32 32 64 64
h/w 32 32 32 32 64 64 64 64
---------- -- -- -- -- -- -- -- --
valid y n n n y y1 y2 y2
Note1: Requires AIX 4.3 and the bos.64bit fileset
Note2: Requires AIX 5.1 or later
lscfg -vlfcs1 to get mcdata adapter serial #
Using GNU on AIX
GNU install
gnu.gzip-1.2.4.1.exe
gnu.make-3.79.1.0.exe
gnu.gcc.g++-2.95.3.0.exe
requires gnu.gcc-2.95.3.0.exe
gnu.tar-1.13.0.0.exe
requires gnu.gettext-0.10.35.0.exe
mysql-3.23.35.0.exe
requires mysql.client-3.23.35.0.exe
requires gnu.readline-4.1.0.1.exe
requires zlib-1.1.3.2.exe
install theGuard for NEXUS
/usr/local/realTech/theGuard/bin/tGAgentd stop
cd /usr/local/realTech/theGuard
./uninstall.sh
cd /tmp
tar xvf /usr/local/common/theguard/theguard.tar
cd theguard
./install_agent.sh AIX-4.3.3.0 --shared
/usr/local/realTech/theGuard/bin/tGAgentd start
BIG BROTHER INFO
e50243@us6adm01/usr/local/bb/bb/etc>vi bbwarnrules.cfg
e50243@us6adm01/usr/local/bb/bb/bin>./bb us6adm01 "status sap31a.dbchk green cleared"
install theGuard for NEXUS
install theGuard for NEXUS