Embed a systemd service table widget.
The following parameters are recognized:
One or more systemd service units that are space separated. The ".service" extension must be included.
This macro is used to embed a systemd service table widget into an NST WUI page for one or more services.
Example of using the macro:
@systemdTable("messagebus.service") or @systemdTable("nst-ws.service promisc.service")
Assuming the com.ccg.macros.at.All
class is within your CLASSPATH
and the
config/html.at
macros file has been
generated (Hint: run make atmacros in the
wui
directory), a developer should be able to
run the above example by copy/pasting from below:
[root@probe root]#
java com.ccg.macros.at.All <<EOF
@include("config/html.at",,"d")
@systemdTable("messagebus.service") or @systemdTable("nst-ws.service promisc.service")
EOF
This macro is defined as:
<div@htmlAttr("style","margin-left: 1.0em; margin-right: 1.0em;")><span@htmlAttr("class","systemdTable")>@param(0)</span></div>