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
220 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?
4
votes
1answer
451 views

How can I set an e-mail's headers using /usr/bin/mail?

I have a bunch of scripts on an IBM AIX server's crontab that call the mail command to send myself an e-mail, kinda like this: $ mail -r myon@hakugyokuro.gk -s "Results for `hostname`" ...
2
votes
0answers
95 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 ...
4
votes
1answer
9k views

How to set password for users in AIX using single line command?

Is there any way in which I can set the password for a newly created user account in AIX in a one line command? I don't want to give any prompt to the user. If there is a command, it should set the ...
5
votes
3answers
308 views

Perl alternative for screen/tmux for the UNIX world?

What happens when a screen/tmux-like solution is needed (to leave a process running for a long time, but not with nohup because interaction could be needed) - but screen/tmux is not available on the ...
1
vote
1answer
2k views

Is there any way to check df -k hanging for nfs mount issues?

I am trying to write a script for such failure scenarios. In a scenario where maybe, if remote connection is lost, df waits for the remote server to respond (looks like df is hanging). I know I could ...
1
vote
1answer
202 views

Is there a way to see which process invoked a shell script?

Is there a possibility so see from some unix log file what process have invoked a bash/ksh shell script or is this shell script invoked manually from command line? So is there some log file which ...
1
vote
0answers
336 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 ...
2
votes
0answers
37 views

Is there a standard POSIX way of doing `tac` [duplicate]

Looks like at least IBM AIX and HP-UX don't have the tac command by default. Is there a way to do this using just basic posix standard shell utilities available on all UNIX systems? Furthermore, is ...
1
vote
1answer
332 views

numfsbufs and mount/remount of File Systems

