[erlang-questions] os_mon on OS X
Ben Hood
0x6e6562@REDACTED
Fri May 2 11:02:35 CEST 2008
Hi,
The get_uint32_measurement/2 call in cpu_sup seems to throw a bad
match when the locale of the shell that the process is running in does
not use a decimal point to denote a fraction.
For example, if the result of /usr/bin/uptime is
1:59 up 1 day, 6:07, 5 users, load averages: 0,77 0,94 1,02
then the get_uint32_measurement fails.
This occurs in R12B-1 with uname
Darwin Macintosh-3.local 9.2.2 Darwin Kernel Version 9.2.2: Tue Mar 4
21:17:34 PST 2008; root:xnu-1228.4.31~1/RELEASE_I386 i386
There was a thread (http://forum.trapexit.org/mailinglists/viewtopic.php?t=4687&sid=89d1b0afdf03311a49b26a6376bef3e3
) about this a few years ago, I don't know whether this is still an
issue.
Thx,
Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080502/e53ec3d8/attachment.htm>
More information about the erlang-questions
mailing list