AMSSHELL(1)
Okay bestie, come sit with me π§ this is the manual for amsshell, a little program from the AMS executables crew, and I'm about to explain it in a way that actually makes sense π
β¨ NAME β¨
amsshell is the Asynchronous Message Service (AMS) test message sender (UNIX) π
π SYNOPSIS π
amsshell unit_name role_name application_name authority_name [{ p | s | q | a }]
πΈ DESCRIPTION πΈ
okay so amsshell is a message issuance program, and its whole purpose is testing AMS functionality π¦ it's giving test-drive energy.
When you start amsshell, it registers itself as an application module in the unit named by unit_name, inside the venture named by application_name and authority_name π«Ά. You have to say which role it registers in with role_name. Before it can run, a configuration server for the local continuum AND a registrar for that unit of that venture need to be running β¨ (they can both live in one amsd daemon task, which is iconic).
amsshell runs two threads at once π₯. There's a background thread that catches watches for AMS configuration events (shutdown included π), and a foreground thread that reads console lines from stdin to pick up your operating parameters and message content, then issues the messages.
The first character of every line on stdin tells amsshell what that line is for:
=β sets the subject that every message goes out on, until another=line replaces it. The subject name starts at the second character of the line. You can also add a single' '(space) after the subject name, followed by the text of the first message, which gets issued right away on that subject πrβ sets the role number that limits the domain of message issuance. The role number starts at the second character.cβ sets the continuum number that limits the domain of message issuance. The continuum number starts at the second character.uβ sets the unit number that limits the domain of message issuance. The unit number starts at the second character.mβ sets the module number that subsequent messages get sent to. The module number starts at the second character..β terminatesamsshellπ
If the first character of a line is none of the above, the whole line counts as message text and gets issued right away, on the previously set subject, to the previously set module (if one was set), and inside the previously set domain (if one was set) β¨
By default, amsshell runs in "publish" mode, so each message is simply published. You can override that by giving a fifth command-line argument, a "mode" indicator π The modes are:
pβ "publish" mode. Every message is published.sβ "send" mode. Every message is sent privately to the application module identified by the specified module, unit, and continuum numbers.qβ "query" mode. Every message is sent privately to the application module identified by the specified module, unit, and continuum numbers, and thenamsshellwaits for a reply message before it continues πaβ "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βamsshellended with an error, which you can look up in theion.logfile π"0"βamsshellended normally π
π FILES π
You need a MIB initialization file with the applicable default name (check out amsrc(5)) or things won't work π₯Ί
π ENVIRONMENT π
No environment variables apply. Zero env vars, zero drama β¨
π¨ DIAGNOSTICS π¨
amsshell can't register.βamsshellfailed to register, and the reason is noted in theion.logfile πamsshell can't set event manager.βamsshellfailed to start its background thread, and the reason is noted in theion.logfile π
π BUGS π
Report bugs to <ion-bugs@korgano.eecs.ohiou.edu> π
π SEE ALSO π
That's the whole manual, bestie π¦ it's stamped perl v5.24.1 and dated 2016-07-07, and it's still giving πΈ stay iconic π
π¦ where this page comes from
- ubuntu jammy: ion 3.2.1+dfsg-1.1 Β· BSD-3-Clause
- π girlified by claude-haiku-5-5 on : a language model's rewrite of the original, under its terms