Questions tagged [aix]

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.

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.

Resources

1819 questions
0
votes
2 answers

Get the local user during ssh session

Is it possible to display the local user on remote host? eg.: local_user@ownpc$ ssh remote_user@server then echo $some_variable_containing_local_user that results local_user Purpose: I have a very limited read access to a UNIX server, i'd like to…
Adam Voga
  • 124
  • 9
0
votes
1 answer

How to include forward slash in IBM AIX vi search & replace

I have a file that contains the string ~/adminscripts/stderrtrace.txt, and I want to find it and delete it. But here's the catch: I'm on IBM AIX, which doesn't use Linux's vim, it uses the old 80's vi from System V UNIX, and that variant does not…
RAKK
  • 506
  • 5
  • 10
0
votes
2 answers

Need link for downloading firefox 24 on AIX

I need to install Firefox 24 on AIX 7.1. Could you please help me to get the link from where I can download the same.
user3594891
  • 23
  • 1
  • 7
0
votes
1 answer

How to Set content length of mail in AIX

We have a java utility which is used to extract mail attachments in Unix. Its running fine in Solaris environment. It takes input as mailbox file location which contains the mail stored as a queue. Based on the subject which is passed as arguement…
Naman
  • 129
  • 3
  • 13
0
votes
1 answer

Cache hit or miss rate in AIX

Is there any command to find out how my AIX box is doing in terms of Cache hit/miss. I am using IBM Power 7 system. OS is AIX 6.1. I want to check if the SMT value [set to 4] is optimum.
Soumya Das
  • 109
  • 1
  • 1
  • 8
0
votes
0 answers

Memory utilization by C pipe

Is there a way I can find out exact memory consumption by a PIPE opened by my process. I can run svmon with the pid on AIX and tried to map the segment with the PIPE utilization, but so far I am unable to, as the size of memory - which I think…
Soumya Das
  • 109
  • 1
  • 1
  • 8
0
votes
2 answers

Preventing symbols from being stripped in IBM Visual Age C/C++ for AIX

I'm building a shared library which I dynamically load (using dlopen) into my AIX application using IBM's VisualAge C/C++ compiler. Unfortunately, it appears to be stripping out necessary symbols: rtld: 0712-002 fatal error: exiting. rtld:…
smountcastle
  • 620
  • 5
  • 14
0
votes
1 answer

std::to_string is not declared compile error in aix

I am compiling my code in AIX env.. it givs me error "std::to_string" is not declared successfully compiled same code in Windows. define LOG_MSG(message) CLogManager::LogMessage(CLogManager::CurrentDateTime() + " - " + std::string(__FILE__) + "[" +…
user2991556
  • 115
  • 1
  • 10
0
votes
1 answer

Ksh nested substitution

I have the following configuration file: export PROFILE_ACTIVE=0 export PROFILE_SCSADP01[0]="0 84" export PROFILE_SCSADP04[0]="85 170" export PROFILE_SCSADP05[0]="171 255" export PROFILE_SCSADP01[1]="-1 -1" export PROFILE_SCSADP04[1]="85 170|0…
Duncan_McCloud
  • 543
  • 9
  • 24
0
votes
2 answers

unix - shell script not executed in a proper order if executed in same time

I wrote shell script in AIX 7.1 and it's not executed in a proper order. The shell script is receive 2 parameter $param and $filename listoffiles='ls ${param}/*.txt' awk 'FNR-1' ${listoffiles} >> ${param}/${filename} mv ${param}/*.txt…
Kioels
  • 51
  • 1
  • 11
0
votes
1 answer

getopt is not working on AIX as it does in Linux

I am using getopt in a bash script that works fine on Linux. However, when it is executed on AIX, the output is not the same: AIX output TEMP=$(getopt -o d:hi: --long database:,help,instance: -n ${APPL_NAME} -- "${@}") getopt -o d:hi: --long…
AngocA
  • 7,655
  • 6
  • 39
  • 55
0
votes
1 answer

Refresh directory Size in Linux

I have delete all files older than two days from my directories using: find . -mtime +2 -exec rm {} \; the files got deleted fine but the size of the directories has not changed is there anything I can do to refresh the size? I have tries pwd but…
Stanley Mungai
  • 4,044
  • 30
  • 100
  • 168
0
votes
2 answers

AIX Continuous Log Monitoring

I have a simple requirement to keep monitoring a log file and when certain term appears in it, send a JMS message. I have used the code (checkScript.sh) below and it works perfect until the midnight when an archiving script kicks…
aadi
  • 98
  • 1
  • 1
  • 9
0
votes
2 answers

Can't get JRuby to work on AIX machine

I looked everywhere and I can't find any help on how to get JRuby to work on AIX. I tried unpacking the binary package, tried using the jruby-complete.jar but I stumble on the same problems. All errors seem to occur because JRuby is looking in the…
hgorni
  • 91
  • 1
  • 6
0
votes
1 answer

Search string in files in cron jobs unix

I need to search a string '025' in a list of cron jobs. I need the output of all the files that contain this string. I am not too sure which directory has the list of all these jobs as I just access them by crontab -l or crontab -e. I tried grep…
niceguy
  • 99
  • 1
  • 11