Sponsored Content
Full Discussion: Programming Tools for Aix
Operating Systems AIX Programming Tools for Aix Post 56789 by Lazzar on Tuesday 12th of October 2004 02:12:25 AM
Old 10-12-2004
Programming Tools for Aix

I am searching for a good debugger and memory leak detection tools like for AIX.

Right now we use Xldb for debugging, which is not bad, but detecting memory leaks is a pain...

Unfortunately Purify is not aviable for the AIX plattform.

DDD is not bad as an alternative debugger but he is very slow if you start him over a remote connection.

Another debugger i like is TotalView from etnus but hes not free :/

Does anyone know any other good tools to debug and make the source a bit more stable?

Lazzar
 

10 More Discussions You Might Find Interesting

1. AIX

Aix Shell Programming

HI I am trying to write a shell script which accepts two strings from user and finds the matching number of characters in those two ex: string 1 abcd string 2 bcgt result is bc (matching characters) pls provide me with a basic script for doing that (1 Reply)
Discussion started by: akmtcs
1 Replies

2. AIX

Which tools can show the AIX CPU, Memory and I/O usage?

If somebody knows there are some tools can show how many CPU, memory useage on AIX and can automatically send email? Such as when setup if CPU is used over 80%, send alert by email automatically. Maybe BMC has this tool? (6 Replies)
Discussion started by: rainbow_bean
6 Replies

3. Programming

C programming on Linux/BSD : which tools to use?

Hello there, i've lurked this forum for a while (in few month i will have been registered for two years) but this is my firts post. Well, after having looked to C language as a black monster, i finally have decided to learn it, and to learn it very well! So, i'm quite new to C, although i... (1 Reply)
Discussion started by: Freddie
1 Replies

4. AIX

AIX 4.2 temperature monitoring tools included ?

Are there any AIX 4.2 commands that would give me the ability to monitor the hardware temperature ? I did a forum search and found nothing about AIX. I checked the 'diag' command but it does not say anywhere that it has this feature. I tried the 'prtdiag' command but it does not exist on the... (6 Replies)
Discussion started by: Browser_ice
6 Replies

5. Programming

C/C++ System Programming API for AIX

Hi, I'm trying to locate the API information that is used for system programming on IBM's AIX operating system and other programming resources for AIX (language C/C++), I've had a look around the IBM website/Internet but I don't seem to be able to find anything that is up to date. This... (1 Reply)
Discussion started by: warlockuk
1 Replies

6. Programming

programming in C, C++ on AIX 6.1 requirments

I want to start programming in C, C++ on AIX 6.1 and I want to know what I need to install on the server to do so. Do I only need to install "gcc" GNU Compiler Collection & "gcc-c++" C++ support for GCC. or do I also need "libgcc" GCC compiler dynamic runtime library? am I missing any files to... (1 Reply)
Discussion started by: daveisme
1 Replies

7. Infrastructure Monitoring

AIX monitoring tools for graphical output

