08-24-2012
Quote:
And what happens when you use at (with nohup and &...) to launch your script?
Do you mean using the "at" command?
Thanks.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi,
I'm using a bourne shell to kick off a 3rd Pty app. This app uses Orbix. When I exit from the telnet session which started the app or hit CTRL-C at the command line, the orbix process dies, yet all other process remain.
I've tried starting the app as a background process, but it still... (1 Reply)
Discussion started by: edgarm
1 Replies
2. Shell Programming and Scripting
I have a script that performs an oracle export:
<snip>
if
then
exp / full=y file=${exp_file} log=${exp_log} direct=y feedback=1000000 STATISTICS=NONE buffer=20000000
else
exp / full=n owner=${schema_name} file=${exp_file} log=${exp_log} direct=y feedback=1000000... (4 Replies)
Discussion started by: Squeakygoose
4 Replies
3. Shell Programming and Scripting
There is a sh file called "agg.sh",
this is a kind of negative scenario, this script would fail as expected, but the problem is that after executing the script the following o/p is displayed continuosly without returning the control.We have to press "crtrl+c" to exit the script.
... (3 Replies)
Discussion started by: villain41
3 Replies
4. Programming
Im sure it has something to do with the wait() call, but everything ive tried either leaves me with a zombie or with the exec executing indefinitely.
switch(pid = fork())
{
case -1:perror("fork failed");
exit(1);
case 0:
if(key == "cd")
{
execl("/bin/cd", "cd",... (2 Replies)
Discussion started by: p00ndawg
2 Replies
5. Shell Programming and Scripting
hi,
I have a job that spawns multiple child processes in background.. Catch is i want to wait for some jobs to finish before i spawn more background processes. (each job creates a file and deletes at the end of it . so i don't want start new jobs after x amount of disk size is used up)
now,... (2 Replies)
Discussion started by: ak_saravanan
2 Replies
6. Shell Programming and Scripting
File1 --> into shell file for processing --> file2
I have finished the work on my shell processing script, but I need to call this from a form -->cgi-bin, have the form wait/process bar while processing occurs (5-10 seconds) and then have the shell exit gracefully while transferring to the new... (1 Reply)
Discussion started by: dba_frog
1 Replies
7. Shell Programming and Scripting
Hi,
I've searched the related threads both in this forum and others in google and found the solution to be working too in most of the places. But somehow it's not working for me.
$cmd | tee -a $LOGFILE &
pid=$!
wait ${pid}
ret=$?
echo "$ret"
I want the exit status of the $cmd.... (8 Replies)
Discussion started by: ashwini.engr07
8 Replies
8. Shell Programming and Scripting
Hi All,
I have a peculiar requirement as follows,
I have a some hosts on which i have to run a script, so i am using the following code piece
for i in $HOSTLIST
do
ssh ${i} "~/task.sh"
done
Now i want to run this same thing in parallel on all the hosts and then monitor the ssh process... (1 Reply)
Discussion started by: mihirvora16
1 Replies
9. Shell Programming and Scripting
Hi all, i hava a specific backgroud process. I have de PID of this process. At some time, the process finish his job, is there any way to catch the exit code? I use "echo $?" normally for commands.
Thanks! (2 Replies)
Discussion started by: Xedrox
2 Replies
10. Shell Programming and Scripting
friends when I call to a procedure where DBMS_OUTPUT.PUT_LINE bd are having the procedure? (4 Replies)
Discussion started by: tricampeon81
4 Replies
pseudo(1) General Commands Manual pseudo(1)
NAME
pseudo - Starts a non-STREAMS pty interface for a STREAMS device
SYNOPSIS
pseudo [-l] [-shell shell]
OPTIONS
Starts a shell process as the login shell. By default, the command starts this process as an interactive shell. Specifies the shell to be
started. By default, the command starts the shell set by the SHELL environment variable.
DESCRIPTION
The pseudo command provides an appropriate interface for STREAMS tty devices that are installed on systems configured to use the non-
STREAMS pty driver.
The pseudo command opens a pair of master and slave pty devices, and starts a shell process. The command's options allow you to override
the default shell specification and to specify that the process be started as a login shell.
NOTES
The pseudo command is available only when one or more of the Tru64 UNIX optional subsets with worldwide support software are installed on
your system.
In order for the pseudo command to provide a non-STREAMS pty interface for STREAMS devices, the system must be configured to use the non-
STREAMS pty driver. If the system is configured to use the STREAMS pty driver, the command provides a STREAMS pty interface.
SEE ALSO
Commands: stty(1)
Interfaces: pty(7)
pseudo(1)