I guess nobody has tried using Apache::VMonitor on win32 then. We need to get the pid of the parent process in order to calculate the real mem usage (taking the sharing into an account). Doesn't win32 implement shared memory? I suppose not, since the is no fork. Am I correct?
I had a look at Apache::VMonitor once, ages ago, when I read about it in the old "mod_perl guide", but it required GTop, which in turn required libgtop, which I couldn't even begin to figure out how to build on Win32 :-(
AFAIK Win32 doesn't have SysV IPC shared memory. At least, when I looked at IPC-ShareLite & IPC-SharedCache (which HTML-Template can make use of) I didn't get very far.
But the Win32 API docs do say it "uses a special case of file mapping to provide shared memory access between processes", and there is a (MSV)C++ class called CSharedFile, derived from CMemFile, that supports shared memory files. No idea if Apache/mod_perl makes use of this, though. Probably not, I guess.
- Steve
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
