Can you not create a simple cron script that emails you when the process is down. That is what most people do. Something like this run every X minutes:
Hello,
First let me start by saying I have searched the forum and read all the SUID stuff but it is not in the neighborhood I am looking for.
Here is the problem. We want to grant a non super-user permission to kill root processes but only if the process matches certain criteria. ... (8 Replies)
I have a script that runs continuously and will deliver a file to multiple servers via scp. On occasions one of the scp's will hang and as a result not complete in sending the remaining files and not loop around again.
If I run the scp commands with a & they'll complete, but I want to make sure... (2 Replies)
Is there a way to monitor certain processes and if they hang too long to kill them, but certain scripts which are expected to take a long time to let them go?
Thank you
Richard (4 Replies)
Is it possible to monitor processes whether they are waiting or active? Basically I would like to know since which TIME the process has been running and the state.
:confused: (3 Replies)
I'm trying to make a program that will spawn multiple child processes then exit. I'm having trouble figuring out how to do this since after I fork, the child process begins running the program again (never ending).
int main(void){
for(int i = 0; i < 3; i++){
fork();
}... (1 Reply)
I have to monitor several processes in my application .
i get the listing of these processes using the command ps -ax
i want to write a shell script that will monitor the processes and if a
process goes missing then it will send an email to my gmail account.
I want to run this... (6 Replies)
hi all,
i want to monitor mysql processes/threads/queries with respect to cpu usage.how can i do it?
show processlist is of no use as no information abt cpu usage is given.
plz help (7 Replies)
Hello all,
This is my requirement:
1. I have 6 VMs running Apache (for Oracle EBS) as Linux user oracle.
2. From a central server (VM), I need to login to all the 6 VMs as oracle user (I have already set up ssh equivalence, so it is password less authentication).
3. Find the number of... (4 Replies)
Discussion started by: sunpraveen
4 Replies
LEARN ABOUT CENTOS
lwp::debug
LWP::Debug(3) User Contributed Perl Documentation LWP::Debug(3)NAME
LWP::Debug - deprecated
DESCRIPTION
LWP::Debug used to provide tracing facilities, but these are not used by LWP any more. The code in this module is kept around
(undocumented) so that 3rd party code that happen to use the old interfaces continue to run.
One useful feature that LWP::Debug provided (in an imprecise and troublesome way) was network traffic monitoring. The following section
provide some hints about recommened replacements.
Network traffic monitoring
The best way to monitor the network traffic that LWP generates is to use an external TCP monitoring program. The Wireshark program
(<http://www.wireshark.org/>) is higly recommended for this.
Another approach it to use a debugging HTTP proxy server and make LWP direct all its traffic via this one. Call "$ua->proxy" to set it up
and then just use LWP as before.
For less precise monitoring needs just setting up a few simple handlers might do. The following example sets up handlers to dump the
request and response objects that pass through LWP:
use LWP::UserAgent;
$ua = LWP::UserAgent->new;
$ua->default_header('Accept-Encoding' => scalar HTTP::Message::decodable());
$ua->add_handler("request_send", sub { shift->dump; return });
$ua->add_handler("response_done", sub { shift->dump; return });
$ua->get("http://www.example.com");
SEE ALSO
LWP::UserAgent
perl v5.16.3 2012-01-14 LWP::Debug(3)