/*
- * $Id: ftp.cc,v 1.153 1997/10/26 07:16:38 wessels Exp $
+ * $Id: ftp.cc,v 1.154 1997/10/27 22:49:48 wessels Exp $
*
* DEBUG: section 9 File Transfer Protocol (FTP)
* AUTHOR: Harvest Derived
ftpAbort(void *data)
{
FtpStateData *ftpState = data;
- debug(9, 1) ("ftpAbort: %s\n", ftpState->entry->url);
+ debug(9, 2) ("ftpAbort: %s\n", ftpState->entry->url);
if (ftpState->data.fd >= 0) {
comm_close(ftpState->data.fd);
ftpState->data.fd = -1;
/*
- * $Id: http.cc,v 1.202 1997/10/26 02:35:32 wessels Exp $
+ * $Id: http.cc,v 1.203 1997/10/27 22:49:49 wessels Exp $
*
* DEBUG: section 11 Hypertext Transfer Protocol (HTTP)
* AUTHOR: Harvest Derived
httpRestart(HttpStateData * httpState)
{
/* restart a botched request from a persistent connection */
- debug(11, 1) ("Retrying HTTP request for %s\n", httpState->entry->url);
+ debug(11, 2) ("Retrying HTTP request for %s\n", httpState->entry->url);
if (httpState->fd >= 0) {
comm_remove_close_handler(httpState->fd, httpStateFree, httpState);
comm_close(httpState->fd);
httpAbort(void *data)
{
HttpStateData *httpState = data;
- debug(11, 1) ("httpAbort: %s\n", httpState->entry->url);
+ debug(11, 2) ("httpAbort: %s\n", httpState->entry->url);
comm_close(httpState->fd);
}
/*
- * $Id: store_dir.cc,v 1.33 1997/10/25 16:49:06 wessels Exp $
+ * $Id: store_dir.cc,v 1.34 1997/10/27 22:49:50 wessels Exp $
*
* DEBUG: section 47 Store Directory Routines
* AUTHOR: Duane Wessels
int i;
SwapDir *SD;
storeAppendPrintf(sentry, "Store Directory Statistics:\n");
- storeAppendPrintf(sentry, "Store Entries: %d\n", meta_data.store_entries);
- storeAppendPrintf(sentry, "Store Swap Size: %d KB\n", store_swap_size);
+ storeAppendPrintf(sentry, "Store Entries : %d\n", meta_data.store_entries);
+ storeAppendPrintf(sentry, "Maximum Swap Size : %8d KB\n", Config.Swap.maxSize);
+ storeAppendPrintf(sentry, "Current Store Swap Size: %8d KB\n", store_swap_size);
+ storeAppendPrintf(sentry, "Current Capacity : %d%% used, %d%% free\n",
+ percent((int) store_swap_size, (int) Config.Swap.maxSize),
+ percent((int) (Config.Swap.maxSize- store_swap_size), (int) Config.Swap.maxSize));
for (i = 0; i < Config.cacheSwap.n_configured; i++) {
SD = &Config.cacheSwap.swapDirs[i];
storeAppendPrintf(sentry, "\n");