Update of /cvsroot/monetdb/MonetDB5/src/tools
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv26661
Modified Files:
mcheckpoint monetdb.mx
Log Message:
A default should give compact and informative information.
given the role of monetdb this means an overview of the
running systems and there state
Index: mcheckpoint
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/mcheckpoint,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- mcheckpoint 30 Aug 2007 20:38:41 -0000 1.1
+++ mcheckpoint 9 Sep 2007 10:00:17 -0000 1.2
@@ -50,7 +50,7 @@
DBFARM=$MONETDB5_PREFIX/var/MonetDB5/dbfarm
DBLOGS=$MONETDB5_PREFIX/var/MonetDB5/dblogs
-CHKPNTDIR=$MONETDB5_PREFIX/var/MonetDB5/chkpnt
+CHKPNTDIR=$MONETDB5_PREFIX/var/MonetDB5/dbarchive
TAG=`date +%F-%H%M%S`
# First perform some sanity checks
Index: monetdb.mx
===================================================================
RCS file: /cvsroot/monetdb/MonetDB5/src/tools/monetdb.mx,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -d -r1.33 -r1.34
--- monetdb.mx 8 Sep 2007 18:11:07 -0000 1.33
+++ monetdb.mx 9 Sep 2007 10:00:17 -0000 1.34
@@ -115,8 +115,9 @@
printf(" given. Instead of the normal mode, a long and short
mode\n");
printf(" control what information is displayed.\n");
printf("Options:\n");
+ printf(" -s use short one-line listing [default]\n");
printf(" -l use long listing\n");
- printf(" -s use short one-line listing\n");
+ printf(" -c crash statistics listing\n");
} else if (strcmp(argv[1], "start") == 0) {
printf("Usage: monetdb start [-a] [database ...]\n");
printf(" Starts the given database, if the MonetDB Database
Server\n");
@@ -352,7 +353,7 @@
command_status(int argc, char *argv[])
{
int doall = 1; /* we default to showing all */
- int mode = 0; /* 0=normal, 1=short, 2=long */
+ int mode = 1; /* 0=normal, 1=short, 2=long */
int i, len = 10;
char *p;
str e;
@@ -370,6 +371,9 @@
case 's':
mode = 1;
break;
+ case 'c':
+ mode = 0;
+ break;
case 'l':
mode = 2;
break;
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-checkins