Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi Chris, I think you might be overlooking the value of the 'nice' shell builtin - try: Indeed. Thanks. Regards Rudi.

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi Chris, I think you might be overlooking the value of the 'nice' shell builtin - try: Indeed. Thanks. Regards Rudi. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Resource consumption.

2003-10-28 Thread Chris Foote
On Wed, 29 Oct 2003, Rudi Starcevic wrote: > >>I'm pretty sure I have a cron job analysing apache logs which is > >>consuming too much of the system's resources. > >>So much is spent on Webalizer and Awstats that the web server stops > >>answering requests. > >> > >CPU time or IO bandwidth? > > CP

Re: Resource consumption.

2003-10-28 Thread Chris Foote
On Wed, 29 Oct 2003, Rudi Starcevic wrote: > >>I'm pretty sure I have a cron job analysing apache logs which is > >>consuming too much of the system's resources. > >>So much is spent on Webalizer and Awstats that the web server stops > >>answering requests. > >> > >CPU time or IO bandwidth? > > CP

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
HI, Thanks Russell, I'm pretty sure I have a cron job analysing apache logs which is consuming too much of the system's resources. So much is spent on Webalizer and Awstats that the web server stops answering requests. CPU time or IO bandwidth? CPU time is what I meant. Sorry I should be mo

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
HI, Thanks Russell, I'm pretty sure I have a cron job analysing apache logs which is consuming too much of the system's resources. So much is spent on Webalizer and Awstats that the web server stops answering requests. CPU time or IO bandwidth? CPU time is what I meant. Sorry I should be

Re: Resource consumption.

2003-10-28 Thread Russell Coker
On Tue, 28 Oct 2003 23:03, Rudi Starcevic wrote: > I'm pretty sure I have a cron job analysing apache logs which is > consuming too much of the system's resources. > So much is spent on Webalizer and Awstats that the web server stops > answering requests. CPU time or IO bandwidth? > The output of

Re: Resource consumption.

2003-10-28 Thread Russell Coker
On Tue, 28 Oct 2003 23:03, Rudi Starcevic wrote: > I'm pretty sure I have a cron job analysing apache logs which is > consuming too much of the system's resources. > So much is spent on Webalizer and Awstats that the web server stops > answering requests. CPU time or IO bandwidth? > The output of

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, OK sorry I found the answer. Next time I'll try harder before I bother you. I found out about the `wait` command in Bash scripting. I'll try something like: # do webalizer for i in /var/log/apache/access_tmp/*-access_log; do site=`echo $i | sed 's/\/var\/log\/apache\/access_tmp\///'` s

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, Me again .. I guess what I want to do is have this script execute webalizer once at a time, waiting until webalizer is finshed before starting again. Instead the script fires off many webalizers at once. Sorry I guess my simple bash skills are not up to scratch. I'll head over to tldp.org to

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, OK sorry I found the answer. Next time I'll try harder before I bother you. I found out about the `wait` command in Bash scripting. I'll try something like: # do webalizer for i in /var/log/apache/access_tmp/*-access_log; do site=`echo $i | sed 's/\/var\/log\/apache\/access_tmp\///'` s

Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, I'm pretty sure I have a cron job analysing apache logs which is consuming too much of the system's resources. So much is spent on Webalizer and Awstats that the web server stops answering requests. The output of `uptime` was something like 2.2 before I manually kill the script and all is OK

Re: Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, Me again .. I guess what I want to do is have this script execute webalizer once at a time, waiting until webalizer is finshed before starting again. Instead the script fires off many webalizers at once. Sorry I guess my simple bash skills are not up to scratch. I'll head over to tldp.org to

Resource consumption.

2003-10-28 Thread Rudi Starcevic
Hi, I'm pretty sure I have a cron job analysing apache logs which is consuming too much of the system's resources. So much is spent on Webalizer and Awstats that the web server stops answering requests. The output of `uptime` was something like 2.2 before I manually kill the script and all is OK

apache and php resource consumption

2002-02-25 Thread Vinai Kopp
Hello, I am trying to set up a system so I can monitor the cpu and memory usage of apache processes, in particular of pages containing php scripts, because sometimes it happens that some apache processes eat up a machine. What I want are numbers to show to the people writing the programms. I'm

apache and php resource consumption

2002-02-25 Thread Vinai Kopp
Hello, I am trying to set up a system so I can monitor the cpu and memory usage of apache processes, in particular of pages containing php scripts, because sometimes it happens that some apache processes eat up a machine. What I want are numbers to show to the people writing the programms. I'