diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 14:59:23 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2010-01-23 14:59:23 -0500 |
commit | 5c96c622e969f83b63116ba613e7a22c4f83ce6f (patch) | |
tree | 8410603cf0a39683a3c940eeec3730cf544c4011 /config | |
parent | eba197300e16271044f1446d006f544cd7213970 (diff) | |
download | pfsense-packages-5c96c622e969f83b63116ba613e7a22c4f83ce6f.tar.gz pfsense-packages-5c96c622e969f83b63116ba613e7a22c4f83ce6f.tar.bz2 pfsense-packages-5c96c622e969f83b63116ba613e7a22c4f83ce6f.zip |
Show how many detected cores/processors
Diffstat (limited to 'config')
-rwxr-xr-x | config/haproxy/haproxy_global.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/haproxy/haproxy_global.php b/config/haproxy/haproxy_global.php index 290631ae..655c0125 100755 --- a/config/haproxy/haproxy_global.php +++ b/config/haproxy/haproxy_global.php @@ -207,7 +207,7 @@ function enable_change(enable_change) { <td class="vtable"> <input name="nbproc" type="text" class="formfld" id="nbproc" size="18" value="<?=htmlspecialchars($pconfig['nbproc']);?>"> <br/> - Defaults to number of cores/processors installed if left blank. + Defaults to number of cores/processors installed if left blank (<?php echo trim(`/sbin/sysctl kern.smp.cpus | cut -d" " -f2`); ?> detected). </td> </tr> <tr> |