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
vote
1answer
46 views

A question about shell and .profile,.bash_profile,.bashrc

I'm on aix 7.1,my shell is bash if i did ssh ibmunix gqlplus user/pass All works and gqlplus start,gqlplus is on /opt/freeware/bin If i did from another machine ssh ibmunix "gqlplus ...
0
votes
1answer
20 views

How to skip email notification for at command in AIX?

(AIX 6.1 ) man page for at says -m option could send an email to the user. But this is the default behavior, even without specifying the -m option. Is there a way to turn this off, I do not want mails ...
4
votes
4answers
75 views

Linux as a network printer device (Raw, port 9100)

Is possible to configure a Linux computer to work as a "network printer device" ? I have an USB printer that I intend to share in the network like a native network printer device. Is that possible? ...
0
votes
2answers
28 views

Uninstall Hitachi.aix.support.rte when disk is booted over SAN

I have a server which boots of SAN and recently the storage migrated to Hitachi VSP. Earlier it was having PowerPath along with Hitachi.aix.support.rte to detect the Hitachi disks. Now we wanted to ...
0
votes
1answer
29 views

CDE and AIX nothing work

On other unix systems,simply set "dtsession" on .xstartup file of vnc start the cde session. On aix i have this problem when i start the session,appear only an error message The DT messaging system ...
1
vote
1answer
23 views

How to pass flags to IBM xlc compiler?

I want to build samba4 on aix,gcc give me error,so i want to try xlc ibm compiler But give me this error "../source4/heimdal/lib/gssapi/gssapi/gssapi_spnego.h", line 49.28: 1506-277 (S) Syntax ...
8
votes
2answers
252 views

Unix: a question about xargs

On AIX (but this happens on HP-UX as well), I have GNU ls in my path and it is also aliased as ls. But when i use xargs, it uses the standard Unix ls instead of the alias. For example (flocate is a ...
0
votes
2answers
32 views

File transfer from AIX to Windows - CR and LF issues (Control Characters)

I have an issue transferring files between Unix(AIX) and Windows. I use the following mount command to mount a Windows folder on Unix. mount -v cifs -n /admin/@dmin -o ...
3
votes
1answer
119 views

Want to grep a date in a file and its next 5 lines

I want to grep the current date in a file, but also output the next 5 lines. How do i do that with the grep or anything else. grep -A 5 file.txt does not work and the output is shown below. Please ...
0
votes
0answers
11 views

Show AIX operator panel status

I think is possible, but I forgot the command line. Is possible to see on the hardware status leds within AIX?
0
votes
1answer
27 views

How to check whether my AIX is PPC OR PPC64?

My AIX machine is currently running on 6.1 OS. I would like to know whether it is on PPC OR PPC64, Is there any command other than arch which gives the information about PPC ?
0
votes
1answer
21 views

assistance with scripting list of users

I'm new to scripting, so far I've created this: #!/bin/sh ( echo List of users in PRD echo $(date) cat /etc/passwd | awk -F: '{print $1,$3,$5}' | sort | \ while read username uid gecos do echo ...
3
votes
0answers
92 views

SSH always refuses first connection attempt

There's an AIX box where I work and so I've not got any root access to it. When I connect to it using telnet I can get on fine. When I connect to it using SSH if I put in my correct password on the ...
1
vote
0answers
21 views

How to investigate TCP, domain socket and similar activity of a process in AIX

I have to collect as much information as possible about a running production system under AIX 5.3. This must not cause any downtime and I may not install any additional software. The final goal is to ...
0
votes
0answers
22 views

X11 oddness - Installer shows squares instead of text. Font issue?

Using X11 and launching of X applications generally works (using xming). However when launching websphere installation (IBMIM) the resulting gui interfaces shows squares instead of letters. Have ...
1
vote
2answers
101 views

grep or find a pattern in all directories [duplicate]

I have an account number 1234-5678, I am trying to find it in all files of directories. I used the below command but no result found. grep "1234-5678" */ Please can someone help me how to find it in ...
1
vote
0answers
23 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
1answer
19 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
20 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 ...
2
votes
2answers
38 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
83 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
25 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
17 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?
0
votes
2answers
19 views

AIX: mptconfig equivalent

On hpux i use mptconfig to show speed and other info about scsi controller. There is something similar on aix?
1
vote
1answer
48 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
51 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
64 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
3answers
232 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
16 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.
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 ...
1
vote
2answers
143 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
86 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
56 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
26 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
139 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 ...
0
votes
1answer
111 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 ...
1
vote
1answer
103 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
100 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
64 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
39 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
121 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
1answer
101 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
96 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
1answer
292 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 ...
0
votes
0answers
55 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
111 views

Perl fails to set locale on AIX 7.1

After setting user language to Chinese with GB18030 encoding in SMIT, the following env variable were added to the user's .profile: LANG=Zh_CN LC_MESSAGE=%l.%c ...
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 ...
0
votes
1answer
64 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
3answers
1k views

CPU and Memory usage monitoring for a single process

I need to monitor the CPU and Memory usage for a single process in an AIX server. The program runs 3 times a day. I need to find the way to capture statistics within some time intervals, lets say ...
1
vote
0answers
16 views

AIX cluster show swing filesystems

I am working on applications on an AIX 6.1 two-node cluster, with an active and passive node. Is there a command that will show me which mount points / file systems are shared and 'swing' from one ...