Using Jazz  |  Getting Started  |  About the LCRC  |  Presentations  |  Status  |  FAQ  |  Search   |   Main Page  

Application Documentation

Application Valgrind
Versions 2.2.0
Vendor/Developers Valgrind Website
Package type Debugger
SoftEnv keys and macros +valgrind
Known Problems None.
Documentation Links to online documentation:

Additional documentation

A copy of the manual is available on the Jazz login nodes in /soft/apps/packages/valgrind-2.2.0/share/doc/valgrind/manual.html which can be viewed using the elinks command.

General notes:

Quick Example

The simpliest form of valgrind usage is:

valgrind <program> [program-args]
where <program> is the binary executable and [program-args] is the executable's arguments.

You can use Valgrind to analyze the memory management of the system tools on Jazz. For example:

[dvorak@jlogin2 valgrind]$ valgrind ls -l
==15490== Memcheck, a.k.a. Valgrind, a memory error detector for x86-linux.
==15490== Copyright (C) 2002, and GNU GPL'd, by Julian Seward.
==15490== Using valgrind-1.9.6, a program instrumentation system for x86-linux.
==15490== Copyright (C) 2000-2002, and GNU GPL'd, by Julian Seward.
==15490== Estimated CPU clock rate is 2404 MHz
==15490== For more details, rerun with: -v
==15490== 
==15490== Warning: attempt to set SIGKILL handler in __NR_sigaction.
==15490== Warning: attempt to set SIGSTOP handler in __NR_sigaction.
total 16
drwxr-xr-x    2 dvorak   climate      3864 Jul  7 15:07 CVS
-rw-r--r--    1 dvorak   climate       271 Jul  9 14:52 #index.content#
-rw-r--r--    1 dvorak   climate       159 Jul  9 14:34 index.content
lrwxrwxrwx    1 dvorak   climate        27 Jul  9 14:25 index.php -> ../../../webtools/index.php
-rw-r--r--    1 dvorak   climate         0 May  6 15:25 index.title
==15490== 
==15490== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
==15490== malloc/free: in use at exit: 11795 bytes in 13 blocks.
==15490== malloc/free: 142 allocs, 129 frees, 32118 bytes allocated.
==15490== For a detailed leak analysis,  rerun with: --leak-check=yes
==15490== For counts of detected errors, rerun with: -v

Last Updated: 2003-07-10

Help Security/Privacy Notice Disclaimer