[asterisk-commits] mvanbaak: trunk r103783 - /trunk/main/asterisk.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Feb 18 13:47:40 CST 2008


Author: mvanbaak
Date: Mon Feb 18 13:47:40 2008
New Revision: 103783

URL: http://svn.digium.com/view/asterisk?view=rev&rev=103783
Log:
make the output of 'core show settings' a bit nicer.

(closes issue #12020)
Reported by: seanbright
Patches:
      asterisk.c.patch uploaded by seanbright (license 71)

Modified:
    trunk/main/asterisk.c

Modified: trunk/main/asterisk.c
URL: http://svn.digium.com/view/asterisk/trunk/main/asterisk.c?view=diff&rev=103783&r1=103782&r2=103783
==============================================================================
--- trunk/main/asterisk.c (original)
+++ trunk/main/asterisk.c Mon Feb 18 13:47:40 2008
@@ -395,18 +395,18 @@
 	ast_cli(a->fd, "-----------------\n");
 	ast_cli(a->fd, "  Version:                     %s\n", ast_get_version());
 	if (option_maxcalls)
-		ast_cli(a->fd, "  Max. calls:                  %d (Current %d)\n", option_maxcalls, ast_active_channels());
+		ast_cli(a->fd, "  Maximum calls:               %d (Current %d)\n", option_maxcalls, ast_active_channels());
 	else
-		ast_cli(a->fd, "  Max. calls:                  Not set\n");
+		ast_cli(a->fd, "  Maximum calls:               Not set\n");
 	if (option_maxfiles)
-		ast_cli(a->fd, "  Max. open file handles:      %d\n", option_maxfiles); 
+		ast_cli(a->fd, "  Maximum open file handles:   %d\n", option_maxfiles); 
 	else
-		ast_cli(a->fd, "  Max. open file handles:      Not set\n");
+		ast_cli(a->fd, "  Maximum open file handles:   Not set\n");
 	ast_cli(a->fd, "  Verbosity:                   %d\n", option_verbose);
 	ast_cli(a->fd, "  Debug level:                 %d\n", option_debug);
-	ast_cli(a->fd, "  Max load avg:                %lf\n", option_maxload);
+	ast_cli(a->fd, "  Maximum load average:        %lf\n", option_maxload);
 #if defined(HAVE_SYSINFO)
-	ast_cli(a->fd, "  Min Free Memory:             %ld MB\n", option_minmemfree);
+	ast_cli(a->fd, "  Minimum free memory:         %ld MB\n", option_minmemfree);
 #endif
 	if (ast_localtime(&ast_startuptime, &tm, NULL)) {
 		ast_strftime(buf, sizeof(buf), "%H:%M:%S", &tm);




More information about the asterisk-commits mailing list