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
30 views

Decrease time taken to execute script remotely [on hold]

I have 2 scripts on my prod AIX server, one to suspend db and another one to resume db. When I run the scripts from the prod server the suspend and resume completes in 2 secs. For backup purposes I ...
-2
votes
1answer
9 views

linux on aix dont work pgrep -lf ora_pmon

pgrep -lf ora_pmon ksh: pgrep: not found. somebody know who to change the code without pgrep this is the result on another Os pgrep -lf ora_pmon 4104 ora_pmon_dbpicsr 5092 ora_pmon_dbpiss2r 14393 ...
2
votes
3answers
219 views

AIX tar error: There is not enough memory available now

I have an AIX P720 server running AIX 5.3. When running tar -xvf /dev/rmt0 extracting from tape (IBM TS3100 Tape Library), I get the following error: "There is not enough memory available now". It ...
5
votes
2answers
69 views

How to find one word and sequentially replace it?

I am running AIX 5.3(not by choice, but I cannot change it), and I have a text file: servers.txt Here is an example of the file's contents: apple port1 username password IPAddress TCP banana port2 ...
-1
votes
0answers
35 views

HMC Network boot Lpar using BOOTP to prompt for TSM System backup and recovery

I have a Lpar which i have booted using sms mode and the ping is fine, I used Network method BOOTP Service using normal mode boot when the server boots it should prompt to select the terminal instead ...
3
votes
3answers
135 views

printing a block of text that matches a pattern

Using just shell script, how to search a text file and list all whole blocks of lines that has inside some text (simple grep criteria). The text file has blocks of lines separated by ...
0
votes
1answer
30 views

Format the output of awk command

I have to format the output of the awk command which gets the input from a file Sample Input File 123 ABC 12 23 34 45 56 67 78 13 234 DEF 23 34 45 56 67 78 89 345 GHI 34 45 56 67 78 90 10 01 99 456 ...
0
votes
1answer
39 views

Power 7/8 - LPAR has null desired_proc and desired_mem

I am querying the HMC via commands to get the memory and cpu of the logical partitions. I am using the command lssyscfg. For many lpars which are in Running or Not Activated status, the command ...
1
vote
3answers
51 views

Remove first and last character if present

I need to remove the first two characters of every line in a file ( always the same ) and the last "/" if it is present. Input is, in the file F1 : ^./inst/oracle/ ^./tmp/ ^./inst/maj/ ^./mkcd ...
3
votes
2answers
113 views

need to replace a file contents

