I am using this command fuser_result=`fuser -f /web/$1/admin-*/logs/access` to get the parent pid of the process.
However, The output differs and at times it shows two pids instead of one thus failing the logic of my script. See output below:
What would be the best way to get only the parent PID of a iPlanet webserver instance ?
In this case 17011 is the parent PID. Will the parent PID always show as the last entry of the output ? If not, then I am clueless. If yes, then I can use awk and get the last column of the output which happens to be 17011.
question: for the below program
i just printed the value for pid, child pid and parent pid
why does it give me 6 values? i assume ppid is 28086
but can't figure out why there are 5 values printed instead of just two!
can someone comment on that!
#include<stdio.h>
#define DIM 8
int... (3 Replies)
1. If I use an software application(which connects to the database in the server) in my local pc, how many PID should be registered? Would there be PID for the session and another PID for socket connection?
2. I noticed (through netstat) that when I logged in using the my software application,... (1 Reply)
Hi All,
In my project i have two process runs in the back end.
Once i start my project, and execute the command ps, i get below output:
PID TTY TIME CMD
9086 pts/1 0:00 ksh
9241 pts/1 0:02 java
9240 pts/1 0:00 shell_script_bg
java with 9241 PID is the main... (4 Replies)
hi folks
can any suggest me how to get a parent processid in the script if i am executing this in the script
vi myscript.sh
echo "parent shell pid"$$
sh myscript.sh
but when i am executing this i am getting a new pid(actually that is the child pid) whenever i am executing this... (4 Replies)
I have always used the "$$" environment variable to find the current process number. Is there any similar way or perhaps something else to easily find the parent process number? I realize I could do something like ps and grep for the process and cut or awk out the parent process but I wanted to... (1 Reply)
hi experts(novice people can stay away as it is no child's game),
i am developing a script which works like recycle bin of windows.
the problem i am facing is that when ever i am trying to delete a file which is situated in parent directory or parent's parent directory i am unable to... (1 Reply)
Hi,
I need to get the pid of a process and have to store the pid in a variable and i want to use this value(pid) of the variable for some process. Please can anyone tell me how to get the pid of a process and store it in a variable. please help me on this.
Thanks in advance,
Amudha (7 Replies)
Hi everyone
i am very new to linux , working on bash shell.
I am trying to solve the given problem
1. Create a process and then create children using fork
2. Check the Status of the application for successful running.
3. Kill all the process(threads) except parent and first child... (2 Replies)
I'm getting the following output from a truss operation of a PID from an application that will not start properly, something with the writing to an archive. Here is the output:
open("arch/chkpt.arch", O_RDWR) Err#13 EACCES
open("arch/chkpt.arch", O_RDWR|O_CREAT|O_TRUNC, 0666)... (6 Replies)
Discussion started by: chadpierce62
6 Replies
LEARN ABOUT DEBIAN
shares-admin
shares-admin(1) General Commands Manual shares-admin(1)NAME
shares-admin - Shared Folders Administration Tool
SYNOPSIS
shares-admin [OPTION...]
DESCRIPTION
shares-admin is part of the GNOME system tools, a set of tools to easily access and manage system configuration.
shares-admin allows you to share folders to other computers in your network or in the internet.
OPTIONS
shares-admin accepts the standard GNOME and GTK options.
AUTHORS
shares-admin was written by Carlos Garnacho Parro <garnacho@tuxerver.net> and others.
This manual page was written by Sven Arvidsson <sa@whiz.se>, for the Debian project (but may be used by others).
SEE ALSO services-admin(1), network-admin(1), time-admin(1), users-admin(1), gtk-options(7), gnome-options(7)
The online documentation available through the program's Help menu.
GNOME 2007-05-08 shares-admin(1)