Hi , I am new for Aix i am using IBM AIX server in our org. I am using tomcat and JDK 1.6 for our own ERP software the data base was stored in another server (windows ) i want to monitor my AIX server with graphical output from another system it is possible please help me, any other... (7 Replies)
Discussion started by: krishna_vnr`
7 Replies

8. Programming

Shell programming ksh AIX - beginner

Hi! I have two shell scripts - Script1, Script2 Script1, Script2 - have return parameter Script1 - is calling Script2 in Script2 I am calling program sqlldr - if this program is called then I did not get the return parameter from Script1 Do You have any idea how can I avoid this problem. Mroki (6 Replies)
Discussion started by: mroki
6 Replies

9. UNIX for Advanced & Expert Users

AIX runtime programming issue

I hope my title is accurate enough. I have a product that we port to various UNIX platforms. It is known to run on AIX but using the IBM compiler from years ago. Recently we got a different used AIX P5 platform running AIX 5.3 and we setup the GCC compiler (4.4.5 I think). C and C++ source code.... (5 Replies)
Discussion started by: Pug
5 Replies

10. Shell Programming and Scripting

Confirming validity of programming language tools

so i have scripts that get run in ways similar to this: cat script.pl | perl - $1 $2 $3 cat script.rb | ruby - $1 $ 2 $3 my question is, how can i verify that that the "perl" or "ruby" or "python" tool being run on the box is actually a legit tool? meaning, someone may move the tool from... (2 Replies)
Discussion started by: SkySmart
2 Replies
memory(n)						       Tcl Built-In Commands							 memory(n)

__________________________________________________________________________________________________________________________________________________

NAME
memory - Control Tcl memory debugging capabilities SYNOPSIS
memory option ?arg arg ...? _________________________________________________________________ DESCRIPTION
The memory command gives the Tcl developer control of Tcl's memory debugging capabilities. The memory command has several suboptions, which are described below. It is only available when Tcl has been compiled with memory debugging enabled (when TCL_MEM_DEBUG is defined at compile time), and after Tcl_InitMemory has been called. memory active file Write a list of all currently allocated memory to the specified file. memory break_on_malloc count After the count allocations have been performed, ckalloc outputs a message to this effect and that it is now attempting to enter the C debugger. Tcl will then issue a SIGINT signal against itself. If you are running Tcl under a C debugger, it should then enter the debugger command mode. memory info Returns a report containing the total allocations and frees since Tcl began, the current packets allocated (the current number of calls to ckalloc not met by a corresponding call to ckfree), the current bytes allocated, and the maximum number of packets and bytes allocated. memory init [on|off] Turn on or off the pre-initialization of all allocated memory with bogus bytes. Useful for detecting the use of uninitialized val- ues. memory objs file Causes a list of all allocated Tcl_Obj values to be written to the specified file immediately, together with where they were allo- cated. Useful for checking for leaks of values. memory onexit file Causes a list of all allocated memory to be written to the specified file during the finalization of Tcl's memory subsystem. Useful for checking that memory is properly cleaned up during process exit. memory tag string Each packet of memory allocated by ckalloc can have associated with it a string-valued tag. In the lists of allocated memory gener- ated by memory active and memory onexit, the tag for each packet is printed along with other information about the packet. The mem- ory tag command sets the tag value for subsequent calls to ckalloc to be string. memory trace [on|off] Turns memory tracing on or off. When memory tracing is on, every call to ckalloc causes a line of trace information to be written to stderr, consisting of the word ckalloc, followed by the address returned, the amount of memory allocated, and the C filename and line number of the code performing the allocation. For example: ckalloc 40e478 98 tclProc.c 1406 Calls to ckfree are traced in the same manner. memory trace_on_at_malloc count Enable memory tracing after count ckallocs have been performed. For example, if you enter memory trace_on_at_malloc 100, after the 100th call to ckalloc, memory trace information will begin being displayed for all allocations and frees. Since there can be a lot of memory activity before a problem occurs, judicious use of this option can reduce the slowdown caused by tracing (and the amount of trace information produced), if you can identify a number of allocations that occur before the problem sets in. The current num- ber of memory allocations that have occurred since Tcl started is printed on a guard zone failure. memory validate [on|off] Turns memory validation on or off. When memory validation is enabled, on every call to ckalloc or ckfree, the guard zones are checked for every piece of memory currently in existence that was allocated by ckalloc. This has a large performance impact and should only be used when overwrite problems are strongly suspected. The advantage of enabling memory validation is that a guard zone overwrite can be detected on the first call to ckalloc or ckfree after the overwrite occurred, rather than when the specific memory with the overwritten guard zone(s) is freed, which may occur long after the overwrite occurred. SEE ALSO
ckalloc, ckfree, Tcl_ValidateAllMemory, Tcl_DumpActiveMemory, TCL_MEM_DEBUG KEYWORDS
memory, debug Tcl 8.1 memory(n)
All times are GMT -4. The time now is 01:19 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy