summaryrefslogtreecommitdiffstats
path: root/tuningplugins
diff options
context:
space:
mode:
authorPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-23 18:03:35 +0100
committerPhilip Knirsch <pknirsch@hamburg.stuttgart.redhat.com>2009-02-23 18:03:35 +0100
commit80093be74fbed8d4459938e19ff00920a41a9712 (patch)
treec73b82af32e34b7a74bdfd4ca96c4ff3f6cd2465 /tuningplugins
parentc02f25afb09ff1f38484a8b69c4dcc85ed2378c7 (diff)
downloadtuned-80093be74fbed8d4459938e19ff00920a41a9712.tar.gz
tuned-80093be74fbed8d4459938e19ff00920a41a9712.tar.xz
tuned-80093be74fbed8d4459938e19ff00920a41a9712.zip
- Real first complete version with initscript, config file and
proper Makefile and packaging.
Diffstat (limited to 'tuningplugins')
-rw-r--r--tuningplugins/disk.py2
-rw-r--r--tuningplugins/net.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/tuningplugins/disk.py b/tuningplugins/disk.py
index 638ca33..9d7d848 100644
--- a/tuningplugins/disk.py
+++ b/tuningplugins/disk.py
@@ -44,6 +44,6 @@ class DiskTuning:
if self.devidle[dev]["LEVEL"] > 0 and (self.devidle[dev]["READ"] == 0 or self.devidle[dev]["WRITE"] == 0):
self.devidle[dev]["LEVEL"] = 0
os.system("hdparm -S255 -B127 /dev/"+dev)
- print(load, self.devidle)
+ #print(load, self.devidle)
_plugin = DiskTuning()
diff --git a/tuningplugins/net.py b/tuningplugins/net.py
index 1245d90..3983b8d 100644
--- a/tuningplugins/net.py
+++ b/tuningplugins/net.py
@@ -44,6 +44,6 @@ class NetTuning:
if self.devidle[dev]["LEVEL"] > 0 and (self.devidle[dev]["READ"] == 0 or self.devidle[dev]["WRITE"] == 0):
self.devidle[dev]["LEVEL"] = 0
os.system("ethtool -s "+dev+" advertise 0x03F")
- print(load, self.devidle)
+ #print(load, self.devidle)
_plugin = NetTuning()