Linux vacca.o2switch.net 4.18.0-553.123.2.lve.el8.x86_64 #1 SMP Thu May 7 23:17:13 UTC 2026 x86_64
/
proc
/
3281657
/
root
/
proc
/
thread-self
/
root
/
proc
/
3281657
/
cwd
/
lib64
/
python2.7
/
Demo
/
pdist
/
//proc/3281657/root/proc/thread-self/root/proc/3281657/cwd/lib64/python2.7/Demo/pdist/sumtree.py
import time import FSProxy def main(): t1 = time.time() #proxy = FSProxy.FSProxyClient(('voorn.cwi.nl', 4127)) proxy = FSProxy.FSProxyLocal() sumtree(proxy) proxy._close() t2 = time.time() print t2-t1, "seconds" raw_input("[Return to exit] ") def sumtree(proxy): print "PWD =", proxy.pwd() files = proxy.listfiles() proxy.infolist(files) subdirs = proxy.listsubdirs() for name in subdirs: proxy.cd(name) sumtree(proxy) proxy.back() main()