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
    Image Downloader
    Image Downloader
    Crawl and download images using
    Selenium Using python3 and PyQt5.
    Supported Search Engine: Google, Bing,
    Baidu. Keywords input from the keyboard
    or input from ...
    Download Image Downloader
  • 2
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 3
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 4
    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
  • 5
    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
  • 6
    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
  • More »

Linux commands

Ad