Hi..
I have this code which tells me that if a process is running or not. Actually someone on this forum help me to do it. But now If i want to check if the process is not running for more than 10 minutes. Does anyone know the code or syntax that checks if a process is not running for some amount of time? Please help me.
Thanks
Last edited by Yogesh Sawant; 04-20-2009 at 07:14 AM..
Reason: added code tags
does anyone know an easy way that at the beginning of your script you check to see if that process is already running? I think it would have something to do with ps but I may be making it more complicated than it has to be. If you have a script run say, every half hour, you would want to check and... (13 Replies)
Hi,
Is there any way in Unix to check for the system usage processwise ??
I mean I wud like to get a listing of running processes along with their CPU / memory utilisation so that I can spot dangerous the space / memory eaters ..
Thanks & regards,
SNS (2 Replies)
I want to find the pid ( by ps ) that has already run over 30 seconds , I know ps only show the minute/hour .
eg. the start time of the below process are 15:19 / 15:20 , but I don't know the exact time ( in term of "second" ) it start to run ( I only know the hour and minute ) , if I want to... (2 Replies)
Except the command "top" , is there other function / tool is used to check the process status in the system like
1. what process are running ?
2. how the CPU are allocating ?
3. how many swap is using ?
4. "
Thx. (1 Reply)
Hi Everybody
I have small requirement that needs to be implemented in shell script.
Currently i have shell script which invokes a java process say "Process A" which runs in background.
If some one tries to invoke again the same shell script , then there should be some mechanism inside the... (23 Replies)
How to find what are the cron jobs which are running at any instant on a Solaris server ??? The job can be scheduled from any id but still would like to list all the cron jobs which are running on the server ??? (2 Replies)
Hi ,
I have a csh code below which check the process if it's running.
Can any expert advise me on the following:
1) what does this notationmean ">!" and how is it different from the append ">" notation ?
2) how does "setenv" work in this code ?
# Check whether there is a running... (3 Replies)
Hi
I would like to check if an instance of a script is already running.
I've seen many different examples, but I haven't the slightest idea as to how to do this.
Can you please help.
Thank you. (5 Replies)
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
LEARN ABOUT HPUX
cdsclerk
cdsclerk(1m)cdsclerk(1m)NAME
cdsclerk - Manages the interface between clients and the CDS server
SYNOPSIS
cdsclerk [-D] [-w route]
OPTIONS
For debugging use only. Causes the cdsadv clerk process not to fork. Routes serviceability messages.
DESCRIPTION
The cdsclerk command manages the interface between clients and the CDS server.
Privilege Required
You must log in as superuser (root).
NOTES
This command is used by the advertiser on the system where the CDS clerk is running. You should use this command interactively only to do
diagnostic work on the host system.
EXAMPLE
Before you run the following process, make sure that other clerks are not running. To start the cdsclerk process, follow these steps:
Make sure that a CDS server is already running somewhere within the cell. Log in to the system as superuser (root). Log in to DCE as the
machine principal of the local host. Enter the principal name in the format /hosts/hostname/self as shown in the following example command
for a host named orion whose password is smith: # dce_login hosts/orion/self smith Enter the following command to see if the dced process
is already running: # ps
If the dced process appears on the list of active processes, proceed to step 5. If the dced process does not appear on the list of active
processes, enter the following command to start the process: # dced Enter the following command to start the cdsadv process: # cdsadv Enter
the following command with the appropriate arguments to start the cdsclerk process: # cdsclerk
RELATED INFORMATION
Books: OSF DCE Administration Guide
cdsclerk(1m)