"Fossies" - the Fresh Open Source Software Archive

Member "unix/plugins/top.sh" (11 May 2023, 178 Bytes) of package /linux/misc/pandorafms_agent_linux-7.0NG.771.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 echo "<module>";
    2 echo "<name><![CDATA[top]]></name>";
    3 echo "<type><![CDATA[generic_data_string]]></type>";
    4 echo "<data><![CDATA["
    5 top -b -n 1
    6 echo "]]></data>"
    7 echo "</module>"