EnglishFrenchSpanish

OnWorks favicon

amsshell - Online in the Cloud

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

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


amsshell - Asynchronous Message Service (AMS) test message sender (UNIX)

SYNOPSIS


amsshell unit_name role_name application_name authority_name [{ p | s | q | a }]

DESCRIPTION


amsshell is a message issuance program designed to test AMS functionality.

When amsshell 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 amsshell to
run.

amsshell runs as two threads: a background thread that receives watches for AMS
configuration events (including shutdown), together with a foreground thread that acquires
operating parameters and message content in lines of console input to control the issuance
of messages.

The first character of each line of input from stdin to the amsshell indicates the
significance of that line:

= Sets the name of the subject on which all messages are to be issued, until superseded
by another "=" line. The subject name must begin at the second character of this
line. Optionally, subject name may be followed by a single ' ' (space) character and
then the text of the first message to be issued on this subject, which is to be issued
immediately.

r Sets the number of the role constraining the domain of message issuance. The role
number must begin at the second character of this line.

c Sets the number of the continuum constraining the domain of message issuance. The
continuum number must begin at the second character of this line.

u Sets the number of the unit constraining the domain of message issuance. The unit
number must begin at the second character of this line.

m Sets the number of the module to which subsequent messages are to be issued. The
module number must begin at the second character of this line.

. Terminates amsshell.

When the first character of a line of input from stdin is none of the above, the entire
line is taken to be the text of a message that is to be issued immediately, on the
previously specified subject, to the previously specified module (if applicable), and
subject to the previously specified domain (if applicable).

By default, amsshell runs in "publish" mode: when a message is to be issued, it is simply
published. This behavior can be overridden by providing a fifth command-line argument to
amsshell - a "mode" indicator. The supported modes are as follows:

p This is "publish" mode. Every message is published.

s This is "send" mode. Every message is sent privately to the application module
identified by the specified module, unit, and continuum numbers.

q This is "query" mode. Every message is sent privately to the application module
identified by the specified module, unit, and continuum numbers, and amsshell then
waits for a reply message before continuing.

a This is "announce" mode. Every message is announced to all modules in the domain
established by the previously specified role, unit, and continuum numbers.

EXIT STATUS


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

"0" amsshell terminated normally.

Use amsshell online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Free Pascal Compiler
    Free Pascal Compiler
    A 32/64/16-bit Pascal compiler for
    Win32/64/CE, Linux, Mac OS X/iOS,
    Android, FreeBSD, OS/2, Game Boy
    Advance, Nintendo NDS and DOS;
    semantically compatible wi...
    Download Free Pascal Compiler
  • 2
    Canon EOS DIGITAL Info
    Canon EOS DIGITAL Info
    Canon doesn�t have shutter count
    included on the EXIF information of an
    image file, as opposed to Nikon and
    Pentax. There�s no official Canon based
    application ...
    Download Canon EOS DIGITAL Info
  • 3
    rEFInd
    rEFInd
    rEFInd is a fork of the rEFIt boot
    manager. Like rEFIt, rEFInd can
    auto-detect your installed EFI boot
    loaders and it presents a pretty GUI
    menu of boot option...
    Download rEFInd
  • 4
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 5
    Music Caster
    Music Caster
    Music Caster is a tray music player
    that lets you cast your local music to a
    Google Cast device. On the first run,
    you will need to click the arrow in your
    tas...
    Download Music Caster
  • 6
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • More »

Linux commands

  • 1
    4ti2-circuits
    4ti2-circuits
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-circuits
  • 2
    4ti2-genmodel
    4ti2-genmodel
    4ti2 - software package for algebraic,
    geometric and combinatorial problems on
    linear spaces ...
    Run 4ti2-genmodel
  • 3
    coriander
    coriander
    coriander - control and display dc1394
    camera images ...
    Run coriander
  • 4
    corkscrew
    corkscrew
    corkscrew - Tunnel TCP connections
    through HTTP proxies ...
    Run corkscrew
  • 5
    g.gisenvgrass
    g.gisenvgrass
    g.gisenv - Outputs and modifies the
    user�s current GRASS variable settings.
    Prints all defined GRASS variables if no
    option is given. KEYWORDS: general,
    settin...
    Run g.gisenvgrass
  • 6
    g.guigrass
    g.guigrass
    g.gui - Launches a GRASS graphical user
    interface (GUI) session. Optionally
    updates default user interface settings.
    KEYWORDS: general, GUI, user interface ...
    Run g.guigrass
  • More »

Ad