From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,3a33d92330ed48a6 X-Google-Attributes: gidfee84,public From: John P Williams Subject: Re: ATOM on Digital Unix 3.2D Date: 1998/02/16 Message-ID: <34E840B4.395BB23B@zk3.dec.com>#1/1 X-Deja-AN: 325799717 Content-Transfer-Encoding: 7bit References: <6bcpne$m91@willy.cra.enel.it> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Organization: CTG Newsgroups: comp.unix.osf.osf1 villa wrote: > > Hi, > I need a tool to track malloc in my programs. > A friend suggest me ATOM. > I work with Digital Unix 3.2D on Alpha Stations. > Where is it available? The tool you are looking for is Third Degree, which is a ready-to-use tool that is based on Atom. Atom was not added to Digital UNIX until V4.0, but if you would like our unsupported beta-quality Advance Development Kit for V3.2* (which many people have used for a couple of years), I can send you information on how to get and use it. If I may correct the misconceptions in the replies to your entry: > It is on the Digital UNIX operating system cd rom This is only true for V4.0 and later, not V3.2*. > ATOM was not obviously useable without > a great deal of study. Writing your own Atom tool does involve learning an API, but using one of our ready-to-use tools just involves looking at its man-page as for any other tool. To run Third Degree, see the third(5) man-page. For example, to start with you could type atom -tool third and set the LD_LIBRARY_PATH environment variable to "." before running the instrumented program and looking at its .3log report. If you want to change the behavior of the tool, create a ./.third file of commands (similar to a .dbxinit file) - details in third(5). If you are just tracking malloc, you usefully write these commands into ./.third uninit_stack no uninit_heap no to turn off the memory checking. Thanks john