Overview New Functionality Dmalloc Utility settings.dist Installation Programming Environmental Variables Bugs Fixed
Quick feature release to fold in a couple of changes in the last couple of days. Added the ability to put %p, %t, and other % strings in the logfile path and have then be expanded to getpid() and time() output respectively. More documentation online.
Added new expansion of the -l --logfile environment setting. %h expands to the output of gethostname(), %p to getpid(), %t to time(), %u to getuid(), and %i to the thread-id, if configured. So you can, for example, use dmalloc -l log.%u.%t and get logfiles in the form of: log.1001.1055273186 where 1001 is your user-id (under Unix) and 1055273186 is the time in seconds.
NOTE: You must install the 5.2.0 version of the dmalloc utility for this to work.
Added LOG_REOPEN to the settings.dist config file. If set to 1 (the default) it will reopen the logfile if the process-id changes. This will happen when the process forks. The log will only be reopened if the %p string is in the logpath otherwise the reopened logfile might overwrite the initial one.
NOTE: I removed the old logfile % processing. %d no long expands to the process id.
None.
None.
Dmalloc Home Page. Copyright 2003 Gray Watson.