Sindbad~EG File Manager

Current Path : /proc/self/root/usr/lib/python3.6/site-packages/tuned/monitors/
Upload File :
Current File : //proc/self/root/usr/lib/python3.6/site-packages/tuned/monitors/monitor_load.py

import tuned.monitors

class LoadMonitor(tuned.monitors.Monitor):
	@classmethod
	def _init_available_devices(cls):
		cls._available_devices = set(["system"])

	@classmethod
	def update(cls):
		with open("/proc/loadavg") as statfile:
			data = statfile.read().split()
		cls._load["system"] = float(data[0])

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists