Changeset 1972
- Timestamp:
- Oct 25, 2005, 11:28:11 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/fit_interpolate/benchmark_least_squares.py
r1969 r1972 35 35 36 36 def mem_usage(pid): 37 ''' 38 returns the rss. 39 40 Only works on nix systems. 41 ''' 37 42 import string 38 43 p=os.popen('ps uwp %s'%pid) 39 44 lines=p.readlines() 40 print "lines", lines45 #print "lines", lines 41 46 status=p.close() 42 47 if status or len(lines)!=2:
Note: See TracChangeset
for help on using the changeset viewer.