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

7
votes
4answers
5k views

How can I compare two directories, one being a remote directory?

I want to compare two directories, one is local and the other is on another machine. How can I do that? Can I do it with diff?
4
votes
1answer
1k views

Is it possible to have an AIX virtual machine running on Windows?

A couple of years ago I was told this is not possible, well... actually i didn't understand why. As time goes by, so are days off our lives, is it still impossible? Or now there are some solutions?
4
votes
1answer
1k views

How to display man page with a specific path?

There are some binaries and corresponding man pages on the IBM AIX system I am working with (/some/path/bin and /some/path/man), but neither bin nor man directory are in my $PATH or $MANPATH . I would ...
3
votes
2answers
2k views

AIX: find non-empty directories

In many unix systems, you could do something like find . -type d ! -empty In an AIX system, -empty doesn't seem to be recognized. Any ideas on how I could do the same thing?
3
votes
2answers
1k views

Would a user with admin=true and root have the same privileges on AIX?

Does a user in /etc/security/user with the parameter admin set to true (admin = true) have the same privileges as the root user? According to IBM (full information here): admin Defines the ...
3
votes
1answer
255 views

Delete old log files in AIX

I am trying write a script to delete old log files in \var\log\applog\nmon on my AIX system. We usually get alerts that the file system is almost full and at the moment delete old files by hand. So ...
3
votes
2answers
239 views

How should I install Mercurial on AIX 6.5 without root privilege?

Is there a way to install Mercurial on AIX 6.5 without root? I'm a physics student and am developing code on the IBM cluster in our college and don't have root privilege. Several weeks ago I decided ...
2
votes
2answers
1k views

/proc filesystem in AIX

This question is in context of AIX (5.3) On what basis does space gets allocated for whatever needs to be stored under the virtual filesystem /proc Does the OS grabs space from / ? For instance I ...
2
votes
3answers
1k views

Split a file on Windows and join back together on UNIX?

I have a process that involves transferring files from the Windows LAN to an AIX UNIX server using FTP through a VPN connection. The problem is that some of the files are very large -- up to 4gb. The ...
2
votes
2answers
11k views

How do I monitor or view the thread count of a certain process on AIX?

How do I monitor or view the thread count of a certain process on AIX?
2
votes
2answers
8k views

tar command - how to extract one file to specific directory

Is there a way to extract a single file from a tar file to a specific directory? In fact, I am dealing with a .tgz file so, I am attempting something like this : gunzip -c mytargzfile.tgz | tar xvf - ...
2
votes
2answers
33 views

UNIX command for deleting / removing files on today's date

I want to remove all the files in the directory I am in currently in that were created today. So if today is April 3rd then the UNIX commond I am asking for would remove someFile2, someFile3, ...
2
votes
1answer
132 views

AIX 7.1 su root password bug?

In our AIX 7.1 machine there is a weird bug we've ran into.. If you are logged into the AIX box via SSH as a regular user and you try to su - you get prompted for the password, lets say our password ...
2
votes
1answer
390 views

How to remove multiple word from grep command in AIX

I am trying to check disks used for mirror in lvs. currently I am using "lslv -m ulv" command but to check for multiple lvs is difficult. I guess there should be some option in grep to exclude ...
2
votes
1answer
2k views

How to monitor single process CPU usage under AIX?

I need to analyze the CPU usage of a single process under AIX. Currently, I'm using nmon but it gets the overall CPU and IO usage. Also, I know about topas, but it will get the overall usage of the ...
2
votes
1answer
312 views

is there any way to install AIX on a normal desktop for practice purpose?

is is possible with any emulator like QEMU or PearPC ? or if not possible where can we get AIX box access ?
2
votes
1answer
1k views

Is it possible to log the commands executed on AIX to syslog?

As above, is there a syslog facility to capture users' activities in AIX? Or can this be done only through shell configurations (i.e. command history)?
2
votes
2answers
782 views

What is the old AIX & RS/6000 console font?

I'm sick of Lucida Console font on my putty sessions. I used to love whatever font was employed on IBM rs/6000 consoles. Does anyone know the name of that font and if it is available (and usable) ...
2
votes
1answer
48 views

