AIX (Advanced Interactive eXecutive, pronounced "a i ex") is a series of proprietary Unix operating systems developed and sold by IBM for several of its computer platforms.

learn more… | top users | synonyms

0
votes
1answer
11 views

Where is NMon cron job for AIX?

While trying to know where is NMon job configured to run; I do find that it's NOT listed on Crontab (using crontab -l). BUT - the job is currently running as expected, which is weird. See the ...
2
votes
1answer
43 views

Find files older than x amount of time in specific directory with ignoring subdirectories

My setup is as following: folder structure dir |--correctfile1 |--correctfile2 |--correctfile3 |--subdir1 |--wrongfile1 |--wrongfile2 |--wrongfile3 |--subdir2 |--subdir3 I need to ...
0
votes
0answers
20 views

How to find out what hostgroups this host belongs to? [closed]

How to find out what hostgroups this host belongs to? I am on an AIX host.
0
votes
0answers
12 views

How can I restrict incoming emails to AIX server?

How can we restrict all the incoming email traffic on to AIX LPAR? I can send emails from my root/user account to myself/my team. I would like to secure AIX LPAR. So for that, I do not want AIX LPAR ...
2
votes
0answers
23 views

Perl failed set locale on AIX 7.1

After setting user language to Chinese with GB18030 encoding in SMIT, following env variable was added in user's .profile: LANG=Zh_CN LC_MESSAGE=%l.%c ...
2
votes
1answer
10 views

Why doesn “clpasswd” knows the “-R”?

There is a symbolic link: 2:root@SERVER:/root # ls -la /usr/bin/passwd lrwxrwxrwx 1 root system 39 Feb 3 2014 /usr/bin/passwd -> /usr/es/sbin/cluster/utilities/clpasswd ...
0
votes
1answer
19 views

Subversion Client for AIX

I am looking for Subversion Client that I can install on AIX 7.1 TL 3. All I need is just a light weight client so that I can checkout and checkin code. I do not want the whole subversion server. ...
2
votes
3answers
132 views

CPU and Memory usage monitoring for a single process

I need to monitor the CPU and Memory usage for a single process in an AIX server. The program runs 3 times a day. I need to find the way to capture statistics within some time intervals, lets say ...
1
vote
0answers
9 views

AIX cluster show swing filesystems

I am working on applications on an AIX 6.1 two-node cluster, with an active and passive node. Is there a command that will show me which mount points / file systems are shared and 'swing' from one ...
0
votes
0answers
36 views

AIX Memory Limits

I cannot find these numbers anywhere on the IBM Web site or even random blogs that Google finds. Questions What is the maximum physical memory size a POWER7 CPU supports? What is the maximum ...
0
votes
2answers
48 views

Why awk does not show the correct record length?

I'm concerned regarding what awk shows as the record length. I'm checking some files for a specific record length - awk shows the result I wanted, but the file size shows that each record in the file ...
0
votes
0answers
45 views

Subversion for Unix (AIX 6.1)

I am looking for a package to set up centralized server for subversion in unix AIX 6.1. and also can some one also help in the steps for installing the same. i have been chasing down for the right ...
1
vote
1answer
27 views

Must be in the same VG

I am trying to extend the fs like this, chfs -a size=+290G /Eq7_bakcup but getting this error, what am I doing wrong? mount: Log dev and fs dev must be in the same volume group
0
votes
1answer
41 views

AIX: List all ports in /etc/security/login.cfg

As discussed in AIX 7.1 Files Reference, the login.cfg file contains two types of stanzas: port: Defines the login characteristics of ports. user configuration: Defines programs that change user ...
1
vote
1answer
91 views

Diagnose high swap usage on AIX

Which would be the best approach to diagnose high SWAP usage on an IBM AIX 6.3 machine? I've already tried with lsps -a and lslv. But also I'm looking for a strong scenario, like using topas. Any ...
1
vote
2answers
55 views

How do I configure the location for core dumps?

Recently I had an experience where a core dump was created in my home directory that resulted in the filesystem running out of space. How can I tell AIX to create core dumps in some other location?
1
vote
1answer
29 views

What is making “at” in AIX add a “cd /some/path/here” prior to my explicit commands?

