EnglishFrenchSpanish

OnWorks favicon

wcmgr - Online in the Cloud

Run wcmgr in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command wcmgr that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


wcmgr - Webalizer (DNS) Cache file Manager

SYNOPSIS


wcmgr [ option ... ] cache-file

DESCRIPTION


wcmgr is a utility program which allows manipulation of the DNS cache files used and
produced by The Webalizer. Each record in the cache file contains an IP address (either
IPv4 or IPv6), a timestamp of when the entry was added to the cache, a flag to indicate if
the record contains a resolved name or not, and either the same IP address or a resolved
host name. All records are accessed by their IP address.

RUNNING WCMGR


wcmgr was designed to be run from the Unix shell command line. This facilitates its use
in shell scripts and other automated processes. A valid DNS cache file must be specified.
Command line options are optional, and if none are given, the default action is to list
the contents of the specified cache file.

COMMAND LINE OPTIONS


Different functions are selected by using one or more of the following command line
options. If no options are given, the default is to display the contents of the cache
file to the screen (stdout).

-h Display all available command line options and exit.

-v Be verbose.

-V Display the program version and exit. Additional program specific information
will be displayed if verbose mode is also used (e.g. '-vV'), which can be useful
when submitting bug reports.

-a address [-n hostname] [-t0]
Add a new record to the cache file. The IP address will be added to the cache
file using the current time as the timestamp and with a resolved name hostname.
If -t0 is specified, the record will be considered permanent, and will not be
removed (during a purge) or expired. If a hostname is not specified with the -n
option, then the address will be used instead, and the record will be flagged as
unresolved.

-c Create a new cache file. If used alone, this option will create a new, empty
cache file. If used with the import option, a new cache file will be created
before importing the data. An error will occur if the file cache-file already
exists.

-d address
Delete a record from the cache file using the specified address.

-f address
Find and display information for address from the cache file. A single line
similar to that produced by the -l option will be displayed unless verbose mode is
enabled, in which case a more detailed listing will be produced.

-i name [-c]
Import data into the cache file from the file name. The import file must be a
valid tab delimited text file, such as that created by the export option. If the
imported data contains records already present in the cache file, those records
will be overwritten by the imported data. The cache file must exist unless the -c
option is specified, in which case, a new cache file will be created for the
imported data.

-l List the contents of the cache file. This is the default action of the program,
so does not necessarily need to be specified. If verbose mode is enabled, a
report title, column headers and summary totals will also be displayed.

-p num Purge the cache file of entries older than num days. If num is not specified,
then a default of 7 days will be used. if verbose mode is enabled, each purged
record will be printed and the total number of purged records will be displayed.

-s [-t num]
Display cache file information/statistics. If a TTL value (in days) is specified
using the -t option, it will be used to calculate how many records are older than
num days, otherwise, the default value of 7 days will be used.

-n name Specify the name to use as the resolved hostname when adding records to the cache.

-t num Time to live (TTL) value. If used along with the -p (purge) option, it specifies
how many days a record will remain valid. Any record that is older than num days
is considered expired and will be purged. If used with the -a (add) option, a
zero value will cause the record to be considered permanent.

-x name Export data from a cache file to a tab delimited text file named name. If the
text file name exists, it will be overwritten.

Use wcmgr online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 2
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 3
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 4
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • 5
    Sky Chart / Cartes du Ciel
    Sky Chart / Cartes du Ciel
    SkyChart is a software to draw chart of
    the night sky for the amateur astronomer
    from a bunch of stars and nebulae
    catalogs. See main web page for full
    download...
    Download Sky Chart / Cartes du Ciel
  • 6
    GSmartControl
    GSmartControl
    GSmartControl is a graphical user
    interface for smartctl. It allows you to
    inspect the hard disk and solid-state
    drive SMART data to determine its
    health, as w...
    Download GSmartControl
  • More »

Linux commands

  • 1
    abc2abc
    abc2abc
    abc2abc - a simple abc
    checker/re-formatter/transposer ...
    Run abc2abc
  • 2
    abc2ly
    abc2ly
    abc2ly - manual page for abc2ly
    (LilyPond) 2.18.2 ...
    Run abc2ly
  • 3
    coqmktop
    coqmktop
    coqmktop - The Coq Proof Assistant
    user-tactics linker ...
    Run coqmktop
  • 4
    coqtop
    coqtop
    coqtop - The Coq Proof Assistant
    toplevel system ...
    Run coqtop
  • 5
    g.copygrass
    g.copygrass
    g.copy - Copies available data files in
    the current mapset search path to the
    user�s current mapset. KEYWORDS:
    general, map management ...
    Run g.copygrass
  • 6
    g.dirsepsgrass
    g.dirsepsgrass
    g.dirseps - Internal GRASS utility for
    converting directory separator
    characters. Converts any directory
    separator characters in the input string
    to or from na...
    Run g.dirsepsgrass
  • More »

Ad