MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: usage logs from mathlm

  • To: mathgroup at
  • Subject: [mg47974] Re: usage logs from mathlm
  • From: Marcus Stollsteimer <marcus314 at>
  • Date: Tue, 4 May 2004 01:08:54 -0400 (EDT)
  • References: <bu8ifv$arb$>
  • Sender: owner-wri-mathgroup at

Robert B. Nachbar wrote:
> What software do people use to summarize the information contained
> in the usage logs generated by the Mathematica license manager
> mathlm? Some of the key statistics in which I am interested are
> frontend and kernel usage time by user and operating system (license
> class), number of users, and who the users are.

Marcus Stollsteimer wrote:
> is there a tool that creates statistics on MathKernel usage,
> e.g. "for  xx hours / yy% of time,  n kernels were running",
> and the like?

Yasvir Tesiram wrote [answering privately to above post]:
> We had discussed this privately and came to the
> conclusion that you would have to write something that would read
> the log file periodically or at the administrators request and
> had left it at that unless pressed. And now that you have asked,
> I'll see if I can get a script together.
> There is nothing available (that I know of) from Wolfram that
> does this.


just for the benefit(?) of the group, what I do right now is

- run a script that invokes 'monitorlm' in regular time intervals
  and writes the usage info to a separate log file.
     2004-05-03T15:20+0000 - FE: 4, KE: 2

- another script will (at request) read this log file and
  compute simple usage statistics.

This approach works fine for me.

For Mathematica 4.x I, had a little program that would read
the mathlm log file directly and extract the info from there,
but I figured out that it needs too much effort to keep up
with Wolfram's changes in the log file format...


[...] which will be published posthumously or after his death,
which ever comes first. -- W. Allen

  • Prev by Date: Kernel init.m File
  • Next by Date: Re: bug in IntegerPart ?
  • Previous by thread: RE: RE: Re: Kernel init.m File
  • Next by thread: Working with binaries