When I execute the following command: cd /some/path/here at -t 201409301100 ls -al <CTRL-D> at -lov I get the following output: ======================== myusername.1411755840.a Mon Sep 30 ...
1
vote
3answers
78 views

How Do I install DB2 Remotely?

I have been trying to install IBM DB2 10.5.0.1 on AIX 7.1.0.0 from a Windows 8-64bit using a Remote connection. It has been 3 days and I haven't been able to succeed; Here is a list of everything I've ...
1
vote
1answer
69 views

./a.out && echo $? only prints return value if return = 0

echo $? in the following scenario does not display the return value, i.e. 1. echo "int main() { return 1; }" > foo.c gcc foo.c && ./a.out && echo $? However, echo $? works when ...
0
votes
1answer
394 views

Installing TOMCAT on AIX 7.1

After installing a lot of packages I finally got ./configure to work, just to get a horrible message Host support:- checking C flags dependant on host system type... failed configure: error: ...
1
vote
1answer
83 views

Process status on AIX

I want to get process status on AIX like we get it on Linux from /proc/<PID>/stat, I did not find the status in /proc/<PID>/status file. There was some encrypted text there. Which file ...
0
votes
1answer
179 views

Mounting LUN in AIX

I have LUN created and added to AIX, I know this because once I created the LUN and the name I gave in the IBM storage is displayed and also I used the following commands chdev -l hdisk7 -a pv=yes ...
0
votes
0answers
62 views

File to access for CPU load average on AIX

Is there a file with the load average in it on AIX? I'm looking for something like Linux's /proc/loadavg.
0
votes
1answer
40 views

Terminal not reporting resize properly

I'm having a problem where when I resize my terminal, it doesn't seem to be reported properly and so none of the applications in it don't display properly. For example: If I open a terminal, remote ...
1
vote
1answer
77 views

Difference between AIX and other Unix flavours [duplicate]

I am learning AIX 6-7 for practice, is there any alternative unix flavour which could be quite similar to AIX which could be run on a VMWare or Virtualbox for practice? Also, if there is any ...
2
votes
2answers
135 views

Network interface information on AIX

I want to get all the information about the network interfaces available on the AIX. Like on linux, we can get it from /sys/class/net files. Is there any files on AIX where I can find relevant ...
3
votes
2answers
155 views

Is there a way to prevent a non-terminal-attached process from executing 'who' inside my .envfile?

I made some modifications to the /home/user/.envfile so the PS1 prompt would show date/time as well as the pwd etc. The modification is: # `who am i` is used to obtain the name of the original user ...
3
votes
4answers
385 views

Run a script on multiple shells?

I have two servers one AIX with default shell ksh, the other RHEL with default shell bash. I have a script that is mounted on both that will run similar commands but for either AIX or Linux. This ...
2
votes
1answer
110 views

How can I get KornShell to display the date and time in the prompt?

On my AIX box, which is using ksh as the default shell, I'd like the prompt to show both the date and time followed by a newline \n, along with the name of the machine, and the working directory. ...
0
votes
1answer
208 views

Why does this command not work on AIX?

I want to remove UTF-8 BOM from a file using this command: sed '1 s/\xEF\xBB\xBF//' old.java > tmp.java But it did not work. I am running with ksh on AIX 7.1
5
votes
1answer
278 views

What is #@(#) in Kornshell syntax

I'm looking at a script on an AIX box where several lines begin with #@(#) What does that indicate? Clearly doing a Google search is totally fruitless for symbols. Here are the lines from the ...
0
votes
0answers
59 views

AIX equivalent of Solaris' iostat -E

On Solaris you can use the command iostat -En to view "disk error statistics" as counted by the kernel since the last reboot, where the -n option causes iostat to show "nice" device names. I'm ...
0
votes
1answer
440 views

aix ksh start weblogic server without nohup.out and return to underlying script

I am writing a ksh script, in which I want to start weblogic server in background and return to underlying script immediately(continue to execute the script) like this: nohup ...
5
votes
2answers
376 views

how to return to underlying script from tail -f

I have a ksh script, in which I use tail -f to view a log file. How can I terminate the tail process, and continue executing the underlying script? I am running it on AIX 7.1. ...
3
votes
3answers
189 views

