-----Original Message----- From: Scott Robertson [mailto:sroberts@codeit.com]
What files report information under /proc? If you receive any of these scripts please pass them on to me. I think we will create a few beta sites for anybody interested on the list and then monitor their usage.
Mem info is in /proc/(pid)/stat but ps axm works pretty well... Here's my (amateur) contribution: script in the Zope/var directory: #!/bin/bash ps axm | grep $(cat < /usr/local/dc/zope19/var/pcgi.pid) | grep -v grep \
/usr/local/dc/zope19/var/rawdata
crontab entry */5 * * * * /usr/local/dc/zope19/var/rawmem 2> /dev/null * 23 * * * /bin/date >> /usr/local/dc/zope19/var/rawdata 2> /dev/null This will dump the ps m for the zope process every five minutes, and timestamp it once a day. After a week or so we should have a pretty good set of datapoints. -Michel
--------------------------------------------------- - Scott Robertson Phone: 714.972.2299 - - CodeIt Computing Fax: 714.972.2399 - - http://codeit.com - ---------------------------------------------------