Re: usage logs from mathlm
- To: mathgroup at smc.vnet.net
- Subject: [mg47974] Re: usage logs from mathlm
- From: Marcus Stollsteimer <marcus314 at yahoo.com>
- Date: Tue, 4 May 2004 01:08:54 -0400 (EDT)
- References: <bu8ifv$arb$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
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. Hi, 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. Format: 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... Regards, Marcus -- [...] which will be published posthumously or after his death, which ever comes first. -- W. Allen