parsed.org

Tips by tag: kill

Refresh Apache Logs by xinu on Jan 13, 2005 08:45 AM

Clever kill/cat/sed line to refresh the logs for Apache stolen from some documentation somewhere:

# kill -USR1 $(cat $(httpd -V | sed -n '/DEFAULT_PIDLOG/s/.*"\(.*\)"/\1/p'))
apachecommandskillloggingsed
RSS