10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello
I am writing a script that will first execute ps to get the list of processes running, and the go into the /proc folder for each PID listed and gather relevant information.
I looked through the contents of a particular process in the /proc folder and I can't find where I can locate... (2 Replies)
Discussion started by: flagman5
2 Replies
2. Shell Programming and Scripting
Hi:
I have 2 script on AIX server.
The child script is called by parent script.
For example:
The parent script full name is /home/op/def/parent.spt, which calls
/home/op/abc/child.spt
I want to get the parent program name with full path name (i.e. /home/op/def/parent.spt),
in... (3 Replies)
Discussion started by: cstsang
3 Replies
3. UNIX for Dummies Questions & Answers
All,
I am getting a wired scenario, Not all times but some times i am getting the defunct process for a program. If i rerun the same program it is working fine.This defunct scenario is not occuring often. And this is happening only for the one program in my system that to sometimes
Can you... (1 Reply)
Discussion started by: arunkumar_mca
1 Replies
4. Shell Programming and Scripting
Hi,
I have a query about processing and running Perl program at the background.
I have HTML file called Userform.html which accepts input from the user. As soon as input is given the contol goes to get.cgi (get.cgi does some processing and computing tasks).
Actually get .cgi takes more... (0 Replies)
Discussion started by: vanitham
0 Replies
5. Programming
Hi,
can somebody please help me regarding this?
How can i print parent's PID from child's and vice versa.
I have tried with getpid() & ngetppid() function but it is not giving me the correct data. The logic i used is:
if (pid == 0)
{
getpid() : Chil'd PID
getppid():... (1 Reply)
Discussion started by: dsudipta
1 Replies
6. Shell Programming and Scripting
Hey, I was trying to figure out how to launch a program from the command line, and it works if you pass it a config file. I was thinking about writing a script to dynamically create the config file and pass it to the command using something like command substitution (so I don't actually have to... (3 Replies)
Discussion started by: bj0
3 Replies
7. Programming
I have a set of attributes such as group id,group name,etc related to a linux process. Iwant to know how to start a process in linux using C program.Plz do help me. (3 Replies)
Discussion started by: vigneshinbox
3 Replies
8. Programming
i want to write a C chat program that communicates over IPC(inter process communication), that could be run using 2 seperate terminal windows within the same computer. so that wat u type in one terminal window , should appear on the other and vice versa...
could some one please help me with the... (2 Replies)
Discussion started by: localp
2 Replies
9. Programming
Hi,
I am wondering if there is a way to find out in a C software program if a particular process is running without having to write a file. In the past, I have been using the system command to execute a pgrep and output the info to a file. Then the C program reads the file to make the... (1 Reply)
Discussion started by: herbmiller
1 Replies
10. HP-UX
Hi ,
I have query regarding to get a program name given a pid in HP-Ux .
give procees id ( PID) i would like to retrieve the process/program through a C program ?
my input to c program will be will be pid and i would like to know what is process name /program name .
Many Thanks ... (1 Reply)
Discussion started by: naren_chella
1 Replies