Memory Test on OS X (Darwin)
list David Gilmore
Good day Hobbits, I installed the hobbit client on an OS X 10.4 server and found that memory was not being reported. I setup the bb-memory.sh script on the server and I get the following: Memory routine not defined for this operating system (Darwin). I thought this to be strange since the original bb-memory.sh supported BSD and OS X/Darwin was built on OpenBSD. Does anyone know of a fix or work around? David Gilmore Consultant Stenhouse Consulting, LLC. X Traverse St Providence, RI XXXXX XXX.XXX.XXXX XXX.XXX.XXXX (fax)
list Henrik Størner
▸
On Mon, Feb 13, 2006 at 03:02:44PM -0500, David Gilmore wrote:
I installed the hobbit client on an OS X 10.4 server and found that memory was not being reported. I setup the bb-memory.sh script on the server and I get the following: Memory routine not defined for this operating system (Darwin). I thought this to be strange since the original bb-memory.sh supported BSD and OS X/Darwin was built on OpenBSD. Does anyone know of a fix or work around?
Even though Darwin has some roots in BSD, it is not a BSD kernel. And memory statistics is where OS's vary the most. The Hobbit client does use Darwin's "vm_stat" command to collect some memory statistics, but I cannot remember exactly which. If you could provide an example output from this command, or any other commands that would be useful to estimate memory utilization, that would be helpful. Regards, Henrik
list David Gilmore
Henrik, I can send the hobbitclient.log file. Is that sufficient? Dave
-----Original Message----- From: hobbit-return-5659-david=user-9e293dd11111@xymon.invalid [mailto:hobbit-return-5659-david=stenhouseconsulting.com at hswn. dk] On Behalf Of Henrik Stoerner Sent: Monday, February 13, 2006 3:48 PM To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Memory Test on OS X (Darwin)
▸
On Mon, Feb 13, 2006 at 03:02:44PM -0500, David Gilmore wrote:I installed the hobbit client on an OS X 10.4 server and found that > memory was not being reported. I setup the bb-memory.sh script on the > server and I get the following:Memory routine not defined for this operating system (Darwin). I thought this to be strange since the original bb-memory.sh supported > BSD and OS X/Darwin was built on OpenBSD. Does anyone know of a fix > or work around?Even though Darwin has some roots in BSD, it is not a BSD kernel. And memory statistics is where OS's vary the most. The Hobbit client does use Darwin's "vm_stat" command to collect some memory statistics, but I cannot remember exactly which. If you could provide an example output from this command, or any other commands that would be useful to estimate memory utilization, that would be helpful. Regards, Henrik
list Henrik Størner
▸
On Mon, Feb 13, 2006 at 04:04:16PM -0500, David Gilmore wrote:
Henrik, I can send the hobbitclient.log file. Is that sufficient?
No, the ~hobbit/client/msg.txt file is what I'm after. Or just the output from running the "vm_stat" command. Regards, Henrik
list David Gilmore
Henrik, Here is vm_stat for this OS X server. Again thank you for the help. macserver01:/ hobbit$ vm_stat Mach Virtual Memory Statistics: (page size of 4096 bytes) Pages free: 130670. Pages active: 68731. Pages inactive: 94643. Pages wired down: 33636. "Translation faults": 111047048. Pages copy-on-write: 4968981. Pages zero filled: 25886136. Pages reactivated: 0. Pageins: 54864. Pageouts: 0. Object cache: 747184 hits of 2637744 lookups (28% hit rate) macserver01:/ hobbit$ Dave
-----Original Message----- From: hobbit-return-5662-david=user-9e293dd11111@xymon.invalid [mailto:hobbit-return-5662-david=stenhouseconsulting.com at hswn. dk] On Behalf Of Henrik Stoerner Sent: Monday, February 13, 2006 5:09 PM
▸
To: user-ae9b8668bcde@xymon.invalid Subject: Re: [hobbit] Memory Test on OS X (Darwin) On Mon, Feb 13, 2006 at 04:04:16PM -0500, David Gilmore wrote:Henrik,I can send the hobbitclient.log file. Is that sufficient?No, the ~hobbit/client/msg.txt file is what I'm after. Or just the output from running the "vm_stat" command. Regards, Henrik