Changeset 861
- Timestamp:
- 07/27/07 05:30:27 (1 year ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/qa/run-tests.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r860 r861 1 2007-07-26 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * qa/run-tests.py: Added new option for showing how much memory is 4 the server using during the QA test execution. 5 1 6 2007-07-25 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 7 cherokee/trunk/qa/run-tests.py
r860 r861 40 40 log = False 41 41 help = False 42 memproc = False 42 43 43 44 server = CHEROKEE_PATH … … 79 80 elif p == '-l': log = True 80 81 elif p == '-h': help = True 82 elif p == '-o': memproc = True 81 83 elif p[:2] == '-n': num = int(p[2:]) 82 84 elif p[:2] == '-t': thds = int(p[2:]) … … 238 240 print 239 241 242 if memproc: 243 cmd = 'xterm -e " \ 244 ( while :; do \ 245 [ -d /proc/%d ] || break; \ 246 date; \ 247 cat /proc/%d/status 2>/dev/null | egrep \'(VmSize|VmData|SleepAVG)\'; \ 248 echo; \ 249 sleep 1; \ 250 done; ) | less -b1024 -O/tmp/cherokee_mem.txt" &' % (pid, pid) 251 os.system(cmd) 252 240 253 # Count down 241 254 count_down ("Tests will start in %d secs", delay)