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

-1
votes
0answers
34 views

tail command doesn't work for heavy files?

I have NAS reindexed log which is almost 6GB. Output is human readable and text format. When i use tail -100f filename.txt It doesn't show anything. I though it was due to file size is ...
2
votes
2answers
18 views

mknfsmnt fails with “System call error number -1”

This system is part of a cluster and the other node mounts the nfs share successfully. This is currently the active node which means it has a secondary service ip address. I think this is related to ...
1
vote
0answers
18 views

X11 forwarding to IP doesn't work on some servers. I can't find any config differences

This command allows me to send an xterm to xming on my windows desktop: xterm -display 10.13.18.125:0 (my workstation IP) For the servers that it doesn't work with the IP, It will work for some ...
0
votes
0answers
6 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 ...
2
votes
0answers
12 views

Cleanup old /dev/pts files?

My company has a policy that sweeps all files on our AIX servers to see if any are world writeable. They are upset because there are some files in /dev/pts (a few with me as owner) that are world ...
5
votes
5answers
5k 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 ...
0
votes
1answer
14 views

AIX: mptconfig equivalent

On hpux i use mptconfig to show speed and other info about scsi controller. There is something similar on aix?
0
votes
0answers
25 views

Can I manually check if a string complies with password rules?

I'm using an ssh script to change passwords on multiple servers as root. I would like to be able to force password rules when I'm doing this. Is there a way for me to check if the password string ...
0
votes
2answers
1k 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 ...
1
vote
0answers
64 views

rm: Directory resources is not empty

I'm getting this kind of error when i'm deleting file on my AIX machine. Getting same error for rmdir. venky-19:[/hm/dev/application/backup/ear/] # rm -rf resources rm: Directory ...
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 | ...
1
vote
1answer
21 views

zwrite handling of “@” symbol

I've been using zwrite to create simple message popups in AIX, and it handles @ symbols weirdly, even when they're strong quoted. I'm running these commands in ksh. As an example, echo '1 @ 2 @@ 3 ...
0
votes
1answer
10 views

How to set timeout for piojetd backend on AIX?

Question: If we are not using rembak for print queue backend, rather piojetd, how can we set timeout for it?
1
vote
0answers
17 views

What to check in AIX bootlist?

It's OK that we can list the bootlist with: 2:root@server:/tmp/foo # bootlist -m normal -o hdisk0 blv=hd5 pathid=0 hdisk4 blv=hd5 pathid=1 hdisk0 blv=hd5 pathid=1 hdisk4 blv=hd5 pathid=2 hdisk0 ...
1
vote
0answers
40 views

Text User Interface

I have been working on a shell script, and was wondering if I can put up a text user interface for the shell script. After some searching, I see few people suggest using "ncurses/curses". However the ...
1
vote
1answer
36 views

Handle compress command error messages on AIX

I am working on production issue and unable to reproduce error message for compress command. Current Solution We have case-esac block in shell wrapper that handles messages as follows; case "$MSG" ...
2
votes
1answer
951 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 ...
1
vote
1answer
13 views

Workload partition network

I see on AIX the workload partition wpars are similar to Solaris zones,but there is a difference,on solaris zone i can ping the external network,wpars are by default isolated. Can i ping the external ...
21
votes
3answers
2k views

Find a file when you know its checksum?

I have the md5sum of a file and I don't know where it is on my system. Is there any easy option of find to identify a file based on its md5? Or do I need to develop a small script ? I'm working on ...
2
votes
3answers
202 views

How to compress the directory and its contents

How do I compress a directory and its contents in ksh on AIX for a file I do compress filename
1
vote
1answer
13 views

AIX: show video card

How to know wich video card is present in my aix workstation? I have tried: lsdev |grep video lsdev|grep vga prtconf but no info. I see a vga is installed on workstation.
5
votes
2answers
3k views

Another account with same uid as root gets prompted to set new password for root, not itself

After upgrading the os from 5300-06 to 5300-11, this weird behaviour happened. My system had another unix account, let's call it "abc", purposely configured its uid to 0 for working as a root with ...
1
vote
2answers
72 views

Touch the file to future time stamp

I have created the file which is 30 minutes old by using following command TZ=ZZZ0 touch -t "$(TZ=ZZZ0:30 date +%Y%m%d%H%M.%S)" $HOME/reference Similarly how can I create a file 30 minutes of ...
2
votes
1answer
57 views

Bash Named Pipe - Atomic Reading

I have set up one script to write to a named pipe, then four scripts to read the named pipe. For most of the entries, there are no problems, but when there is little processing to be done on the ...
2
votes
1answer
34 views

Linux compatibility layer for IBM AIX

Most software that runs on Linux can run on FreeBSD using an optional built-in compatibility layer. AIX is based on UNIX System V with BSD-compatible extensions. Is there a Linux compatibility layer ...
0
votes
1answer
20 views

What is the meaning of “${name##*/}” in Shell [duplicate]

I have a code as while read name; do uuencode "$name" "${name##*/}"; done but I do not understand what is meaning of ##*/ in "${name##*/}" Google doesn't give good results. Can someone please ...
2
votes
2answers
65 views

Mailx with multiple uuencode attachments and body

I am sending multiple files using following line in my script find . -type f -name "Sum*pdf*"|while read name; do uuencode "$name" "${name##*/}"; done | mailx -s "North Bus Correction" $RECIP Now I ...
3
votes
5answers
617 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 ...
1
vote
5answers
6k views

Human-readable ls output under AIX?

How can I get human-readable ls output under AIX? There is no -h parameter
0
votes
1answer
49 views

Cannot install Sybase ASE on IBM AIX as root

I have a weird problem where I cannot install a Sybase DB server as root on an AIX virtual machine. I'm logged in as root and launching the installer as such: bash-4.2# ./setup.bin -i console ...
0
votes
0answers
48 views

AIX CPU usage - how to know how many CPUs running?

Over AIX 6.1 - I do see the following output, it says I have 16 Max Physical CPUs; but there are only 8 active - why is that? The system will use the remaining 8 if needed? Or are they disabled? # ...
1
vote
1answer
52 views

Start a service at boot and automatically respawn it if it dies under AIX

I'm trying to write a script that can set a service to: automatically restart after killed automatically start during boot up I can do this by using /etc/inittab but some of the AIX server ...
1
vote
0answers
47 views

sed stdin behaviour

Using sed for a direct stdin treatment of data, I expect that a line is treated after the enter. This is what happens when I test on CygWin or Linux but on my AIX, a second new line is needed to treat ...
0
votes
1answer
30 views

using linux shared library on AIX

Is there a way to use a linux shared library(.so) on AIX? I don't have source code of the library.
1
vote
1answer
68 views

AIX memory consumption

Question: how can we report the REAL memory usage (without the cache!) using nmon or vmstat or svmon on AIX 6? nmon: vmstat: svmon: Like on Linux, we can use the free command, but it's not ...
2
votes
0answers
51 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 ...
0
votes
1answer
49 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
402 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
5k 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
3k 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
211 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 ...
2
votes
3answers
7k 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
0answers
37 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 ...
2
votes
1answer
164 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
69 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?
3
votes
1answer
16 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
43k 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
43 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 ...