Files are missing and I want to know what happened to them

Somehow some files are missing in a directory and I would like to know what happened to those files. Who has moved/deleted them? How can I investigate? Can we get a history on a directory? These are ...
3
votes
1answer
121 views

Run command based on output of another command

OS: AIX 7100-04-1216 So basically I'm trying to write a for loop that sees which volumegroups I have on my system, which filesystems reside in those volume groups and what the size of each of those ...
0
votes
1answer
41 views

Windows IDE for AIX application [closed]

I'm working on a C application based on AIX 5.3 using VI as an editor, I need a windows IDE (open source or commercial) that can help me: modify the source code more easily compile as if I'm under ...
0
votes
0answers
25 views

Invalid mail alert

When I log in to Unix, I get new mail alert: [YOU HAVE NEW MAIL] I checked my mail and I don't have any: $ mail Mail [5.2 UCB] [AIX 5.X] Type ? for help. "/var/spool/mail/userId": 0 messages No ...
2
votes
1answer
1k views

How to get modification time for a file (in UNIX TIME!) on AIX?

$ istat TESTFILE.txt Inode 2317 on device 12/7 File Protection: rw------- Owner: 4847(testuser) Group: 346(testuser) Link count: 1 Length 1480 bytes Last updated: Sun ...
1
vote
2answers
410 views

Aix grep wildcard not working

I have a file called message that has the line CSC/UT/USA/WBIMB/SAP/orders05:orders05/ORDERS05/NONE/ORDRSP/758 I am doing a grep (Platform is AIX 6.1) grep ...
1
vote
2answers
226 views

printing special characters in awk output

I have a large file that contains lot MQ messages with RFH2 header. Each message in the file is separated by a blank line. Now I need to split this large file into small files each containing single ...
9
votes
1answer
146 views

Is there a utility like dspcat on Linux?

I use the following dspcat command on AIX and can dump message catalogs created with the gencat command: dspcat –g /u/is/bin/I18N/l/lib/libca/libcalifornia.117.cat >> /tmp/message.smc I have ...
0
votes
1answer
175 views

How can i set-up VIOs multiple VLANs in our p770 box?

There's a requirement setup needs to address to our pSeries box. We have one p770 box intended to setup UAT and Development VM Clients, but the requirement is to set different VLANs per Environment ...
1
vote
0answers
85 views

AIX OS fileset with status Broken

Does someone encounter this error in AIX version 7.1 TL3? root@TEST:/ # lppchk -v the result is: lppchk: A parsing error occured for bos.sysmgt.quota 7.1.3.0 on line 1, column 23. ...
1
vote
2answers
337 views

Find when the file was closed in Unix

I know ls -l will give the modified time of file, but it is giving the time when the file was opened, not closed (using Ctrl+D or something) Please tell me how to find the time of file closed ...
0
votes
1answer
599 views

How to map Unix Directories to Windows Server

I have a Windows Server 2008 R2 machine and an AIX 6.1 server. Now I would like to map 2 AIX folders to Windows for an application to access - The application on Windows is IBM Connect:Direct and ...
1
vote
1answer
196 views

Script or command to replace default parameters in /etc/user on AIX

I wanted to change the parameters settings in /etc/security/user file in AIX OS using a script. This is the sample user file. default: admin = false login = true su = ...
2
votes
1answer
3k views

How to resolve ssh connection refused on AIX?

I am no longer successfully able to connect to my AIX LPAR. ssh -v user@<ip> OpenSSH_6.2p2, OpenSSL 1.0.1c 10 May 2012 debug1: Reading configuration data /etc/ssh_config debug1: Connecting to ...
2
votes
3answers
7k views

How to Use Encrypted password in shell script AIX

I had written a shell script that will connect with the Database to perform some operations This is my sample code #!/usr/bin/ksh . /home/ram/.profile sqlplus username/pwd@TNS<<EOF select ...
0
votes
0answers
169 views

AiX topas snapshot to web

My script for taking snapshot from TOPAS looks like this: #!/usr/bin/bash whoami export TERM="xterm" (sleep 3; echo q)| topas -Emi 2 | \ tr -d '\r' | \ ...