Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2001
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2001

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

Search the Archive

Re: mathematica log sessions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg26556] Re: [mg26552] mathematica log sessions
  • From: Jean-Marie THOMAS <jmt at agat.net>
  • Date: Fri, 5 Jan 2001 22:22:54 -0500 (EST)
  • References: <200101050534.AAA20720@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There might be something if you use a site license, but if you don't, you can 
use either the global /usr/local/mathematica/Configuration/Kernel/init.m file 
or the ~/.Mathematica/4.0/Kernel/init.m file, and their counterparts end.m, 
to create a log file :

For instance the global kernel init file :

(** User Mathematica initialization file **)
{Date[],$UserName}>>>"<path to your log file>"

and for the end file :
(* You can add commands here *)
TimeUsed[]>>>"<path to your log file>"

You can add other information, as SessionTime, MaxMemoryUsed, and others (as 
described in  Principles of Mathematica / Global aspects of Mathematica 
sessions). If necessary, you can build your own functions in these 
initialization/termination files.

Note that these sessions management functions only apply to the Kernel, and 
not to the FrontEnd.


On Friday 05 January 2001 06:34, Ela Parmar wrote:
how do I keep a log of a mathematica session under unix?


  • Prev by Date: Stellar nucleosynthesis
  • Next by Date: Re: output precision
  • Previous by thread: mathematica log sessions
  • Next by thread: Re: mathematica log sessions