The following figure shows the syntax for the mposter
command.
mposter syntax
mposter [-h|-?] [-z] [-q] [-v] [-c <ConfigFile>] {-p <Var=Value>} [-l <HomeLocation>] [-n <CellName> | -n <@Host[/Port[#Key]>]] [-i <Userid[/Password][@Host[/Port]>] ] [-v] [-x] [-w MSecAnswerWait][-d] [-e] [-k] [-j <BufDir>] [ - | { <SourceFile> } | -a <Class> [-m <Message>] [-r <Severity>] [-b <SlotSetValue>] | -u <ObjectID> [-b <SlotSetValue>]]
The following figure shows the syntax for the msend
command. The syntax for msend
is very similar to mposter
except that mposter
supports the -d
option.
msend syntax
msend [-h|-?] [-z] [-q] [-v] [-c <ConfigFile>] {-p <Var Value>}[-l <HomeLocation>] [-n <CellName> | -n <Host[/Port[#Key]>] ] [-i <Userid_[/Password [@Host[/Port]>] ] [-v] [-x] [-w MSecAnswerWait][-d] [-e] [-k] [-j <BufDir>] [ - | { <SourceFile> } | -a <Class> [-m <Message>] [-r <Severity>] [-b <SlotSetValue>] | -u <ObjectID> [-b <SlotSetValue>]]
The following table lists the command-specific options for mposter
and msend
. For a list of common command options that apply to all CLI commands, see Event management common command options.
mposter and msend options
Option | Description |
---|---|
| Input from standard input stream |
| Sends an object of class |
| Adds |
| (Used with |
| Specifies to use EIF instead of MCELL format |
| Sets the directory to be used for persisting events that are buffered until they are sent |
-k | Kills the |
| Sets event message to the specified Message text |
| Connects to cell Note Allows only one cell |
| Can be used to specify the directory path to the source file by using the following syntax: |
| Sets the event severity value to the |
| Specifies to update or modify data or event object specified by objectID rather than creating a new object.
|
| Sets the length of time in milliseconds to wait for message answer; default is |
| Examines timings |
Note
To send a special character as part of a text field by using msend
or mposter
, enclose the character within a set of single quotation marks (' '
) framed by a set of double quotation marks(" "
). The following code blocks show some examples for the same:
To send an escape sequence such as backslash as part of a text field, use the following command:
msend -n CellName -m "'a\b'"
To send a semicolon as part of a text field, use the following command:
msend -n CellName -m "'a;b'"
4 Comments
Moritz Jung
What more
SlotSetValue
settings does this tool have than mc_tool?Rashmi Gokhale
Hi,
I will confirm with an SME and update you.
Thanks,
Rashmi
Rashmi Gokhale
Hi Moritz,
Sorry for the delay.
Various settings for the SlotSetValue are the Core Event base class slots as listed in the following topic:
https://docs.bmc.com/docs/display/public/tsim10/CORE_EVENT+base+event+class
Moritz Jung
thanx