Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I change the directory to which Wusage writes its temporary files?

0
10 Posted

How do I change the directory to which Wusage writes its temporary files?

0
10

Wusage creates temporary files in the /tmp directory. In certain cases, these files can be of a substantial size. Specifically, setting the “dns” option to “on” produces substantial files in /tmp, and setting the “sortlogs” option to “on” requires enough space in /tmp to store all of your log files in an uncompressed form. If you would prefer to store these files in a different location, set the TEMP environment variable to your preferred location before launching Wusage. If you are launching wusage from cron (Unix) or AT (Windows NT), be sure to do this in the same shell script that you are launching with cron or AT. If you are launching wusage as a CGI program by placing it in cgi-bin and accessing its URL, you will need to place a shell script in that location instead. The shell script can then take care of setting TEMP before starting Wusage. Here is a simple Unix shell script to start Wusage with an alternate temporary file loctaion. OF COURSE, YOU MUST CHANGE THE FILE LOCATIONS B

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123