PuTTY - Stack variables not updating on null line

This is going to be a bit of an odd issue to explain. I'm fairly new to terminal communication as well, being that it is way before my time, so if I mess up any terminology I apologize in advance. ...
1
vote
1answer
206 views

ls -l output difference between files and directories?

I looked at IBM's site and read the definition for ls -l, but could not find an answer to my question. When issuing an ls -l command on AIX, what is the explanation for the different 'file size' ...
1
vote
2answers
3k views

How to enable syslog on AIX?

I'm trying to enable syslog on AIX. I followed the instructions in this post but it didn't work. This is my /etc/syslog.conf: mail.debug /var/log/mail.log rotate size 500k files 10 kern.debug ...
1
vote
1answer
21 views

list out owned file/directories and change its permissions

Can anyone please tell how can I change files/directories owned by me only. below is the command that list out files/directories owned by me find . -user <username>
1
vote
1answer
163 views

Two IBM Websphere MQ Questions

o/s IBM AIX 5.3 WMQ Version 6.0 Question1: Replicating a queue manager and its queues - Is it OK to copy over contents of /var/mqm from one server to the other and expect everything to work fine? ...
1
vote
2answers
3k views

AIX : retrieving previous command using up arrow

I know about set -o vi and k and j combinations. I want to map these to up arrow and down arrow so that I can use AIX(ksh prompt) just like bash . Any suggestions?
1
vote
1answer
64 views

Are files in /tmp cleaned up by the operating system?

I have a script that generates log files that I place under /tmp I run it on Linux RedHat, Ubuntu, Solaris and AIX. I'm wondering I have to clean the logs periodically by myself (e.g. after 14 days) ...
1
vote
3answers
768 views

Need to transfer files(No SCP) from Linux to IBM-AIX

I need to transfer a tar.gz file from RHEL5 to IBM AIX... The IBM AIX does not have scp and I dont think, I could install, as I am just using the system for temporary purposes. Is there an alternative ...
1
vote
1answer
85 views

zgrep not working on the AIX platform

zgrep does not work in AIX and gives the following error ap61cp01> zgrep 9 ap_balance_bucket9_20120718.txt.gz gzip: ap_balance_bucket9_20120718.txt.gz: Permission denied Please let me know the ...
1
vote
1answer
28 views

What is the AIX's `ps -T PID` equivalent for Linux?

I really like the way ps -T PID works on AIX. It shows you a nice tree of processes in the right side, and their PID, PPID and other info in the left side. In AIX docs, the -T flag reads Displays ...
1
vote
1answer
45 views

Injecting a keypress into a tool started by a bash script

I'm writing a bash script to gather some informations about disks and then start the 'nmon' tool to monitor only those specific disks. I start the nmon tool out of the bash script (with -g). To get ...
1
vote
0answers
141 views

install python on AIX no root

I found the python version is old on our cluster. How to install python on AIX without root? Could you provide some guidance. Thanks.
1
vote
0answers
165 views

How to inherit file permission from folder permissioin in AIX?

We have two users with two different groups: User psoft is attached to psoftgrp group. User db2 is attached to db2grp group. There is a common folder called FILES with 777 permission owned by ...
1
vote
0answers
109 views

How to drop the caches on AIX?

I am running a series of tests from a script that have a habit of running a box out of memory. The simple solution on other linux boxes is to echo "3" > /proc/sys/vm/drop_caches but this command ...
1
vote
1answer
423 views

aix 5.3 cannot execute or load .profile automatically when login

I am using AIX 5.3, after I login as an Oracle user, I got a prompt to ask me to give the oracle home directory. If I manually type in ". .profile", it would work. My AIX team has built this new ...
1
vote
0answers
143 views

Why my $PATH is not inhereted by the invocked bash? [closed]

I work on an AIX system where I have no administrator privileges. It has several shells installed, default being tcsh. I am not allowed to change the login shell. Usualy I start my session from exec ...
1
vote
0answers
418 views

How do I get AIX Tapeutil to list the contents of a tape I backed up?

I can't figure out how to get tapeutil to list the contents of a tape that I just backed up. tapeutil -f /dev/rmt1 unmount tapeutil -f /dev/rmt1 mount ${TODAY} tapeutil -f /dev/rmt1 erase tar -cvf ...
1
vote
0answers
69 views

AIX: a hotspare hdisk not changing the status to rebuilding

Using AIX 5.3 with TL12 I have configured a hdisk as hostspare in one vg. When I pulled a disk from the same vg it shows missing but the hotspare will never goes to rebuilding state. Your help in ...
1
vote
0answers
548 views

vmstat shows incorrect processor idle time

To begin with OS: IBM AIX #oslevel 5.3.0.0 lparstat #lparstat System configuration: type=Shared mode=Uncapped smt=On lcpu=12 mem=12288 psize=16 ent=3.00 %user %sys %wait %idle physc %entc ...
0
votes
4answers
130 views

How to do sudo apt-get on an AIX machine

I don't understand this AIX. How do I do sudo apt-get on AIX? -bash-3.00$ sudo -bash: sudo: command not found -bash-3.00$ apt-get -bash: apt-get: command not found
0
votes
3answers
89 views

What's the name of the file system of the operating system in UNIX\Linux?

Is that correct to assume that the operating system is ALWAYS placed in /usr in all kinds of UNIX and Linux? I'm writing a script that has to check the free space in the operating system's file ...
0
votes
1answer
1k views

Comprehensive description of CPU terms for an AIX lpar

lparstat on one of the AIX logical partitions show the following : System configuration: type=Shared mode=Capped smt=On lcpu=4 mem=8192 psize=16 ent=0.25 How does fit in to configurations set up ...
0
votes
1answer
17 views

vi Error | Out of memory saving lines for undo - try using ed

While executing the following command on a large file: vi largeFile.log I get the following error: Out of memory saving lines for undo - try using ed My environment is: AIX6 I cannot add any ...
0
votes
1answer
76 views

666 permission even after making umask= 0000

I made my umask = 0000. However when I am creating a file it has 666 permission. Although directories get 777 , that's alright. Also my aim is to create file/dir with permissions 774, I guess umask ...
0
votes
3answers
317 views

Connect to AIX via SSH

I have to connect the AIX machine through Linux via SSH command and i m not able to figure out how to connect. Can anybody help me with the command. Thanks, Vivek
0
votes
3answers
173 views

How to find faster in linux

I have some directory with funny character such as ^M at their back. They were created accidentally and I want to delete them. I list the directories by ls -iql and wrote down their inode number, ...
0
votes
1answer
321 views

Installing websphere in AIX (Unix)

I want to install web-sphere 6.1 in machine which has AIX OS. What is the command to install it? I need to install it from telnet. I have using tried the following command, but the installation ...
0
votes
2answers
759 views

Unix basic shell script help needed please?

I need some help writing a basic Unix shell script that will run on AIX: Loop that will run a netstat command (netstat -an| grep 16752| grep ESTABLISHED| wc -l) that counts sessions every second and ...
0
votes
1answer
769 views

Aggregating nmon reports - AIX

Is there a tool to aggregate nmon reports of the same server over a period of days/hours and get a summary of (min,max,avg) of CPU memory etc. Currently we have each server generating nmon data every ...
0
votes
1answer
20 views

Not able to reference softlinks in a script

we have couple of softlinks to scripts a directory in our current directory. Let's take we have two softlinks , script1 and script2. We are referencing script2 from within a script1 like below. . ...
0
votes
1answer
26 views

editing string using sed or grep

first of all please execuse my ignorance on UNIX. I am quite new. I have lot many sql files that contains following string ${DB_USERNAME}.${TABLE_NAME} Can anyone please tell me how could I change ...
0
votes
1answer
44 views

Defaulting file permissions for any file being kept in a specific folder

I'm Using AIX. I have a folder owned by me. Permissions for the folder are 777. That means anyone can keep their files in this folder. But I want the files to be kept only with 777 permissions. But ...