EnglishFrenchSpanish

OnWorks favicon

amslog - Online in the Cloud

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

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


amslog - Asynchronous Message Service (AMS) test message receiver

SYNOPSIS


amslog unit_name role_name application_name authority_name [{ s | i }]

DESCRIPTION


amslog is a message reception program designed to test AMS functionality.

When amslog is started, it registers as an application module in the unit identified by
unit_name of the venture identified by application_name and authority_name; the role in
which it registers must be indicated in role_name. A configuration server for the local
continuum and a registrar for the indicated unit of the indicated venture (which may both
be instantiated in a single amsd daemon task) must be running in order for amslog to run.

amslog runs as two threads: a background thread that receives AMS messages and logs them
to standard output, together with a foreground thread that acquires operating parameters
in lines of console input to control the flow of messages to the background thread.

When the first character of a line of input from stdin to the amslog foreground thread is
'.' (period), amslog immediately terminates. Otherwise, the first character of each line
of input from stdin must be either '+' indicating assertion of interest in a message
subject or '-' indicating cessation of interest in a subject. In each case, the name of
the subject in question must begin in the second character of the input line. Note that
"everything" is a valid subject name.

By default, amslog runs in "subscribe" mode: when interest in a message subject is
asserted, amslog subscribes to that subject; when interest in a message subject is
rescinded, amslog unsubscribes to that subject. This behavior can be overridden by
providing a third command-line argument to amslog - a "mode" indicator. When mode is 'i',
amslog runs in "invite" mode. In "invite" mode, when interest in a message subject is
asserted, amslog invites messages on that subject; when interest in a message subject is
rescinded, amslog cancels its invitation for messages on that subject.

The "domain" of a subscription or invitation can optionally be specified immediately after
the subject name, on the same line of console input:

Domain continuum name may be specified, or the place-holder domain continuum name "_"
may be specified to indicate "all continua".

If domain continuum name ("_" or otherwise) is specified, then domain unit name may be
specified or the place-holder domain unit name "_" may be specified to indicate "the
root unit" (i.e., the entire venture).

If domain unit name ("_" or otherwise) is specified, then domain role name may be
specified.

When amslog runs in VxWorks or RTEMS, the subject and content of each message are simply
written to standard output in a text line for display on the console. When amslog runs in
a UNIX environment, the subject name length (a binary integer), subject name (ASCII text),
content length (a binary integer), and content (ASCII text) are written to standard output
for redirection either to a file or to a pipe to amslogprt.

Whenever a received message is flagged as a Query, amslog returns a reply message whose
content is the string "Got " followed by the first 128 bytes of the content of the Query
message, enclosed in single quote marks and followed by a period.

EXIT STATUS


-1 amslog terminated with an error as noted in the ion.log file.

"0" amslog terminated normally.

Use amslog online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Psi
    Psi
    Psi is cross-platform powerful XMPP
    client designed for experienced users.
    There are builds available for MS
    Windows, GNU/Linux and macOS.. Audience:
    End Users...
    Download Psi
  • 2
    Blobby Volley 2
    Blobby Volley 2
    Official continuation of the famous
    Blobby Volley 1.x arcade game..
    Audience: End Users/Desktop. User
    interface: OpenGL, SDL. Programming
    Language: C++, Lua. C...
    Download Blobby Volley 2
  • 3
    SuiteCRM
    SuiteCRM
    SuiteCRM is the award-winning Customer
    Relationship Management (CRM)
    application brought to you by authors
    and maintainers, SalesAgility. It is the
    world�s mos...
    Download SuiteCRM
  • 4
    Poweradmin
    Poweradmin
    Poweradmin is a web-based DNS
    administration tool for PowerDNS server.
    The interface has full support for most
    of the features of PowerDNS. It has full
    support...
    Download Poweradmin
  • 5
    Gin Web Framework
    Gin Web Framework
    Gin is an incredibly fast web framework
    written in Golang that can perform up to
    40 times faster, thanks to its
    martini-like API and custom version of
    httprout...
    Download Gin Web Framework
  • 6
    CEREUS LINUX
    CEREUS LINUX
    CEREUS LINUX basado en MX LINUX con
    varios entornos de escritorios. This is
    an application that can also be fetched
    from
    https://sourceforge.net/projects/cereu...
    Download CEREUS LINUX
  • More »

Linux commands

  • 1
    aa-clickquery
    aa-clickquery
    aa-clickquery - program for querying
    click-apparmor DESCRIPTION: This program
    is used to query click-apparmor for
    information. USAGE: aa-clickquery
    --click-fra...
    Run aa-clickquery
  • 2
    aa-exec-click
    aa-exec-click
    aa-exec-click - program for executing
    click packages under confinement
    DESCRIPTION: This program is used to
    execute click package under AppArmor
    confinement. I...
    Run aa-exec-click
  • 3
    cpio
    cpio
    cpio - copy files to and from archives ...
    Run cpio
  • 4
    cpipe
    cpipe
    cpipe - copy stdin to stdout while
    counting bytes and reporting progress ...
    Run cpipe
  • 5
    FvwmSave
    FvwmSave
    FvwmSave - the Fvwm desktop-layout
    saving module ...
    Run FvwmSave
  • 6
    FvwmSave1
    FvwmSave1
    FvwmSave - the FVWM desktop-layout
    saving module ...
    Run FvwmSave1
  • More »

Ad