Use the vnukelog command to clear your Virtual Private Servers log files. The vnukelog command can be used to clear the ~/usr/log/messages file as well as all Web Server Log Files and Virtual Subhost log files.

Use the -h flag to see all vnukelog options:

% vnukelog -h
Usage: vnukelog [-h] [-i] [-r]
   -h   display this message
   -i   enter interactive mode
   -r   nuke root server logs only
Use no options to nuke all log files on the Virtual Private Servers.

Use the vnukelog command without any flags to clear the ~/usr/log/messages file and ALL Virtual Private Servers and Virtual Subhost log files:

% vnukelog

Use the -r flag to clear just the Virtual Private Servers log files, and leave the Virtual Subhost log files intact:

% vnukelog -r

Use the -i flag to enter an interactive mode that allows you to clear just the Virtual Private Server and Virtual Subhost log files you want to clear.

% vnukelog -i


You can easily use the Cron program scheduler feature to schedule vnukelog to regularly nuke your Virtual Private Servers log files. Add something like this to your crontab:

0 1 1 1-12/3 * /usr/local/bin/vnukelog

This will run the command /usr/local/bin/vnukelog (which clears all of your Virtual Private Server log files) at 1 AM on the first day of the first month of every quarter, or January, April, July, and October (1-12/3).

Please note: the information on this page applies to ITS web hosting plans. It may or may not apply to other environments. If you are looking for a feature described here, or better support from your hosting provider, please consider hosting your site with ITS!

1555 N Naperville/Wheaton Road, Suite 107
Naperville, IL 60563
phone 630.420.2550
fax 630.420.2771