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

2
votes
4answers
1k 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 ...
5
votes
2answers
705 views

How to mass change password attributes in AIX uname -rv=3 5 for all users but root

I want to do a mass change on all users but root in AIX for the following "password attributes": Weeks before password reuse: 15 Password min length: 6 Can it be done, or do I need to do them one ...
2
votes
2answers
174 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 ...
0
votes
2answers
1k views

CPU usage monitoring in AIX servers

In order to monitor the CPU usage in an AIX server I'm using the following script that is executed every 10 mins. lparstat 2 10 > cpu usage=$(tail -10 cpu | awk 'BEGIN {sum=0;} {sum+=$4} END{print ...
0
votes
2answers
36 views

How to launch a program in text only mode if it support silent running

I have got a java program, which support text file input and auto running, can i put it in background running without GUI ? It prompt cannot set display. while there is no concern to view the ...
2
votes
1answer
310 views

AIX 6.1 — Without root can I get the last failed login for a user i have access to?

I know the information is in the security files but I don't have access and it's more work then I want to do to go to our Unix admins to get the information (everytime the account gets locked which is ...
1
vote
1answer
167 views

How do you track memory usage in a ksh93 script

We have a number of ksh scripts that run forever (inside a while loop), or at least until a shutdown event is delivered to them. We had a project where these scripts where converted to ksh93 (and ...
1
vote
1answer
840 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 | ...
0
votes
1answer
22 views

Trying to change GID on AIX server

I am trying to change GID on Unix server "AIX". I want to change mygroupname:!:79002: from group GID from 79002 to 79003. I have permission to use sudo /usr/bin/chgroup. I have tried everything, ...
0
votes
1answer
112 views

Other than a kill command or a system kill(pid, signal) command, what can cause a SIGKILL to occur for a process?

My process is mysteriously getting a SIGKILL on AIX. Running trace on the system indicated the process got a signal sent by itself via the kill(pid, SIGNAL) system call. I checked my code and I ...
0
votes
1answer
32 views

Patching Process in AIX

I am new to the world of AIX and I am pretty unsure on how the patching process goes about. I just joined a new company and they are using AIX as their preferred OS (actually due to having all IBM ...
0
votes
1answer
158 views

0403-053 Expression is not complete; more tokens expected

I have this piece of code given below as a part of my main script if [ -e /tmp/rsm/Logs/filename_$$.txt ]; then { total=0 for files in $(<filename_$$.txt); do #cd /tmp/rsm/Logs docs=`grep -i ...
0
votes
1answer
262 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 ...
0
votes
1answer
107 views

No virtual memory (-v) item in output of ulimit -a

When I run command ulimit -a, I see no virtual memory item in the list of output of the command. It is unlimited for some user IDs though. Does that mean I am assigned no virtual memory?
0
votes
1answer
205 views

AIX UNIX 64 bit connecting to Microsoft SQL server 2008R2 Server

I am having AIX 64 bit Unix machine and I need to connect to Microsoft SQL SERVER 2008 R2 database. I dont have any Drivers and TDS installed in my machine. What all tools I need to install including ...
3
votes
0answers
122 views

AIX install Mercurial no root

Is is possible to install Mercurial on AIX system without root? I'm an ordinary user of our colleges IBM cluster and in there I fond no version control software. Could you show a brief guide of how ...
3
votes
0answers
302 views

VMO Changes After Adding New RAM To AIX?

We have a server at a client site running AIX 5.3, which we just up the RAM to 32GB, from initially 16GB (if I'm not mistaken). This server is our Application server running J2EE applications on top ...
2
votes
0answers
30 views

Is there an equivalent of addr2line on AIX system?

I'd like to debug proftpd on AIX and according to the documentation, addr2line is a usefull binary to identify what is not working. Extract of proftpd debugging documentation: The key here for ...
2
votes
0answers
29 views

AIX NIM Master replicate / sync fails to an Alternate Master

I am getting a error when I try to replicate / sync my NIM database and resources to an Alternate NIM Master newly created in my environment: error replicating resources: unable to ...
2
votes
0answers
107 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 ...
2
votes
0answers
64 views

PowerVM lpar specific cpu/mem info

I want to get the CPU and memory allocation information from lpars of PowerVM through HMC. I have used lshwres -r proc -m <ms> --level lpar lssyscfg -r proc -m <ms> The fields of ...
2
votes
0answers
349 views

Validate Password for user account from shell script

Application is for a multiple server standardization script Looking for a way in a shell script to check if the password for an OS account (AIX) matches a standardized plain text password. The ...
2
votes
0answers
408 views

Enabling multicast communication between 2 AIX JVM processes

I'm having trouble with multicast distribution on a single AIX machine between two JVM processes. Think ehcache or jgroups. In order to enable on Mac OS X: route add -net 224.0.0.0 -interface lo0 ...
1
vote
0answers
45 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" ...
1
vote
0answers
70 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. ...
1
vote
0answers
113 views

How different is I/O handling of hard disk in AIX and Redhat Linux?

I am running a hadoop I/O workload in redhat linux and have ran that in IBM AIX as well with same underlying hardware, disk and disk configuration. With the default settings on the os redhat linux is ...
1
vote
0answers
191 views

why cannot read /dev/console after reboot AIX

I use < /dev/console when running Micro-Focus cobol programs in background cron jobs instead of < /dev/null because then we don't get an warning about the input file not supporting ioctl. The ...
1
vote
0answers
126 views

AIX auditing for LDAP users

I've discovered a problem with the way AIX uses auditclasses to determine which system calls are audited. If a user is defined in LDAP, their auditclasses attribute is blank. I found an APAR which ...
1
vote
0answers
555 views

How to kill a ghost process? AIX 6.1

oslevel: 6100-05-01-1016 according to topas: root 1769602 1 93 20 112 0 128 32498:07 87.1 0 0 ldmp_pro according to ps: -bash-4.1# ps -ef | egrep -i "1769602|ldmp" ...
1
vote
0answers
448 views

AIX multihomed multicast

On my AIX machine if I run netstat -ia I get: Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll en0 1500 link#2 1e.18.1.1e.78.2 385229 0 1091655 0 0 ...
0
votes
0answers
29 views

AiX topas snapshot to web

My script for taking snapshot from TOPAS looks like this: #!/usr/bin/bash whoami export TERM="xterm" (sleep 3; echo q)| topas -Emi 2 | \ tr -d '\r' | \ ...
0
votes
0answers
23 views

Setting max coredump size on AIX doesn't work

I googled to set the coredump max size on AIX to 20 MBytes: 0:root@SERVER:/root # su - username $ ulimit -a time(seconds) unlimited file(blocks) unlimited data(kbytes) 131072 ...
0
votes
0answers
56 views

File change notification in AIX

Is there a way to get notified immediately when a file changes , in AIX? For example, I have a text file , which a script file writes its exit status to. I want to get notified almost realtime, when ...