05-05-2016
Rephrase, please? I don't think that translated.
This User Gave Thanks to Corona688 For This Post:
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
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
3. 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
4. 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
5. 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
6. 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
7. 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
8. Shell Programming and Scripting
I decided to add this here as it's related to bash (IMHO) and not necessarily to JBOSS.
The problem started happening a few weeks ago on some of the test systems that I have. When I exit my shell (putty) it hangs forcing me to close the window, which then also stops the JBOSS server. I did not... (7 Replies)
Discussion started by: victorbrca
7 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. UNIX for Beginners Questions & Answers
Hello and thanks in advance for any help anyone can offer me
I've been reading up on process signal calls (sighup, sigint, sigkill & sigterm) and I understand they all have different methods of terminating a running process. From what I've also read is a exit() actually terminates a process. ... (2 Replies)
Discussion started by: bodisha
2 Replies
LEARN ABOUT DEBIAN
ns_setlocationproc
Ns_Location(3aolserver) AOLserver Library Procedures Ns_Location(3aolserver)
__________________________________________________________________________________________________________________________________________________
NAME
Ns_SetConnLocationProc, Ns_SetLocationProc - Set the location procedure to use
SYNOPSIS
#include "ns.h"
void
Ns_SetConnLocationProc(Ns_LocationProc *procPtr)
void
Ns_SetLocationProc(char *ignored, Ns_LocationProc *procPtr)
_________________________________________________________________
DESCRIPTION
These functions set the procedure to run when a call to Ns_ConnLocation is made. The location is defined in the form METHOD://HOST-
NAME:PORT, e.g. http://myhost.com:8443.
Setting the location procedure with these functions will cause all calls to Ns_ConnLocation to use the location procedure you define
instead of using the location procedure callback in the communication module for the connection.
There may be cases where you want to do this. For example, you could create a location procedure that reports on the values returned by
communication module location procedure callbacks. At the end of that procedure, you could then return that value after logging the infor-
mation making your location procedure is effectively transparent to the server and other modules.
Ns_SetConnLocationProc(procPtr)
Set the function to use when Ns_ConnLocation is called. This function is deprecated. Use Ns_SetLocationProc instead.
Ns_SetLocationProc(ignored, procPtr)
Set the function to use when Ns_ConnLocation is called. The ignored argument is reserved for future use.
SEE ALSO
nsd(1), info(n), Ns_ConnLocation(3)
KEYWORDS
AOLserver 4.0 Ns_Location(3aolserver)