File manager - Edit - /usr/share/dstat/dstat_helloworld.py
Back
### Author: Dag Wieers <dag$wieers,com> class dstat_plugin(dstat): """ Example "Hello world!" output plugin for aspiring Dstat developers. """ def __init__(self): self.name = 'plugin title' self.nick = ('counter',) self.vars = ('text',) self.type = 's' self.width = 12 self.scale = 0 def extract(self): self.val['text'] = 'Hello world!' # vim:ts=4:sw=4:et
| ver. 1.4 |
Github
|
.
| PHP 8.3.31 | Generation time: 0 |
proxy
|
phpinfo
|
Settings