You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mike <mi...@levrah.net> on 2003/04/12 21:18:57 UTC
[users@httpd] tail -f and resources
Hi folks.
When making significant site changes, I'll use the tail command (tail -f)
to watch either the access or (more importantly) the error log files to
watch as people hit the site.
In using tail -f to watch the error log file, I'm watching to make sure
there are no orphaned file calls/links that need to be corrected/fixed.
The access log file is typically larger.
The error log file is typically much smaller.
Does anyone know if using tail -f to watch either or both of these files
for relatively extended periods of time will use too much system
utilization, and therefore I should do it sparingly? Or does it really not
matter too much?
I'm not having any problems. Everything is fine. I'm just wanting to make
sure that I'm not over-taxing the system - and not even realizing it - by
using tail -f as described.
Thanks.
-mike
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] tail -f and resources
Posted by Tim Wort <ti...@pobox.com>.
I don't think you well find it a big problem, utilities like swatch (a
perl script used to monitor logs) also tails the log files and processes
entries which is certianly more overhead than just dumping text to a tty.
In my admin days I watched logs with swatch 7x24 and never noticed any
real degradation.
YMMV
On Sat, 12 Apr 2003, Mike wrote:
> Hi folks.
>
> When making significant site changes, I'll use the tail command (tail -f)
> to watch either the access or (more importantly) the error log files to
> watch as people hit the site.
>
> In using tail -f to watch the error log file, I'm watching to make sure
> there are no orphaned file calls/links that need to be corrected/fixed.
>
> The access log file is typically larger.
> The error log file is typically much smaller.
>
> Does anyone know if using tail -f to watch either or both of these files
> for relatively extended periods of time will use too much system
> utilization, and therefore I should do it sparingly? Or does it really not
> matter too much?
>
> I'm not having any problems. Everything is fine. I'm just wanting to make
> sure that I'm not over-taxing the system - and not even realizing it - by
> using tail -f as described.
>
> Thanks.
> -mike
>
>
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
> " from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
= Inkling Research Inc. =
= Tim.Wort@InklingResearch.com =
= Tim.Wort@pobox.com =
= =
= Eschew Obfuscation =
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
" from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org