[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25794 - gnunet/src/sysmon
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25794 - gnunet/src/sysmon |
Date: |
Tue, 15 Jan 2013 14:32:03 +0100 |
Author: wachs
Date: 2013-01-15 14:32:03 +0100 (Tue, 15 Jan 2013)
New Revision: 25794
Modified:
gnunet/src/sysmon/gnunet-service-sysmon.c
gnunet/src/sysmon/sysmon.conf.in
Log:
time stamp
Modified: gnunet/src/sysmon/gnunet-service-sysmon.c
===================================================================
--- gnunet/src/sysmon/gnunet-service-sysmon.c 2013-01-15 13:23:00 UTC (rev
25793)
+++ gnunet/src/sysmon/gnunet-service-sysmon.c 2013-01-15 13:32:03 UTC (rev
25794)
@@ -377,7 +377,9 @@
{
/* get memory info */
glibtop_get_proc_mem (&proc_mem, pids[i]);
- printf ("%s process information:\n", sp->srv);
+ printf ("%s : %s process information\n",
+
GNUNET_STRINGS_absolute_time_to_string(GNUNET_TIME_absolute_get()),
+ sp->srv);
printf ("\t%s memory information:\n",
sp->binary);
printf ("\t%-50s: %llu\n", "total # of pages
of memory", (long long unsigned int) proc_mem.size);
printf ("\t%-50s: %llu\n", "number of pages of
virtual memory", (long long unsigned int) proc_mem.vsize);
@@ -414,7 +416,9 @@
tmp = glibtop_get_netlist (&netlist);
- printf ("Network information: %u devices\n", netlist.number);
+ printf ("%s : Network information: %u devices\n",
+
GNUNET_STRINGS_absolute_time_to_string(GNUNET_TIME_absolute_get()),
+ netlist.number);
for (i = 0; i < netlist.number; ++i)
{
printf ("Device %i: %s\n", i, tmp[i]);
Modified: gnunet/src/sysmon/sysmon.conf.in
===================================================================
--- gnunet/src/sysmon/sysmon.conf.in 2013-01-15 13:23:00 UTC (rev 25793)
+++ gnunet/src/sysmon/sysmon.conf.in 2013-01-15 13:32:03 UTC (rev 25794)
@@ -6,6 +6,6 @@
BINARY = gnunet_service_sysmon
#CFGFILE = sysmon-properties.conf
UNIXPATH = /tmp/gnunet-service-sysmon.sock
-MONITOR_SERVICES = transport sysmon
-MONITOR_SERVICES_INTERVAL = 5 s
-MONITOR_NETWORK_INTERVAL = 5 s
\ No newline at end of file
+MONITOR_SERVICES = transport core fs dht
+MONITOR_SERVICES_INTERVAL = 60 s
+MONITOR_NETWORK_INTERVAL = 60 s
\ No newline at end of file
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25794 - gnunet/src/sysmon,
gnunet <=