Directory : /usr/share/dstat/ |
|
Current File : //usr/share/dstat/dstat_helloworld.py |
### 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
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]