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
16 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
4answers
128 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
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, ...
0
votes
1answer
2k views

Setting timezone in AIX

The timezone is set to "CET" but date displays CEST $ echo TZ CET $ date Tue Apr 16 15:56:57 CEST 2013 Noticed the timezone on another similar system is "CET0" (not sure what the 0 means here!). ...
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. . ...
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 ...
0
votes
0answers
7 views

Supported versions of Linux for AIX RPMs

I am trying NIMOL which comes with AIX and helps in handling os installation over network. First we need to install RPM from the AIX disc on the supported Linux machine. I have AIX 7.1 disc. I want ...
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) ...
0
votes
0answers
15 views

Filesystem unmounted after machine reboot

I'm having some problems last weekend according to various filesystems are unmounted on monday morning, having them mounted and running the work days before. During the weekend the machine reboot but ...
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>
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 ...
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 ...
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 ...
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?
0
votes
1answer
204 views

How do you extract a file using tar in AIX?

On a NORMAL Unix distro, tar zxvf works but seems like my machine has some super old version of tar that doesn't have the right parameters. -bash-3.00$ tar zxvf qemu-1.7.0.tar.bz2 Usage: tar ...
0
votes
0answers
30 views

How to install a Virtual Machine that runs Ubuntu OS on an AIX machine?

I have access to an AIX machine: -bash-3.00$ uname -snlrvmaxupfFM AIX xxxx 109286105 3 5 00068392D900 powerpc IBM,8204-E8A IBM,036568392 040183749F887601 040183749F887600 How could I install an ...
0
votes
1answer
448 views

SSH Issue on AIX 6.1

I recently upgraded the openssl version on AIXX 6.1 server. The install went fine. But now I'm unable to start new ssh sessions from puty to the server and I'm getting the error "Connection ...
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 ...
0
votes
0answers
16 views

Add a path in $PATH globally for every user

Do we have anyway to add a path globally so that each user gets it in $PATH. I want to add path of ANT so that each user doesn't need to add it in his $PATH variable.
0
votes
2answers
669 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?
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
1answer
45 views

IBM AIX: How do I set up SSH X forwarding on an unprivileged user with no home?

Long story short: I have an AIX server where my user is unprivileged and has no home directory, and it is not easy to fix this because OS-level management of this server is outside of my jurisdiction. ...
0
votes
1answer
138 views

grep: can't open nohup.out

I am doing recursive grep (grep -r) but it is failing saying grep: can't open nohup.out How to make it going and grep in all directories. I have some idea about nohup but I am not interested in it. ...
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
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' ...
0
votes
0answers
38 views

How to install Lex on AIX 7.1

I would like to install OpenMotif on an AIX 7.1, but it gave an error of missing lex. How can I install lex on AIX 7.1? Where can I find the package for it? I got the following error when installing ...
0
votes
0answers
110 views

AIX user with root privilege

how to create user having similar privileges as root in aix? I have tried to set admin=true attribute for my user but no luck. root's Password: # chuser admin=true nx3 # exit $ su nx3 nx3's ...
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?
0
votes
0answers
135 views

On an AIX LPAR: If a proces uses 0.3% CPU (ps aux), how much physical CPU does it use?

On an AIX LPAR: If a proces uses 0.3% CPU (ps aux), how much physical CPU does it use? userx 9240576 0.3 2.0 32260 34604 - A Aug 13 114:19 ProcessX The LPAR has the following ...
0
votes
2answers
340 views

what is the default path for sudo command

What is the default path of sudo command? I checked in some linux flavours and some solaris flavours, it is /usr/bin/sudo If a solaris machine is not bundled with sudo, Where it will get installed ...
0
votes
0answers
58 views

Load AIX kernel extension in AIX on reboot?

Does anyone know how to load AIX kernel extensions on reboot? I know that Oracle loads it's postwait kernel extension via a executable in /etc/inittab. I'm assuming this executable calls the ...
0
votes
2answers
2k 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
5k 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 ...
0
votes
2answers
944 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
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 ...
0
votes
0answers
129 views

Make sendmail use effective username

I need to configure sendmail on AIX 6.1 to send out mail with the From: header set to the effective userid, instead of the real userid. For example: I login to the server using usera. I then su - ...
0
votes
0answers
312 views

MQ SERVER 7.5 gsk7cmd not found

I have AIX 7.1 Installed on my box with MQ Server 7.5, everything is fine but now i want to enable SSL on two queue managers, however gsk7cmd seems to be not installed. What do i have to check in ...
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 ...
-1
votes
2answers
317 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
0answers
37 views

Looking for help to compile OCAML on AIX

Since I've found testimonials of OCAML usage on AIX I should be able to compile it but I'm failing. Heres the configure command I'm using: ./configure -prefix <my_target_path> -cc gcc ...
0
votes
1answer
799 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: ...
0
votes
0answers
230 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 ...
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 ...
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.
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
1answer
3k 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
449 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
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 ...