AIX(Advanced Interactive eXecutive)是 IBM 開發(fā)的一套 UNIX 操作系統(tǒng)。它符合 Open group 的 UNIX 98 行業(yè)標(biāo)準(zhǔn)(The Open Group UNIX 98 Base Brand),通過全面集成對(duì) 32 - 位和 64 - 位應(yīng)用的并行運(yùn)行支持,為這些應(yīng)用提供了全面的可擴(kuò)展性。它可以在所有的 IBM ~ p 系列和 IBM RS/6000 工作站、服務(wù)器和大型并行超級(jí)計(jì)算機(jī)上運(yùn)行。
$ cd /u02/app/oracle/Middleware/user_projects/epmsystem1
$ ./bin/opmnctl status
$ ./bin/opmnctl stopall
$ ./bin/opmnctl startall
$ ./bin/configtool.sh -console
$ find /u02/app/oracle -name 'inventory.xml'
$ grep -nr 'EpmSystem_' /u02/app/oracle
$ find /u02/app/oracle -type d -name 'ContentsXML'
$ cd /u02/app/oracle/Middleware/ohs/inventory/ContentsXML
查看端口號(hào)對(duì)應(yīng)的進(jìn)程
$ netstat -Aan | grep 1423
f1000e00014503b8 tcp 0 0 *.1423 *.* LISTEN
$ rmsock f1000e00014503b8 tcpcb
The socket 0xf1000e0001450008 is being held by proccess 20578416 (ESSBASE).
$ ps -ef | grep 20578416
root 20578416 19267676 0 Oct 16 - 501:15 /u02/app/oracle/Middleware/EPMSystem11R1/products/Essbase/EssbaseServer/bin/ESSBASE ********** 1423 -agentsecureport 6423 -pingport 32772 -portRangeBegin 32768 -portRangeEnd 33768 -b
啟動(dòng)端口
$ grep 1423 /etc/services
essbase 1423/tcp # Essbase Arbor Software
essbase 1423/udp # Essbase Arbor Software
$ refresh -s inetd
Aix 系統(tǒng)沒有防火墻的概念,但有 IPSEC
$ lslpp -l | grep -I ipsec
# 啟動(dòng)/關(guān)閉 ip security 服務(wù)
$ smit ipsec4
$ rmdev -dl ipsec_v4
查看系統(tǒng)版本
$ uname -a
AIX epm-sys-data 1 6 0005224C4C00
查看系統(tǒng)信息
# getconf BOOT_DEVICE
hdisk0
# getconf MODEL_CODE
134217804
# getconf MACHINE_ARCHITECTURE
chrp
# getconf KERNEL_BITMODE
64
# getconf REAL_MEMORY
20971520
查看內(nèi)存
$ ipcs -am
$ vmstat -v
$ lsattr -El mem0
$ lparstat -i |egrep -i "Online|Maximum" |grep -i Memory
$ vi checkmem.sh
#!/usr/bin/ksh
#memory calculator
um=`svmon -G | head -2|tail -1| awk {'print $3'}`
um=`expr $um / 256`
tm=`lsattr -El sys0 -a realmem | awk {'print $2'}`
tm=`expr $tm / 1000`
fm=`expr $tm - $um`
echo "\n\n-----------------------";
echo "System : (`hostname`)";
echo "-----------------------\n\n";
echo "\n\n-----------------------";
echo " Users Login information \n";
for ENTRY in `finger | cut -d " " -f1 | grep -v Login | uniq`
do
echo "`finger -l $ENTRY | head -1 | cut -d \" \" -f14` ---> `finger -l $ENTRY |
awk '{ print $2 }' | tail -2 | head -1`";
#finger -l $ENTRY | awk '{ print $2 }' | tail -2 | head -1;
done
echo "-----------------------\n";
echo "\n----------------------";
echo "Memory Information\n\n";
echo "total memory = $tm MB"
echo "free memory = $fm MB"
echo "used memory = $um MB"
echo "\n\n-----------------------\n”;
$ chmod +x checkmem.sh
$ ./checkmem.sh
查看 cpu
$ lsattr -E -l proc0 | grep "Processor Speed"
frequency 1452000000 Processor Speed False
$ pmcycles
This machine runs at 1452 MHz
磁盤基本使用情況
$ df -g
$ df -ksg /tmp
$ df -vkg /tmp
參考
- How to get free memory on AIX?
- How do you check filesystem diskspace on AIX 5.2
- How to determine if AIX uses a 32-bit kernel or 64-bit kernel
- In Unix, how can I display information about the operating system?
- Howto find out AIX UNIX CPU information, clock speed
- 查找 AIX 系統(tǒng)開啟端口號(hào)對(duì)應(yīng)服務(wù)程序
- How do I determine if FIrewall is on in AIX
- IPsec 限制 某幾個(gè) IP 地址 訪問 (AIX)
- Cannot start Essbase: warning: Invalid or Obsolete Configuration