Renice the long running stat processes for a kindler, gentler build.
Suggested by: Wolfram Schneider
This commit is contained in:
parent
a49a360608
commit
3b21b60993
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=1309
2 changed files with 6 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.12 1997-02-20 20:21:16 mbarkah Exp $
|
||||
# $Id: Makefile,v 1.13 1997-03-18 00:05:14 mbarkah Exp $
|
||||
|
||||
# These are turned into validated, normalized HTML files.
|
||||
|
||||
|
@ -18,11 +18,13 @@ DATA= COPYING COPYING.LIB README.mirror robots.txt
|
|||
LOCAL= stats.html stats-img.html
|
||||
|
||||
stats.html: /home/www/server/logs/access_log
|
||||
renice +10 $$$$; \
|
||||
(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
|
||||
egrep -iv '\.(gif|jpg|jpeg|au) ' | \
|
||||
/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
|
||||
|
||||
stats-img.html: /home/www/server/logs/access_log
|
||||
renice +10 $$$$; \
|
||||
(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
|
||||
/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
# $Id: Makefile,v 1.12 1997-02-20 20:21:16 mbarkah Exp $
|
||||
# $Id: Makefile,v 1.13 1997-03-18 00:05:14 mbarkah Exp $
|
||||
|
||||
# These are turned into validated, normalized HTML files.
|
||||
|
||||
|
@ -18,11 +18,13 @@ DATA= COPYING COPYING.LIB README.mirror robots.txt
|
|||
LOCAL= stats.html stats-img.html
|
||||
|
||||
stats.html: /home/www/server/logs/access_log
|
||||
renice +10 $$$$; \
|
||||
(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
|
||||
egrep -iv '\.(gif|jpg|jpeg|au) ' | \
|
||||
/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
|
||||
|
||||
stats-img.html: /home/www/server/logs/access_log
|
||||
renice +10 $$$$; \
|
||||
(cd /usr/local/www/server/logs;zcat access_log.*.gz;cat access_log) | \
|
||||
/usr/local/www/bin/analog +i0 +R500 -o > ${.TARGET}
|
||||
|
||||
|
|
Loading…
Reference in a new issue