What is the right the procedure to set the numfsbufs parameter? The current value of the parameter is 196 App_Server:>ioo -o numfsbufs numfsbufs = 196 The details of the server (prtconf ...
1
vote
2answers
87 views

How to backup all installed software/packages on AIX?

Are there any ways to backup all the packages on an AIX 6.1 machine?
4
votes
3answers
4k 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 ...
2
votes
3answers
3k views

what is the required ports to be opened on the firewall?

Currently I'll be installing one AIX server behind a firewall, I just asked to open port 443 to use the SSH protocol to access this UNIX server. I already changed the default ssh port to be 443 ...
2
votes
1answer
604 views

sudo hangs when run on remote host over ssh in a script without tty (-t)

I have an AIX 6.1 server where I need to run a remote sudo command in a bash script. Here is my bash script simplified: testSudo.sh #!/usr/bin/bash set -x sudo env I can run the sudo command ...
4
votes
4answers
1k views

How to find out what is wasting space on “/”?

I can find out what is wasting space with this: du -sm * | sort +0nr | head -30 But what if "/" is filled 100%, and there are many mountpoints, ex.: /foo, /foo2, etc. How can I get a list of ...
1
vote
1answer
327 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
354 views

AIX and Subversion

Very basic question regarding AIX and Apache Subversion: I need to install an Apache Subversion client onto an AIX 4.3 system. (Yes, this is a rather old version of AIX; the story is too long and ...
0
votes
1answer
109 views

Gnu Screen and vi - visualization issues

The scenario is as follows: gnu screen launched onto a scientific Linux distro ssh to an aix machine tried to edit a file with vi And this is what I got: "ex: 0602-108 screen is not a ...
5
votes
3answers
2k views

Preventing propagation of SIGINT to Parent Process

Considering a scenario where a Parent program (could be a C++ program or a Shell Script) executes a Child shell script, when we hit Control+C (or whatever character is configured to be the INTR ...
1
vote
1answer
221 views

AIX why does ps display the process name between square brackets? [duplicate]

On AIX 7 I have a process whose name appears between square brackets in the ps output: PID TTY TIME CMD 7798784 pts/2 0:00 [myproc] 9044154 pts/2 0:00 ps 10485770 pts/2 0:00 ...
1
vote
1answer
654 views

Using awk to parse AIX's lsuser output in stanza format

I'm creating a simple awk script to parse AIX's lsuser -f ALL output and return information in one line. A sample of the output is something like this. root: id=0 pgrp=something ...
0
votes
2answers
41 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 ...
3
votes
1answer
261 views

Why is uname -M returning an empty string?

On the exact same machine (AIX 6.1), in 2 different login shells (both ksh), with different user IDs, I can do uname -M; in one shell I get the system model. In the other shell I get BLANK! The only ...
0
votes
1answer
154 views

How to blacklist an errpt entry? (so that it will now show up in errpt)

On an AIX 6.1 OS: LABEL: CONSOLE IDENTIFIER: 7F88E76D If we need to blacklist these kind of errpt entries then how can we do it?
3
votes
1answer
2k views

Installing ksh as the standard shell in Redhat: Foolhardy?

I'm not a system administrator, but my organization is considering replacing /bin/sh in Red Hat Enterprise Linux 6+ with a hard link to /bin/ksh. How foolhardy would this be? The background to this ...
3
votes
0answers
149 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 ...
1
vote
2answers
2k views

How to search files where two different words exist?

I'm looking for a way to search files where two word instances exist in the same file. I've been using the following to perform my searches up to this point: find . -exec grep -l "FIND ME" {} \; ...
0
votes
1answer
332 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 ...
1
vote
2answers
355 views

Why rm command unrecognized w flag in AIX?

I have a bash script that retain the last 5 copies in AIX like this: rm `ls -lt /path/the_file_* | tail -n +6` But I get this error: rm: Not a recognized flag: w UPDATE The ls command return ...
2
votes
2answers
343 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 ...
1
vote
1answer
118 views

File size conflict

I am new to UNIX and have a doubt about file size in UNIX (AIX). ls -ltr shows me fileA size as 59096. As per my knowledge this is in bytes ,so it is nearly = 0.06 MB However, a script which should ...
2
votes
1answer
1k views

How to use Extended ACL's on AIX?

Using AIX (6.1) FTPD, a user needs to log in and it should only reach 2 directories (read/write) in the system, ex.: /foo/sth1 and /foo2/sth2 Besised the users home directory it shouldn't reach ...
2
votes
2answers
1k views

Del key in AIX ksh over PuTTY telnet

At the place where I work we're developing under AIX with ksh and connecting to it via telnet. Most people use ArcTel to connect, while I prefer PuTTY. The only problem I have with PuTTY is that the ...
1
vote
1answer
252 views

Several groups can have the same groupID?

0:root@SERVER:/root # grep 300 /etc/group ipsec:!:300:admgrp 0:root@SERVER:/root # ?? Several groups (ipsec/admgrp) can have the same groupID (300)?? how can this be? /AIX 6.1/
1
vote
0answers
182 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 ...
5
votes
2answers
3k views

sshd process inoperative

I have an AIX server which suddenly stopped servicing SSH connections. When I try to start the service through startsrc -s sshd it says: 0513-059 The sshd Subsystem has been started. Subsystem PID is ...
1
vote
2answers
961 views

Max password size in AIX 6.1

I found on the AIX documentation some rules to set about passwords length : minlen Defines the minimum length of a password. The value is a decimal integer string. The default is a value of 0, ...
6
votes
3answers
2k views

Package manager for AIX

While installing Subversion on AIX (version 7.1) from the official site, there are dependencies I need to resolve first before I can proceed to install the subversion package. While installing the ...
1
vote
3answers
3k views

How to run the most recent command on AIX?

How can I run the most recent command again from history in AIX Server? And how to edit the most recent command and run it again in AIX?
0
votes
2answers
338 views

sudo: script launched from another script won't redirect standard output

I'm using AIX 5.3 with sudo 1.6.9p23. Sudoers file grants user fcomartin permission to run any command as user oas: fcomarti ALL=(oas) ALL User oas has a bash script called menu, which launches ...
3
votes
2answers
2k views

Skip first 3 byte of a file

I am using AIX 6.1 ksh shell I want to use one liner to do something like this cat A_FILE | skip-first-3-bytes-of-the-file I want to skip the first 3 bytes of the first line, is there a way to ...
1
vote
3answers
677 views

What logs would be written if file system is full in UNIX?

I am working on a unix server and I guess during some time in past the file system had been full. However, I need some solid data to prove it. Will there be any OS logs or something of that sort to ...
3
votes
3answers
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 ...
2
votes
2answers
330 views

Find when a hard disk was first installed

What's the command in AIX to find the first time a given hard disk was installed?
4
votes
1answer
1k views

Validate AIX Password for root from script

Looking for a way in a shell script to validate the password for for root on an (AIX) matches a standardized plain text password. This query is similar to another one on this site. I have access to ...
3
votes
1answer
1k views

AIX 6.1 JFS2 Oracle files system, not using much files system cache

I am running Oracle database on AIX 6.1, Oracle using JFS2 file systems. Maxperm is set to 90%. This is busy database server, but it is not using the file system cache (less then 2%). The system has ...
2
votes
0answers
442 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 ...
5
votes
1answer
568 views

Redirect terminal output to image file

I need to programmatically run some unix commands and get the output in a image file, the format could be png or jpeg (jpg). The commands are run in an AIX (IBM *nix) machine. I don't have ...
1
vote
1answer
705 views

How to disable live shell session command history under AIX 5-6?

It's okay that there are history files logging the commands that has been used. That't not the problem. The problem is that when 2 admins are logged in to an AIX server then it could be bad: If ...
0
votes
3answers
3k views

copy logical volume from one volume group to another

I want to copy a logical volume from one volume group to another on AIX. How can I do this? Is copyvg the right command?