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

8
votes
2answers
32k views

How to run a fresh version of AIX in a Virtual Machine with a Linux host?

I need to learn about AIX, and I only have a laptop with Fedora 14/VirtualBox on it. Is there any chance that I could run an AIX guest in my VirtualBox? My laptop has an Intel(R) Core(TM)2 Duo CPU ...
4
votes
1answer
7k views

Extract single file from tar to other folder

I've searched for multiple forums for this questions and have seen different answers but so far, nothing have worked yet even from the ones I've seen here. I want to extract a single file from a tar ...
0
votes
3answers
45k views

How to check that a user/password is expired in AIX?

I can check that the user is expired or not with: lsuser -f USERNAME | fgrep expires But how can I check that the user's password is expired or not? Are there any other "expiring" things that can ...
4
votes
4answers
229 views

printing a block of text that matches a pattern

Using just shell script, how to search a text file and list all whole blocks of lines that has inside some text (simple grep criteria). The text file has blocks of lines separated by "---------------...
1
vote
1answer
5k views

Is there any way to check df -k hanging for nfs mount issues?

I am trying to write a script for such failure scenarios. In a scenario where maybe, if remote connection is lost, df waits for the remote server to respond (looks like df is hanging). I know I could ...
3
votes
2answers
4k views

Qemu & AIX 6.1 - what am i missing?

I have a Fedora 14 i386 / T7100 C2D HP notebook. I need to run e.g.: AIX 6.1 on it for testing purposes. I installed a VirtualBox on this Fedora machine. I installed a guest os in the VirtualBox. It'...
5
votes
0answers
66 views

What is the cheapest way to run AIX 6-7 at home? [duplicate]

What is the cheapest way to run AIX 6-7 at home? Using an emulator or is there any low-cost hardware that can run AIX6 or AIX7? Purpose: practicing VIO/LPAR/HMC/etc..
4
votes
2answers
201 views

Display file text one page at a time, wait 20 seconds, then auto-advance

This question is for AIX 7 I have been working on a monitor which will display several pages of text. Initially the end user wanted a scrolling list for which I constructed this: IFS=''; cat plfeed ...
3
votes
3answers
7k views

Mail command to send attachements

I tried the below command uuencode data.txt | mailx –s “Test Mail” “mrp@xyz.com” But I get the below error ksh: uuencode: not found. Null Message body; hope that' ok which clearly tell that ...
2
votes
1answer
846 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. ...
6
votes
3answers
11k 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 ...
5
votes
2answers
5k views

sshd process inoperative

I have an AIX server which suddenly stopped servicing SSH connections. When I try to start the service through startsrc -s sshd it says: 0513-059 The sshd Subsystem has been started. Subsystem PID is ...
3
votes
2answers
92 views

Search, insert, move and insert

I want to search each record (records are defined by blank lines) in a file for the pattern NAME#AAAA. If it matches, then insert an # in front of the record's AGE line and move that line to the top ...
3
votes
2answers
124 views

need to replace a file contents

I am stuck in a situation. I have a file script.txt with contents $cat script.txt SET TABLESPACE CONTAINERS FOR 3 -- IGNORE ROLLFORWARD CONTAINER OPERATIONS USING ( FILE '/db2data2/dbs/rahtest/...
2
votes
3answers
2k views

AIX's sed - in place editing

Is there any undocumented flag in AIX's sed implementation that allows in-place editing? The man page shows no flag for this operation, which is one of the most useful ones in other UNIX flavours.
2
votes
1answer
460 views

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?

On AIX 6100-05-02-1034 how can I create custom umask for a specific directory?
2
votes
1answer
39 views

Why are some pts in AIX never reused?

In an AIX system (AIX p740 1 7) that is running for about several months, some pts aren't reused anymore. This was noticed using the "who" command, with the following "awk" expression, running it ...
0
votes
1answer
154 views

ssh publickey anthentication failed

I have set up SSH connect between two AIX servers. But It failed when I try to ssh to the server side, sending publickey packet and no reply return. Both client and server users are passwordless, ...
0
votes
1answer
70 views

Boot to non bootable disk using Openfirmware

I tried to virtualize (VIOS partition) Debian 7.8 on IBM 9133-55A (powerpc) server. For some reason both yaboot and grub failed to install on the virtual hard disk. Now I want to start the kernel ...
0
votes
1answer
50 views

Power 7/8 - LPAR has null desired_proc and desired_mem

I am querying the HMC via commands to get the memory and cpu of the logical partitions. I am using the command lssyscfg. For many lpars which are in Running or Not Activated status, the command ...
0
votes
2answers
27 views

How to get the opened pty for a given background process (without login) in AIX

Using this answer http://unix.stackexchange.com/a/283521/114939 which allow us to find processes that keep an given pty opened without login (who command cannot show them), caused me to ask the ...