EnglishFrenchSpanish

Ad


OnWorks favicon

csvinfo.cgi - Online in the Cloud

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

This is the command csvinfo.cgi 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


csvinfo.cgi - CGI program to show host information from a CSV file

SYNOPSIS


csvinfo.cgi

DESCRIPTION


csvinfo.cgi is invoked as a CGI script via the csvinfo.sh CGI wrapper. Based on the
parameters it receives, it searches a comma- separated file for the matching host, and
presents the information found as a table.

csvinfo.cgi is passed a QUERY_STRING environment variable with the following parameters:

key (string to search for, typically hostname)
column (columnnumber to search - default 0)
db (name of the CSV database file in $XYMONHOME/etc/, default hostinfo.csv)
delimiter (delimiter character for columns, default semi-colon)

CSV files are easily created from e.g. spreadsheets, by exporting them in CSV format. You
should have one host per line, with the first line containing the column headings. Despite
their name, the default delimiter for CSV files is the semi-colon - if you need a
different delimiter, invoke csvinfo.cgi with the "delimiter=<character>" in the query
string.

Example usage


This example shows how you can use the csvinfo CGI. It assumes you have a CSV-formatted
file with information about the hosts stored as $XYMONHOME/etc/hostinfo.csv, and the
hostname is in the first column of the file.

Use with the xymongen --docurl
The --docurl option to xymongen(1) sets up all of the hostnames on your Xymon
webpages to act as links to a CGI script. To invoke the csvinfo CGI script, run
xymongen with the option

--docurl=/cgi-bin/csvinfo.sh?db=hostinfo.csv&key=%s

Use csvinfo.cgi online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    LAME (Lame Aint an MP3 Encoder)
    LAME (Lame Aint an MP3 Encoder)
    LAME is an educational tool to be used
    for learning about MP3 encoding. The
    goal of the LAME project is to improve
    the psycho acoustics, quality and speed
    of MP...
    Download LAME (Lame Aint an MP3 Encoder)
  • 2
    wxPython
    wxPython
    A set of Python extension modules that
    wrap the cross-platform GUI classes from
    wxWidgets.. Audience: Developers. User
    interface: X Window System (X11), Win32 ...
    Download wxPython
  • 3
    packfilemanager
    packfilemanager
    This is the Total War pack file manager
    project, starting from version 1.7. A
    short introduction into Warscape
    modding: ...
    Download packfilemanager
  • 4
    IPerf2
    IPerf2
    A network traffic tool for measuring
    TCP and UDP performance with metrics
    around both throughput and latency. The
    goals include maintaining an active
    iperf cod...
    Download IPerf2
  • 5
    fre:ac - free audio converter
    fre:ac - free audio converter
    fre:ac is a free audio converter and CD
    ripper for various formats and encoders.
    It features MP3, MP4/M4A, WMA, Ogg
    Vorbis, FLAC, AAC, and Bonk format
    support, ...
    Download fre:ac - free audio converter
  • 6
    Matplotlib
    Matplotlib
    Matplotlib is a comprehensive library
    for creating static, animated, and
    interactive visualizations in Python.
    Matplotlib makes easy things easy and
    hard thing...
    Download Matplotlib
  • 7
    BotMan
    BotMan
    Write your chatbot logic once and
    connect it to one of the available
    messaging services, including Amazon
    Alexa, Facebook Messenger, Slack,
    Telegram or even yo...
    Download BotMan
  • More »

Linux commands

Ad