i have an AIX 6.1 server which has Informix 11.5 Database Engine. When i want to export some databases from the instance for backup or for any other use i can do it with
(informix command). The problem is that when i run this command or when i run script which run this command, my screen shows the operation that is going on until the command finishes.
i tried to run the script with a & at the end to run in the background but i still see the same things. imagine that i want to run 13 scripts that do
in parallel. for now, in order to do that i have to open 13 different sessions to run each one of them in a separate session.
is there any other way that i can use to run all the scripts from the same session and run in parallel?
It was a long while ago that I worked on Informix but I recall that an Informix session took over the screen driver in order to work its status line. It was therefore impossible to run more than one session on the same telnet session.
One idea: If you are going to do this job regularly it's worth looking at the scripting language within Reflections. You could create 13 one-click icons to do the job.
Others may know a way of stopping an Informix dbexport taking over the screen driver.
thank you for your interest. i found a way of doing it.
i created 13 input files that contain the command
.
then i call these input files through a script by running the command
in this way i just run 1 script in 1 session and it calls all the input files one after another but they run in parallel.
This User Gave Thanks to omonoiatis9 For This Post:
Hello,
I am trying to login to multiple servers and i have to run multiple loops to gather some details..Could you please help me out.
I am specifically facing issues while running for loops.
I have to run multiple for loops in else condition. but the below code is giving errors in for... (2 Replies)
Hi,
I need to find all the executable shell scripts under /home dirctory and its sub directories.
I would like to print the path to the files , which include in the header of the file: #!
(Actually its the first line of the file).
I have tried :
find . -name "*" -type f -exec sh -c '
... (14 Replies)
I want to connect to a remote host using telnet
there is no username/password verification
just
telnet remotehost
then I need to input some commands for initialization
and then I need to repeat the following commands:
cmd argument
argument is read from a local file, in this... (1 Reply)
Hello community,
I created a script to simply query DB and then analize data. The environment where the script will works is two RedHat machines that access both to an external database. My script runs from the first crontab node. But what about if the first node goes down?
What I need is copy... (2 Replies)
Howdy,
I'm fairly new at bash scripting, but (for some reason) I've been tasked with building a bastion server and logging all (ssh/telnet) remote activity. Each session must create a unique log file - the name of each file must include the user ID, the connection method (ssh/telnet), the name... (2 Replies)
Hi,
We have a requirement wherein we do not want to share the Oracle DB sys and system passwords to be shared with the support desk.
But they will be responsible for starting/shuting down the Database.
Is it possible to write a shell script which will read the sys and system passwords from a... (0 Replies)
how can i start sam in TUI mode from a CDE session.
i'm using hp-ux 11iv3
i tried to start SAM from a terminal from CDE session but each time i try to start it System Managment Homepage starts , so i telneted to server from a pc to start sam in TUI mode is there any other way to set my SAM to... (2 Replies)
Good morning.
I have a tricky one here for me. Hope somebody can help.
I am looking for a way to take a single script in a directory and use it to fire all scripts within a subdirectory.
For example.
Lets say I have the following in /lcl/prd/apps
file1.sh
file2.sh
file3.sh
file4.sh... (2 Replies)
Hi people,
I have a Solstice Backup 6.0.3 installed in server X1 and one installed in server X2.
I need to start de recover in X2 and the somes files existing in X1.
- Well, i begin this process in X2 with
#nwadmin -s X1 &
and i select "Save Set/ Recover". I select the datas and click in... (0 Replies)