aboutsummaryrefslogtreecommitdiffstats
path: root/funcs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 23:03:02 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-11-19 23:03:02 +0000
commit6c739092703552f7ef15e5db5a646eb9b5cc5b18 (patch)
tree49ebdd279a2810130e8ed70bfc8e2aa37880734c /funcs
parent096ab948cac182c6d8dc28ab4d08a7e4d9acf08d (diff)
Make the SYSINFO documentation reflect which options were compiled in
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@89439 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r--funcs/func_sysinfo.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/funcs/func_sysinfo.c b/funcs/func_sysinfo.c
index d656b0cdf..b386b9fb4 100644
--- a/funcs/func_sysinfo.c
+++ b/funcs/func_sysinfo.c
@@ -91,6 +91,7 @@ static struct ast_custom_function sysinfo_function = {
" Options:\n"
" loadavg - system load average from past minute\n"
" numcalls - number of active calls currently in progress\n"
+#if defined(HAVE_SYSINFO)
" uptime - system uptime in hours\n"
" totalram - total usable main memory size in KiB\n"
" freeram - available memory size in KiB\n"
@@ -98,6 +99,7 @@ static struct ast_custom_function sysinfo_function = {
" totalswap - total swap space size in KiB\n"
" freeswap - free swap space still available in KiB\n"
" numprocs - number of current processes\n",
+#endif /* HAVE_SYSINFO */
};
static int unload_module(void)