Inherit

This executable can inherit functions from another.
  1. Comment

    dstat allows you to run arbitrary Python scripts loaded as “external plugins” if they are located in one of the directories, stated in the dstat man page under “FILES”:

    • ~/.dstat/
    • (path of binary)/plugins/
    • /usr/share/dstat/
    • /usr/local/share/dstat/

    Pick the one that you can write into. The plugin named xxx file name must be defined in the dstat_xxx.py file.

    This function can be performed by any unprivileged user.
    dstat --xxx
    This function is performed by the privileged user if executed via sudo because the acquired privileges are not dropped.
    RemarksIf there are environment variables involved, they must be passed via sudo VAR=value ... or exported then sudo -E ....
    dstat --xxx
    Functions

    Inherits from python, thus possibly granting its functions.