This section provides sample front end invocations, as described in Sample front end invocations.
Type of front end |
Invocation |
---|---|
File front end |
$ sm_adapter --file=/etc/passwd --field-separator=: passwd.asl |
File tail front end |
$ sm_adapter --tail=/var/adm/messages syslog.asl |
Program front end |
$ sm_adapter --program=”/bin/ps -ef” ps.asl |
Subscriber front end |
$ sm_adapter --subscribe=”.*::.*::.*” --server=myDomainManager notify.asl The value of the subscribe parameter is parsed into class, instance, and event expressions. The “::” string separates the individual patterns. Subscriptions are sent to the Domain Manager specified with the --server option. In addition to the event patterns, the subscribe option also allows you to qualify the types of events included in the subscription set. A qualification has the form: --subscribe=”.*::.*::.*/paev” The trailing /paev qualifies the subscription to include problems (p), aggregates (a), symptoms (e) in the subscription set, and verbose mode (v) which turns on subscription control messages. You can specify any combination of the letters p, a, e, and v. If no qualifier is specified, the default is problems only (/p). To use the subscription front end in conjunction with a restartable Domain Manager, use the --rserver option in place of the --server option. |