Changeset 29
- Timestamp:
- Nov 21, 2004, 11:36:29 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tools/pytools/diskreport.py
r28 r29 132 132 os.system('echo "%s" > %s' %(txt, topname)) 133 133 134 #Divide into two (had prob elms with broken pipe)135 cmd = 'du -k "%s" | sort -nr >> %s' %(dir, topname)134 #Divide into two (had problems with broken pipe) 135 cmd = 'du -k "%s" | sort -nr | head -50 >> %s' %(dir, topname) 136 136 os.system(cmd) 137 cmd = 'cat %s | head -50 > %s' %(topname, topname) 138 os.system(cmd) 137 #cmd = 'du -k "%s" | sort -nr >> %s' %(dir, topname) 138 #os.system(cmd) 139 #cmd = 'cat %s | head -50 > %s' %(topname, topname) 140 #os.system(cmd) 139 141 140 142
Note: See TracChangeset
for help on using the changeset viewer.