https://redmine.pfsense.org/https://redmine.pfsense.org/favicon.ico?16780521162010-04-19T15:03:14ZpfSense bugtrackerpfSense - Bug #526: bug in /etc/rc.php_ini_setuphttps://redmine.pfsense.org/issues/526?journal_id=15982010-04-19T15:03:14ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Target version</strong> set to <i>2.0</i></li><li><strong>Affected Version</strong> set to <i>2.0</i></li></ul> pfSense - Bug #526: bug in /etc/rc.php_ini_setuphttps://redmine.pfsense.org/issues/526?journal_id=18892010-05-14T13:12:00ZSeth Mosseth.mos@dds.nl
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Feedback</i></li></ul><p>Changed the used awk function to use the byte value and calculate from there.</p>
<p>Alternatively. Provide the strong from<br /><pre>
dmesg|grep "avail memory"
</pre></p> pfSense - Bug #526: bug in /etc/rc.php_ini_setuphttps://redmine.pfsense.org/issues/526?journal_id=18962010-05-14T16:08:24ZGanbold Tsganbold@gmail.com
<ul></ul><p>works here.</p>
<p>beastie# /bin/cat /var/run/dmesg.boot | /usr/bin/awk '/avail memory/ { memory=($4 / 1048576); printf("%0.0f\n", memory); exit}'<br />1937<br />beastie# /sbin/dmesg -a |/usr/bin/awk '/avail memory/ { memory=($4 / 1048576); printf("%0.0f\n", memory); exit}'<br />1937</p>
<p>It can be closed.</p> pfSense - Bug #526: bug in /etc/rc.php_ini_setuphttps://redmine.pfsense.org/issues/526?journal_id=18972010-05-14T16:42:07ZChris Buechlercbuechler@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Resolved</i></li></ul>