class ControlServer(Referenceable, service.Service):
+ implements(RIControlClient)
def remote_upload_from_file_to_uri(self, filename):
uploader = self.parent.getServiceNamed("uploader")
"VmSize",
#"VmHWM",
"VmData")
+ stats = {}
for line in open("/proc/self/status", "r").readlines():
name, right = line.split(":",2)
if name in stat_names:
from twisted.application import service
import os.path
from foolscap import Tub
-from foolscap.eventual import fireEventually
from allmydata.util.iputil import get_local_addresses
from allmydata.util import idlib
from twisted.python import log