Ther are two process in my program and i want both to constantly running. So i have written the following code. But one of this process which is calling function wsJobCheck() is getting terminated with giving message : Program exited normally.
Can any one suggest why this is happing.
Code :
... (1 Reply)
Hi Everybody,
I want to create a shell script named as say "jip" and it is runned.
And i want that when i do ps + grep for the process than this jip should be shown as process.
Infact there might be process with name jip which is already running. (3 Replies)
Hell Sir,
This is chanikya
Is there any System call which behaves just like fork but i dont want to return back two times to the calling func.
In the following ex iam creating a child process in the called func but the ex prints two times IN MAIN.
ex :-
calling()
{
fork();
}
main()... (4 Replies)
I'm very new to UNIX, so I need some help please.
How do I create a zombie process with just basic UNIX commands (no script, C, PERL, etc)? Please give an example. Thanks. (6 Replies)
Hi All,
I need to check for a process, if the process is running then I have to create an HTML file, say A.HTML.
If the process is not running then I have to rename the existing html, say A.HTML to B.HTML so that the process which looks for the file A.HTML does not find it?
How do I do... (1 Reply)
hi
I am seeking to create a cgi-bin type creation that will allow users browsing the site to be able to run searches that would be a grep command or SED in the backround. I am not sure how to go about this, if you would give me a pointer or direction about what technology i could inform myself... (0 Replies)
Hi everyone,
I'm working on continous integration with Jenkins.
I’m facing an issue while connecting a slave (solaris sparc 8) with Jenkins ver. 1.532.2
This slave is connected via the option “Launch slave via execution of command on the Master”.
Connection is established with:
-... (1 Reply)
I am working on a text file where I have to get data from a text file and convert it into either CSV format or Column format as shown below.
OUTPUT Expected
GRP Name Pair Size DName DNumber PName PNumber
adm_grp Pair1 150.00KG Pair_0ABC_1 0396 Pair_0267_s 1292
... (6 Replies)
Hi all ! :)
What I want?
1. All child process must be in the same group of process. Parent is a leader of the group.
How to do this? I would be greatfull of some example of code, I read about setsid but I can't even start...
My code so far:
#include <stdio.h>
#include <stdlib.h>... (2 Replies)