FlushCache(1)

Name

FlushCache - flush volatile Vesta cache entries to the stable cache

Synopsis

FlushCache [ -n ]

Description

FlushCache invokes the FlushAll method of the Vesta-2 cache server named in the user's Vesta-2 configuration file.

By default, FlushCache flushes any cache entries currently stored only in the cache server's volatile (in-memory) cache to the cache server's stable cache on disk. These entries will then appear in the cache's so-called MultiPKFiles, which are read by programs like PrintMPKFile(1) and VCacheStats(1). Since it involves reading and writing potentially many files, FlushCache may take a fair amount of time to complete.

If -n is specified, the name and port number of the cache that would be flushed is printed, but no action is taken.

Configuration Variables

Like most Vesta-2 applications, FlushCache reads site-specific configuration information from a Vesta-2 configuration file named vesta.cfg. The program first looks for this file in the current directory; if none is found there, it looks in your home directory.

The configuration file is divided into a number of sections, denoted in the file by [SectionName]. The variables used by FlushCache are in the section denoted by [CacheServer]. Here are the variables and their meanings; the types of the variables are shown in parentheses.

Host (string)
The hostname of the machine on which the cache server is running.

Port (integer)
The port number on host named by Host to contact. This allows multiple cache servers to be running on the same machine; each one listens on a different port for connections.

See Also

VCache(1), ChkptCache(1), PrintMPKFile(1), VCacheStats(1).

Author

Allan Heydon (caheydon@yahoo.com)

Last modified on Thu Nov  8 12:40:15 EST 2001 by ken@xorian.net
     modified on Fri Feb 28 10:50:43 PST 1997 by heydon
This page was generated automatically by mtex software.