Some commands on AIX

来源:互联网 发布:巫师3低配置优化补丁 编辑:程序博客网 时间:2024/04/29 19:44
 1  Some commands on AIX, just list here as a reminder.
2
3 I hope this will be useful for my latter work.
4
5 1.
6 $du -ks
7 $du -ks *
8 $df -k
9 $df -m
10
11 2.
12 $ls -F
13
14 3.
15 $su - root
16 $su - oracle
17
18 4. cics commands
19 a) cics client and cics transaction gateway(ctg)
20 ctg.ini is in /opt/IBM/cicstg/bin
21 ctgserver.jar and ctgclient.jar is in /opt/IBM/cicstg/classes
22 start cics client listener
23 $cicscli -S=$REGION_NAME
24 $cicscli -S=cmsvc1
25
26 restart cics client daemo
27 $cicscli -J
28
29 list current cics client connections
30 $cicscli -l
31
32 b)cics server
33 check if cics server is active.
34 $lssrc -a | grep cics
35
36 start a region
37 $cicscp -v start region $REGION_NAME
38
39 see log
40 $cicstail -r $REGION_NAME
41
42 where is cics log???
43
44 5. oracle
45 connect oracle as a sysdba
46 $sqlplus "/as sysdba"
47
48 check tnsnames.ora
49 $tnsping sid
50
51 listener status
52 $lsnctl status
53
54 To Be Continued...
55 " vim:ft=sh