Skip to content
Snippets Groups Projects
Commit f862f212 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Print how many blocks libisc.a alloates.

parent abb1cafc
Branches
Tags
No related merge requests found
/* /*
* $Id: ramkomd.c,v 0.21 1991/09/21 00:13:29 ceder Exp $ * $Id: ramkomd.c,v 0.22 1991/09/21 12:11:58 ceder Exp $
* Copyright (C) 1991 Lysator Academic Computer Association. * Copyright (C) 1991 Lysator Academic Computer Association.
* *
* This file is part of the LysKOM server. * This file is part of the LysKOM server.
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* It has grown! /ceder * It has grown! /ceder
*/ */
static char *rcsid = "$Id: ramkomd.c,v 0.21 1991/09/21 00:13:29 ceder Exp $"; static char *rcsid = "$Id: ramkomd.c,v 0.22 1991/09/21 12:11:58 ceder Exp $";
#include <m-config.h> #include <m-config.h>
...@@ -59,6 +59,7 @@ static char *rcsid = "$Id: ramkomd.c,v 0.21 1991/09/21 00:13:29 ceder Exp $"; ...@@ -59,6 +59,7 @@ static char *rcsid = "$Id: ramkomd.c,v 0.21 1991/09/21 00:13:29 ceder Exp $";
#include "internal-services.h" #include "internal-services.h"
#include "lyskomd.h" #include "lyskomd.h"
#include "isc.h" #include "isc.h"
#include <isc-dump.h>
#include <server/smalloc.h> #include <server/smalloc.h>
#include "cache.h" #include "cache.h"
#include "log.h" #include "log.h"
...@@ -328,6 +329,8 @@ main (int argc, ...@@ -328,6 +329,8 @@ main (int argc,
dump_cache_mem_usage(stat_file); dump_cache_mem_usage(stat_file);
dump_string_alloc_counts(stat_file); dump_string_alloc_counts(stat_file);
dump_allocated_connections(stat_file); dump_allocated_connections(stat_file);
dump_isc_message_counts(stat_file);
dump_isc_alloc_counts(stat_file);
fclose (stat_file); fclose (stat_file);
log("ramkomd terminated normally.\n"); log("ramkomd terminated normally.\n");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment