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
2k views

Using find with -exec gzip and grep

I have a bunch of zipped up log files and I want to search them all for a string. I tried this but it's not working: find ./ -name "*.log.zip" -exec gzip -dc {} | grep ERROR \; It's giving me: ...
1
vote
0answers
268 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.
3
votes
2answers
493 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 ...
0
votes
0answers
422 views

apache httpd libapr linking .a .so

Problem I need to compile and install an Apache module on AIX 6.1. This is the module A. The Apache module is available only as source. I manageg to compile the source and the .so module was ...
0
votes
3answers
859 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
-1
votes
2answers
766 views

Resolving an alias to a remote server [closed]

I have what I think is called an IP alias, which is used to access a Windows file server from a Unix server. The path on Unix looks something like: /folder/file.txt which is somehow resolved as: ...
0
votes
1answer
6k views

Unable to login AIX via putty, but able to ping

I am working on an intranet. I have some AIX servers, and I use to login them via putty. It works fine from some workstations, but I am not able to login from one of my windows workstation. I get ...
0
votes
1answer
2k views

Symbolic link for log files on AIX

I have an AIX 5.3 and I need to point the /var/mylogs/trace directory at another /mydir/temp When I use the symbolic link syntax; ln -s /mydir/temp /var/mylogs/trace In /var/mylogs/trace I get a ...
1
vote
0answers
330 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
1answer
204 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 ...
3
votes
2answers
3k 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 ...
1
vote
1answer
780 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 ...
0
votes
1answer
510 views

AIX auto completion: how to show a whole file name by type in only a few letters

I used to work on Redhat Linux and really enjoy its feature that I can only type a few letters on the command line, and the rest of a file name would show up. I am running AIX 5 or 6 now, and it does ...
0
votes
1answer
3k 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 ...
2
votes
1answer
562 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
2answers
3k 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 ...
1
vote
3answers
1k 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 ...
0
votes
2answers
876 views

Is there an equivalent command for kctune | grep max_thread_proc in SunOS and AIX?

I need to find the maximum threads per processor in the following systems. So far 1. Redhat Linux -> cat /proc/sys/kernel/threads-max 2. HPUX 11.31 [ia64] -> kctune | grep max_thread_proc ...
1
vote
1answer
186 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 ...
0
votes
2answers
3k views

Fastest way to get creation and last modification times of a lot of files

Given a directory a sh pattern which yields a subset of files directly in this directory (like *.log) a sh pattern which can, given a filename, what is the fastest way (in ksh) to obtain for each ...
0
votes
1answer
451 views

Where is ORACLE_HOME set in AIX?

In Linux I can set ORACLE_HOME in .cshrc. Where do I set this variable in AIX?
2
votes
3answers
2k 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
8k 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 ...
0
votes
1answer
10k views

AIX what exactly is file system cache?

What exactly is FS cache or file system cache in AIX. Most of the time our performance charts show that main memory is mainly allocated for FS cache. Is this frequently read file data? or is this ...
4
votes
1answer
2k 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?
0
votes
3answers
9k views

Auto-mounting NFS in AIX at startup

I have few NFS file systems which I mount manually after my AIX system boots up. Is there a way I can do it using /etc/filesystems? What would be the syntax?
0
votes
2answers
2k views

Limit CPU usage / Cores on AIX process?

We have two processes running on an AIX machine, one is Oracle the other is Business Objects. BO takes nearly 100% CPU cycles when running and Oracle is unable to process at an acceptable speed ...
0
votes
1answer
941 views

Does change of tcp_keepidle or any of the tcp parameters require a reboot(AIX)?

AIX 5.3 oslevel -r 5300-12 We require to change the tcp_keepidle value using : no -o <tcp_parameter>= ...
1
vote
0answers
154 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 ...
4
votes
1answer
2k 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 ...
1
vote
0answers
595 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 ...
0
votes
3answers
182 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
2answers
1k views

How to rmdev a list of hdisk in one shot in AIX

In AIX I have a long list (more then 30) of hdisks I need to delete them in one shot, what command can I use?
7
votes
5answers
7k 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?
0
votes
1answer
561 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
1answer
859 views

vimrc is not working in AIX

I just started to use AIX 7.1(I telnet to it) and the .vimrc I placed in ~ is not working. The contents of .vimrc: set showmode set number backspace=2 shiftwidth=8 No mode was ...
0
votes
1answer
1k 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 ...
2
votes
1answer
3k 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 ...
0
votes
2answers
990 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
34 views

How to confirm source was correctly installed

I've installed CFEngine from source (for those of you who aren't familiar with the product, check out the wiki page) on an AIX server. I had some issues setting it up but finally got it to gmake ...
2
votes
1answer
460 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 ?
0
votes
0answers
97 views

Overlapping lines in AIX 5.3

When I type commands and hit enter my cursor line for some reason appears on the the second line from the end of the output: tomcat [server] /home/tomcat: ls -l total 24 -rwxr-x--- 1 tomcat dev ...
2
votes
1answer
2k 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)?
1
vote
0answers
81 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
1answer
229 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
0answers
710 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 ...
2
votes
2answers
9k 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 - ...
1
vote
2answers
5k 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?
0
votes
2answers
3k views

PS command ouput with fixed width for each column

I want to run command "/usr/ucb/ps auxww" on solaris to extract SZ and RSS values. For some processes these values are not showing and mixing with %MEM value as shown below. USER PID %CPU %MEM ...
0
votes
1answer
122 views

Memory consumption when running multiple copies of a process on a UNIX AIX server

On a UNIX AIX server if I start multiple copies of the same process will memory be allocated for the code, data and stack for each copy of the process ?