10-26-2011
I seems to happen once or twice a week at current load.
I'm not sure how to recuperate the processID at launch time. If this would help I would appreciate your guidance.
But shouldn't I be able to find out if a process is running by it's name?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
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)
Discussion started by: shambhu
3 Replies
2. Shell Programming and Scripting
Hello all,
I would be happy if any one could help me with a shell script that would determine all the processes running on a Unix server and post a mail if any of the process is not running or aborted.
Thanks in advance
Regards,
pradeep kulkarni.
:mad: (13 Replies)
Discussion started by: pradeepmacha
13 Replies
3. UNIX for Advanced & Expert Users
please suggest me a way to write c program that takes pattern of the process and returns true or false
my case is i need to keep track of dhcpcd
dhcpcd -d eth1
so i tried popen("ps -ef | grep dhcpcd | grep eth1 | wc -l", "r");
but pipe is storing 1 or 2 when not running
and 2 or 3... (7 Replies)
Discussion started by: Gopi Krishna P
7 Replies
4. UNIX for Dummies Questions & Answers
I have been having some trouble trying to get some code working, so I was wondering...what system calls are required to execute a different program from an already running process? (1 Reply)
Discussion started by: Midwest Product
1 Replies
5. UNIX for Dummies Questions & Answers
I have process1 running on one machine and generating some log file. Now another process which can be launched on any machine wants to know if process1 is running or not and also in case it is running it wants to stream the logs file generated by process1 on terminal from which process2 is... (2 Replies)
Discussion started by: saurabhnsit2001
2 Replies
6. UNIX for Dummies Questions & Answers
Hello All,
We are running a process in unix box. This is how we will do
1.our process name is Runprojectprocess <ID> configuration
2.We will be running upto 500 id at once. So we are populating a text file as Runprojectprocess 1 configuration to Runprojectprocess 500 configuration
3.... (2 Replies)
Discussion started by: arunkumar_mca
2 Replies
7. BSD
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (0 Replies)
Discussion started by: naveeng
0 Replies
8. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (1 Reply)
Discussion started by: naveeng
1 Replies
9. UNIX for Advanced & Expert Users
Hi Experts,
I am facing one problem here which is one process always stuck in running state which causes the other similar process to sleep state . This causes my system in hanged state.
On doing cat /proc/<pid>wchan showing the "__init_begin" in the output.
Can you please help me here... (6 Replies)
Discussion started by: naveeng
6 Replies
10. Shell Programming and Scripting
Team,
I have multiple batchjobs running in VM, if I do ps -ef |grep java or tomcat I am getting multiple process list.
How do I get my exact tomcat process running and that is unique? via shell script? (4 Replies)
Discussion started by: Ghanshyam Ratho
4 Replies
LEARN ABOUT HPUX
cmappmgr
cmappmgr(1m) cmappmgr(1m)
NAME
cmappmgr - launches and monitors an application process on a node
SYNOPSIS
cmappmgr -node node_name [-cmappserver_timeout number_of_seconds] -service service_name
DESCRIPTION
cmappmgr launches and monitors the specified application process on a specified node. The cmappserver(1m) daemon process must be running
on the specified node, and there must be a routable TCP/IP network between the specified node and the local host where cmappmgr(1m) is run.
cmappmgr exits when the application process exits.
Options
cmappmgr supports the following options:
-node node_name
Name of the node on which to launch the application process.
-cmappserver_timeut number_of_seconds
The number of seconds that must elapse before cmappmgr times out the connection with cmappserver on the specified node.
This is optional. The default value is 10 seconds. The maximum value that can be specified is 600 seconds, and the mini-
mum value is 1 second.
-service service_name
The full command line for the application or process to be launched. Note that -service must be the last argument speci-
fied for cmappmgr as all strings following the argument are considered as part of the command line to launch the applica-
tion process. Quotation marks ("") are not required.
RETURN VALUE
cmappmgr returns the following value upon completion:
0 Successful completion.
>= 1 One or more error conditions occurred. The value generally reflects the exit code of the process. If, for any reason, the
process fails to launch on the specified node (for example, because of an error connecting to cmappserver), cmappmgr exits with
1.
EXAMPLES
To launch an xclock application on the node v-smp1:
cmappmgr -node v-smp1 -service /usr/bin/X11/xclock -display 16:89:255:19:0.0
AUTHOR
cmappmgr was developed by HP.
SEE ALSO
cmappserver(1m).
Designing high-availability solutions with HP Serviceguard and HP Integrity Virtual Machines
Requires Optional Serviceguard Software cmappmgr(1m)