We-Host.com Main Web Site
Web Development
Support

Server Management
Vnukelog / Vnukelog2

vnukelog (revision 2)

To further assist Virtual Server clients in managing the disk quotas of their virtual servers their is a new vnukelog program installed on virtual servers. Vnukelog erases the ~/usr/log/messages and the ~/www/*_log files. The updated version of vnukelog is named vnukelog2. It is enhanced to list the log files of the virtual server as well as the logs configured for each virtual host. Here is a sample of the vnukelog2 menu:

     Domain                                  Bytes
     -------------------------------------------------
     bar.net                               1903645
     foo.net                                  8807
     
     Current Quota:  69755904         Quota Limit:  104857600
     
     a) nukes all logs including sub-host logs
     u) prints number of bytes for each domain with logs
     d) deletes only the specified domain name's logs
     q) quit
   

The menu options will let you delete one domain's logs or all of them. The option "a" deletes all logs on the virtual server. If you want to list all domains and the space used by their logs choose "u". With the "d" option you must specify the domain name. When you are done, choose "q" for quit.

Using the vnukelog2 program in conjunction with the cron utility is an effective method for deleting unneeded log files at predetermined intervals, i.e., end/beginning of month.

Contents Copyright 1997, 1998 We-Host Web Hosting. See our copyright page for additional copyright information.
Last Updated: 11 June, 2000  · Email support web site errors to webmaster@we-host.com

We-Host Web Hosting