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

2
votes
0answers
20 views

Determine the owner of the session of a process

I am trying to implement a way to determine which user is owner of some process's session, in a way that's as cross-platform as possible. In Linux I can trace the process's pty by following the link ...
2
votes
1answer
702 views

How to get start time for a defunct process on AIX?

When I run the following commands on AIX: 22:root@SERVER:/root # ps -ef | head -1 UID PID PPID C STIME TTY TIME CMD 22:root@SERVER:/root # ps -ef | grep defunct | head -1 ...
0
votes
1answer
19 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
2answers
344 views

AIX apache rpm dependencies

I am evaluating the Crowd SSO by Atlassian. Now to get apache to use CROWD for authentication, there is a connector available by the vendor. Problem Unfortunately they do not provide anything for ...
4
votes
3answers
4k views

Can ksh on AIX be configured to use the tab key for filename completion?

I have some AIX 7 servers that are restricted to what software I can install and wonder if I can get ksh to use the tab key to complete filenames at the shell promot. The man pages are sparse for ksh ...
4
votes
3answers
2k views

Need to get the difference between two time in seconds

The following two variables contain the start time and the end time , need to get the difference between these two time in seconds start_time=06:07:25 end_time=07:02:08 Desired Output diff_time= ...
2
votes
1answer
45 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 ...
1
vote
4answers
5k views

Human-readable ls output under AIX?

How can I get human-readable ls output under AIX? There is no -h parameter
1
vote
3answers
6k views

What is the default shell for .sh in AIX?

I am fairly new to AIX machine. We would like to deploy some program into the AIX machine which is yet to come. We have a short experience in AIX machine and after login using putty, we felt the ...
0
votes
2answers
801 views

Why alias does not work in AIX (korn shell, .profile)?

I have these files in my home directory: drwxr-xr-x 3 meuser staff 256 Oct 12 13:11 . drwxr-xr-x 102 bin bin 4096 Sep 30 12:28 .. -rw------- 1 meuser staff ...
0
votes
0answers
14 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 ...
1
vote
1answer
1k views

General problem solving steps when print jobs hang in AIX?

What should I do if jobs are getting stuck in the print queue even after restarting spooling? $ stopsrc -g spooler $ startsrc -g spooler $ lpstat -oQUEUENAME | wc -l; sleep 30; lpstat -oQUEUENAME | ...
2
votes
1answer
141 views

Why PowerVM LPAR CPU utilization is negative

For a specific case I compute an PowerVM LPAR CPU utilization to be a large number less than zero. I am fetching the lpar sample event using: lslparutil -r lpar -m P750 --filter "lpar_names=i5lp5" ...
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 ...
4
votes
2answers
1k views

How do you determine if AIX 5.3 has perl installed?

Simply put, how do you determine if AIX 5.3 has perl installed as non-root?
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 ...
12
votes
5answers
35k views

How to strip multipe spaces to one using sed?

sed on AIX is not doing what I think it should. I'm trying to replace multiple spaces with a single space in the output of IOSTAT: # iostat System configuration: lcpu=4 drives=8 paths=2 vdisks=0 ...
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
2answers
5k views

FTP over SSL in AIX (UNIX)

Folks over at SO couldn't answer this, so I am posting over here. I need to do an FTP over SSL to a FileZilla Server running on a Windows server from an AIX Unix clien. I have the Host name of the ...
4
votes
5answers
4k views

Next day of the user entered date - date +1 day

I am new to scripting I needed a script in the AIX environment to get the next days date based on the date entered by the user of the script. After hard time browsing for this I got a piece of code ...
3
votes
4answers
398 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
3answers
146 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
1answer
104 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 ...
3
votes
3answers
4k views

Why is file ownership inconsistent between two systems mounting the same NFS share?

I have one IBM AIX server (serverA) which is connected to the san storage. I have created a volume group and also file system (jfs2) and mounted to directory /profit. After that I created a NFS ...
3
votes
0answers
170 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to ...
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 ...
2
votes
4answers
350 views

AIX 'rm' command has no '-v' parameter for verbose output

AIX 'rm' command has no '-v' parameter for verbose output as stated by IBM's documentation. Normally I would run (in linux) rm -rfv <myfile> to (r)ecursively and (f)orcably delete files and ...
0
votes
2answers
8k views

CPU usage monitoring in AIX servers

In order to monitor the CPU usage in an AIX server I'm using the following script that is executed every 10 mins. lparstat 2 10 > cpu usage=$(tail -10 cpu | awk 'BEGIN {sum=0;} {sum+=$4} END{print ...
1
vote
1answer
327 views

How do you track memory usage in a ksh93 script

We have a number of ksh scripts that run forever (inside a while loop), or at least until a shutdown event is delivered to them. We had a project where these scripts where converted to ksh93 (and ...
0
votes
0answers
37 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 ...
6
votes
2answers
896 views

How to mass change password attributes in AIX uname -rv=3 5 for all users but root

I want to do a mass change on all users but root in AIX for the following "password attributes": Weeks before password reuse: 15 Password min length: 6 Can it be done, or do I need to do them one ...
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
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 ...
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
2answers
385 views

Other than a kill command or a system kill(pid, signal) command, what can cause a SIGKILL to occur for a process?

My process is mysteriously getting a SIGKILL on AIX. Running trace on the system indicated the process got a signal sent by itself via the kill(pid, SIGNAL) system call. I checked my code and I ...
1
vote
2answers
57 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?
0
votes
1answer
333 views

AIX UNIX 64 bit connecting to Microsoft SQL server 2008R2 Server

I am having AIX 64 bit Unix machine and I need to connect to Microsoft SQL SERVER 2008 R2 database. I dont have any Drivers and TDS installed in my machine. What all tools I need to install including ...
1
vote
1answer
30 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 ...
2
votes
3answers
80 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
71 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 ...
8
votes
2answers
490 views

How to trace that what had “chmod 640”'ed the “/etc/passwd” file?

On AIX 6100-05-02-1034, something is frequently changing the permissions of the /etc/passwd file to 640. That's bad... How could I trace that what is chmoding the file? There is no history 1000 | ...
1
vote
2answers
89 views

How to backup all installed software/packages on AIX?

Are there any ways to backup all the packages on an AIX 6.1 machine?
0
votes
1answer
190 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
1answer
416 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: ...
2
votes
2answers
139 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 ...
1
vote
1answer
89 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
0answers
67 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.
1
vote
1answer
78 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 ...
0
votes
1answer
41 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 ...