I am stuck in a situation. I have a file script.txt with contents $cat script.txt SET TABLESPACE CONTAINERS FOR 3 -- IGNORE ROLLFORWARD CONTAINER OPERATIONS USING ( FILE ...
0
votes
1answer
51 views

Where is my .sh script syntax error(s)?

Trying to run a small simple script to pull the java -version information from an AIX system's several java64 folders piped into an output/log file using the system's hostname but can't seem to get it ...
1
vote
1answer
50 views

Fast question about NIMOL(nim on linux)

I want to install aix71 client using nimol,i read somewhere only 5.3 clients were supported But i found this on aix71 cd,is possible to install aix 7.1 with nimol?
1
vote
1answer
28 views

How to schedule gap between shutdown and bringing up a AIX 6.1 host ?

I wan to shutdown an AIX 6.1 server immediately and then bring it up after 4 hours automatically ? Is that possible with shutdown command ?
0
votes
0answers
37 views

“Cannot reallocate” when create file?

Am trying to create excel sheet base on multifiles on a root, I read files line by line append in the final excel sheet. Am trying this shell script on small files and it worked 100% bu when I try it ...
0
votes
1answer
37 views

filename.gz installation on AIX

I use sudo tar xvzf forwarder.tar -C /opt/ on Linux and this works perfectly then I proceed with a . /splunk start to install a forwarder file. While in AIX, its forwarder is in .gz format and ...
0
votes
0answers
50 views

How to do data transfer speed test between two AIX LPARs

I have four LPARs connected via High speed inter-connect called Infiniband. It uses RDMA protocol for data transfer from one LPAR to another. I need a method to test the transfer speed. One solution ...
1
vote
1answer
46 views

set -A command not running in Linux

if [ $UNITS = day ]; then while ((OFFSET > 0)); do if (( OFFSET >= day )) ;then month=$((month - 1)) if (( month == 0 )) ;then year=$((year - 1)) ...
1
vote
3answers
57 views

Audit simultaneous logins in AIX

We are in a banking enviornment and our core system is based on AIX. Multiple users are logging in with the same userID at the same time using SSH. I know I can see who SSHed into the system from ...
1
vote
0answers
97 views

ftp: connect: The file access permissions do not allow the specified action

cannot ftp through port 21 Get below error when trying to ftp ftp: connect: The file access permissions do not allow the specified action. Has any one came across above error and having any ...
0
votes
2answers
28 views

De-install NFS Client in AIX6

De-install NFS Client is not happening . I am using below command : # installp -u bos.net.nfs.client and getting error as below : ======================================= << End of Failure ...
0
votes
0answers
46 views

ksh script to ftp file to remote directory script

hello I have this script, basically I need to ftp to remote server only the new files for example that will be generated today or by date, so it does not import the old files, just the new ones I have ...
0
votes
2answers
66 views

mv files older than 8 days in ksh script [closed]

need help to create script in KSH to mv files to other directory in same server older than 8 days they all .CSV
1
vote
1answer
26 views

AIX show package content

I have those filesets, they are not installed. memdbg.adt memdbg.msg.Ja_JP xlC.msg.en_US xlCcmp.13.1.2.lib xlsmp.msg.EN_US.rte xlsmp.msg.Zh_CN.rte memdbg.aix53 memdbg.msg.JA_JP ...
0
votes
0answers
76 views

aix: large files

/opt/freeware/bin/ls //media/nfs/slack64/pubblica /opt/freeware/bin/ls: cannot open directory //media/nfs/slack64/pubblica: Value too large to be stored in data type This happen with coreutils-8.23 ...
1
vote
1answer
74 views

ps aux on aix,how to get PPID?

I know is possible with ps -ef But i want to get it with ps aux How to do it on aix? Thanks
1
vote
1answer
152 views

AIX and oracle: aioserver process won't die

When shutdown an oracle server I see this error message at exit umount /oracle/ umount: error unmounting /dev/oracle: Device busy lsof and fuser report nothing but ps aux|grep oracle report this ...
0
votes
1answer
195 views

What is Iused in df -kg on UNIX?

What is Iused column when running df -kg command on AIX server? @:/logs #df -kg Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/hd4 1.00 0.61 39% 6103 ...
0
votes
2answers
49 views

find /mydir/tmp/*20151014* -print | xargs grep -l 'filesTransmitted=1' throws error

The command throws error: $ find /mydir/tmp/*20151014* -print | xargs grep -l 'filesTransmitted=1' bash: /usr/bin/find: The parameter or environment lists are too long. Is there any optimal command ...
4
votes
2answers
70 views

Can an AIX user that appears in etc/group but not etc/passwd still log into a server?

Looking at etc/group and etc/passwd files, I see accounts listed in various groups in the etc/group file that do not appear in the etc/passwd files. Can these accounts still log in to the AIX server?
1
vote
1answer
111 views

How can I see history of the “at” command in AIX?

I'm experiencing a strange problem where occasionally the at command appears to not be running the command I've configured it to run. For example: at -t 201510071042 runsomescript <Ctrl-D> ...
2
votes
2answers
176 views

linux equivalent to AIX proctree command to show all child and parent processes of a given PID

Sometimes I'm looking for an equivalent for the AIX proctree command which displays all children and all ancestors of a specified PID and can be sometimes quite useful for troubleshooting purposes. As ...
2
votes
1answer
43 views

Shell Script - Redirected output to a file and results are not as expected in first run

I have redirected the output of the command which returns some times 2 rows, 5 rows.. 100 rows etc in the file.. and i will use this file in if condition later to check some other conditions.. ...
0
votes
3answers
70 views

Avoid pgrep in sh

#!/bin/sh ALTER="$1" NAME="$2" for pr in $(pgrep $NAME); do elapse=$(ps -o etime= -p $pr) [ "${elapse%-*}" -gt "$ALTER" ] && echo $pr done I am running this on AIX which doesn't ...
2
votes
1answer
108 views

How to get list of files with not having search string [duplicate]

I have a requirement to display all files in a directory which doesn't have CountOfFilesTransmitted=0 string in them. If I give below command it gives only those files which has ...
0
votes
0answers
137 views

AIX ssh issue can't able to login

I cant able to do ssh as normal users except root . I tired with password as well . its logged in successfully and throw me out . Here is the error message i got. ...
0
votes
0answers
40 views

Mail from another server

On my development UNIX server mail server is not installed. I want to mail a file everyday which I create on development server. Now I am doing it manually by copying file to another UNIX server ...
0
votes
0answers
30 views

Encrypt traffic between enduser and application on AIX server

I have end users with Windows 7 workstations and they are using some special application (based on WS client - Oracle Tuxedo product) to connect Tuxedo server WSL service which listen on port 1419. I ...
1
vote
1answer
55 views

Replace or modify file contents at one shot

I have file where I need to modify some lines for every account. The line which I need to modify looks like as below: PstlInfo <some content> NNYYYN (Every account will have this line) the ...
2
votes
1answer
34 views

How to have a process queue in AIX like xargs with “--max-procs”?

Consider a simple processing queue like: cat list.txt | xargs -n1 -P20 process.sh (-P or --max-procs) How to have something like that in AIX ?
1
vote
2answers
101 views

Comparing directories using diff

I'm trying to compare two directories that contain binary files, on AIX 6. I'm using diff in preference to dircmp, as I'm trying to maintain a consistent output format between this and my Linux ...
0
votes
1answer
55 views

Compare size of file system

How to compare size of file system on 2 different servers Eg: Server1 Filesystem GB blocks Free %Used Iused %Iused Mounted on /dev/prddatalv 40.00 18.32 55% 65 1% ...
2
votes
1answer
51 views

How to find out what floods the terminal?

When logged in via SSH to an AIX 6.1: 0:root@SERVER:/root # Message from root on SERVER (UNKNOWN) [Fri Sep 18 08:00:17 2015] ... Message from qdaemon: : (WARNING) Connection to server failed. ...
4
votes
3answers
49 views

Open a file with line numbers in more (AIX)

How do I open a file in more mode with line numbers. I am using ksh on AIX for less I use -N but for more it is not working. less -N filename
0
votes
2answers
86 views

motd - UNIX - AIX - different welcome screens for diff users

is it possible to segregate different motd files for different users ? So Admin gets a different message and others diff one....
0
votes
2answers
306 views

Database: 0403-009 The specified number is not valid for this command

getting the error as Database: 0403-009 The specified number is not valid for this command. Code:: #!/usr/bin/ksh #set -x WORKFILE="/tmp/oatest.out" DDLFILE="/tmp/oatest.ddl" ...
0
votes
0answers
337 views

Cpu and memory utilization is high in Aix

Hello everyone, I have problem with my CPU utilization I am using sar command to know my cpu idle % in that idle percentage is null and %sys %usr utilizing more, I am trying to check with ...
0
votes
1answer
77 views

Need to capture part of file name into variable

I have bunch of CSV files named like so in a directory: s_m_u_supplemental_fields_account_9_4_2015_11_26_Error.csv s_m_u_supplemental_fields_account_9_4_2015_12_3_Error.csv ...
4
votes
5answers
482 views

delete folders older than 1 day

I want to delete all the folders that are older than 1 day with following command: find /test -mmin +1440 | xargs rm -rf But the output of find lists /test (and would remove it accordingly). How ...
1
vote
2answers
78 views

find path directory in sub directory

I want to find the path for directory name bbb where the parent directory called aaa For example /aaa/bbb /tmp/aaa/bbb /usr/bin/aaa/bbb /home/aaa/bbb /home/aaa/xxx/bbb So i wrote something like ...
2
votes
1answer
45 views

Can a process bring itself back to the foreground on completion? (AIX/ksh)

I have a while loop to count to 5 and echo "Done" when finished. I want to be able to execute the script in the background with "&" and continuing issuing commands while it runs. But when it's ...