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)
In AIX I am trying to get the processes ran by user declan using the following format:
ps -aef -o user,pid,etime,args | grep declan
Then I get a result similar to (for example):
declan 103264 123-12:47:33 /applications/apache/1.3.39.0/bin/httpd -d /var/applications/apache/www1
... (0 Replies)
hi everyone I'm newbie in this forum hope I can get some help here :)
I have a command in crontab that executed every 1 minute
sometime this command need more than 1 minute to finish
the problem is, the crontab execute this command although it's not finish processing yet and causing the system... (7 Replies)
Hi.. i have written a shell script and made this script to run on every day night 11: 55 pm using a cron job.
This cron job running for some days and is not running for some day. but i need this script to run every day night. Please help me.
Here is the cron tab entries,
55 23 * * *... (1 Reply)
Hi,
i've a scenario where i need to unizp the previous day files based on the no of days given as input.
EX: if my no of days are 5 i need to go to archive dir and pull last 5 days files from currentday -1 .
Please help with this shell script.
Regards,
sandeep. (5 Replies)
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)
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)
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)
Hi all,
As i am new to shell script.Please help me to write a Shell script to find out process name that are running for last 10 days.
Thank's in advance. (8 Replies)
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 DEBIAN
apache2::process
libapache2-mod-perl2-2.0.7::docs::api::Apache2::Process(User Contributed Perl Documentlibapache2-mod-perl2-2.0.7::docs::api::Apache2::Process(3pm)NAME
Apache2::Process - Perl API for Apache process record
Synopsis
use Apache2::Process ();
use Apache2::ServerRec ();
my $proc = $s->process;
# global pool cleared on exit
my $global_pool = $proc->pool;
# configuration pool cleared on restart
my $pconf = $proc->pconf;
# short program name (e.g. httpd)
my $proc_name = $proc->short_name;
Description
"Apache2::Process" provides the API for the Apache process object, which you can retrieve with "$s->process":
use Apache2::ServerRec ();
$proc = $s->process;
API
"Apache2::Process" provides the following functions and/or methods:
"pconf"
Get configuration pool object.
$p = $proc->pconf();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00
This pool object gets cleared on server restart.
"pool"
Get the global pool object.
$p = $proc->pool();
obj: $proc ( "Apache2::Process object" )
ret: $p ( "APR::Pool object" )
since: 2.0.00
This pool object gets cleared only on (normal) server exit
"short_name"
The name of the program used to execute the program
$short_name = $proc->short_name();
obj: $proc ( "Apache2::Process object" )
ret: $short_name (string)
e.g. "httpd"
since: 2.0.00
See Also
mod_perl 2.0 documentation.
Copyright
mod_perl 2.0 and its core modules are copyrighted under The Apache Software License, Version 2.0.
Authors
The mod_perl development team and numerous contributors.
perl v5.14.2 2011-02-08 libapache2-mod-perl2-2.0.7::docs::api::Apache2::Process(3pm)