EnglishFrenchSpanish

OnWorks favicon

stdsyslog - Online in the Cloud

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

This is the command stdsyslog 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


stdsyslog — log a program's output to the system log

SYNOPSIS


stdsyslog [-d fd:level] [-f facility] [-p pidfile] cmd [args...]
stdsyslog -f list
stdsyslog -l
stdsyslog -V | -h

DESCRIPTION


The stdsyslog utility executes a program, reads everything that it outputs to a set of file
descriptors (by default the standard output and standard error streams) and logs it to the
system log.

The stdsyslog utility may be passed the following options:

-d Specify the level for messages on a file descriptor; may (and probably should) be
used more than once. If no -d options are specified, stdsyslog will assume “-d
1:info -d 2:err”, i.e. log the program's standard output using the “info” level and
the errors using the “err” one.

-f Specify the syslog facility to use, or “list” for a list of the available values.
If not specified, stdsyslog will use the “daemon” facility.

-h Display program usage information and exit.

-l List the available syslog levels.

-p Specify the file to write the child process ID to.

-V Display program version information and exit.

EXAMPLES


The following examples are shown as given to the shell.

Log the string “information” to the “daemon:info” syslog facility:

stdsyslog echo information

Log the string “error” to the “local4:err” facility:

stdsyslog -f local4 sh -c 'echo error 1>&2'

Run the “sprog” program with two arguments, “some” and “args”, store its process ID into the
sprog.pid file and log the messages appearing on its standard output to “daemon:info” and
the ones on its standard error stream to “daemon:err”:

stdsyslog -p sprog.pid -d 1:info -d 2:crit sprog some args

Use stdsyslog online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Phaser
    Phaser
    Phaser is a fast, free, and fun open
    source HTML5 game framework that offers
    WebGL and Canvas rendering across
    desktop and mobile web browsers. Games
    can be co...
    Download Phaser
  • 2
    VASSAL Engine
    VASSAL Engine
    VASSAL is a game engine for creating
    electronic versions of traditional board
    and card games. It provides support for
    game piece rendering and interaction,
    and...
    Download VASSAL Engine
  • 3
    OpenPDF - Fork of iText
    OpenPDF - Fork of iText
    OpenPDF is a Java library for creating
    and editing PDF files with a LGPL and
    MPL open source license. OpenPDF is the
    LGPL/MPL open source successor of iText,
    a...
    Download OpenPDF - Fork of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - System for Automated
    Geoscientific Analyses - is a Geographic
    Information System (GIS) software with
    immense capabilities for geodata
    processing and ana...
    Download SAGA GIS
  • 5
    Toolbox for Java/JTOpen
    Toolbox for Java/JTOpen
    The IBM Toolbox for Java / JTOpen is a
    library of Java classes supporting the
    client/server and internet programming
    models to a system running OS/400,
    i5/OS, o...
    Download Toolbox for Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (or D3 for Data-Driven Documents)
    is a JavaScript library that allows you
    to produce dynamic, interactive data
    visualizations in web browsers. With D3
    you...
    Download D3.js
  • More »

Linux commands

Ad