hey frnds I am trying to migrate a bash script over the AIX machine , but was getting error with ps and read commands, so I make the few changes in script and have also chnaged the shell from bash to ksh [changes I made can be noticed in comments]
below is my script
-------------------------------------------------------------------------
but now this script is not working as expected on AIX machine...it just get out without any response after run...and the process which I want to kill is seems running without any effect.
Please me in this problem......
Last edited by methyl; 03-28-2012 at 05:10 PM..
Reason: please use code tags
I suspect someone was just using -e habitually since it's a complete no-op here -- it only works for terminals. It enables things like command-history for that particular read instance.
On the Bash screen I was using commnented line code i.e
read -e line
here -e option is use to get the input from the terminal.
---------- Post updated at 12:28 PM ---------- Previous update was at 12:25 PM ----------
I was using read -e in the bash format becuase I was trying to read the output of ps -eflw from the terminal to any array
later from that array I was trying to get column [3] value that is PID value
Hi all,
I have this weird notion that upgrading the TL does not cause the machine to wipe, but upgrading a major version (from aix 6 to 7) means it's actually a fresh install and will wipe the date and i have to install the software again (TSM server, for instance). Trying to google it, i came... (3 Replies)
What is the best way to move all user, with permission etc... from a old linux redhat 5 to a new redhat 6 machine. It is as simple as coping the etc/passwd file etc.. ? (4 Replies)
HI ,
We are in process to migrate from UNIX to AIX 6.1 version . I need to understand differences between commands that are used in UNIX and AIX.
I want to make sure AIX has all command options avaliable from HP Unix.If any mismatch it should be addressed .
Since many commands are used it... (2 Replies)
Guys,
We are planning to upgrade one of our NIM server to AIX 6.1 from 5.3...
Since the server itself is a NIM Server we can't perform it via NIM & I'm choosing to do CD install.. The Install method would be Upgrade installation.
Is there anything special that I need to consider before... (5 Replies)
:(
Hi Grue, I am very new in AIX/UNIX environment. Please give me answer that during the upgrading or Migrating to 6.1 the AIX Server the applications of this server is accessible to Apps users or not? Thanks (2 Replies)
Hi All,
I am currently facing new problem of migrating C(c language) application from AIX machine to Linux machine. We are using GCC to compile the source code..
But facing with the compilation issues, with lot of GCC C libs differing between AIX box to Linux box...
Pls help me... (3 Replies)
Hi,
my requirement is to migrate easytrieve running on Z/OS to AIX platform.
can anyone let me know what changes should be made if we do such a migration. (0 Replies)
hi,
i have a script that runs on bash and would like to run it on a machine that has csh and bash. the default setting on that machine is csh. i dont want to change my code to run it with a csh shell. is there any way i can run the script (written in bash) on this machine? in other words is there... (3 Replies)
Hi all,
I was wondering if anyone out there knew if it was possible to migrate users from AIX to Linux.
What we want to do is install OpenLDAP on a Linux machine and port all the users over to LDAP. I've googled around and could only find a few things, such as mrgpwd - but that only comes... (0 Replies)
I'am migrating from AIX 5.1 to 5.3 during migration installation a receive message enough space for dir /usr.
My question is : how i can resolve this problem ? i can't reboot my server i hope that there is a command to obtain a spece without go out from installation procedure pannel...
I'am... (0 Replies)