Changeset 29


Ignore:
Timestamp:
Nov 21, 2004, 11:36:29 AM (20 years ago)
Author:
ole
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/pytools/diskreport.py

    r28 r29  
    132132os.system('echo "%s" > %s' %(txt, topname))
    133133
    134 #Divide into two (had probelms with broken pipe)
    135 cmd = 'du -k "%s" | sort -nr >> %s' %(dir, topname)
     134#Divide into two (had problems with broken pipe)
     135cmd = 'du -k "%s" | sort -nr | head -50 >> %s' %(dir, topname)
    136136os.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)
    139141
    140142
Note: See TracChangeset for help on using the changeset viewer.