bcheck man page on OpenIndiana

Man page or keyword search:  
man Server   20441 pages
apropos Keyword Search (all sections)
Output format
OpenIndiana logo
[printable version]

BCHECK(1)							     BCHECK(1)

NAME
       bcheck - batch utility for Runtime Checking (RTC)

SYNOPSIS
       bcheck [ -access | -all | -leaks | -memuse ] [ -o logfile ] [ -q ] [ -s
       script ] program [ args ]

DESCRIPTION
       bcheck , a batch interface to dbx's Runtime Checking (RTC), is a	 shell
       script  which runs the program under dbx, with any specified args.  The
       RTC error output is placed in the specified  logfile,  or  the  default
       file program.errs.  If this file already exists, its contents are over‐
       written.	 Although bcheck can  perform  memory  leak  checking,	memory
       access  checking,  memory  use checking or all three, the default is to
       perform leak checking only.

       Before running bcheck on a system running the Linux OS,	you  must  set
       the _DBX_EXEC_32 environment variable.

OPTIONS
       -access
	      Perform memory access checking.

       -all   Perform memory access and memory leak checking.

       -leaks Perform memory leak checking only. (Default)

       -memuse
	      Perform  memory use checking, which includes memory leaks check‐
	      ing.

       -o logfile
	      Place the error output in logfile.  or  the  default  file  pro‐
	      gram.errs.

       -q     Make bcheck completely quiet, and return with the same exit sta‐
	      tus as the 'program'.  Useful when you want  to  use  bcheck  in
	      scripts, makefiles, and such.

       -s script
	      Read  in	the dbx commands contained in script before execution.
	      Using commands like suppress and dbxenv ,	 you  can  tailor  the
	      error output of bcheck.

EXAMPLES
       Perform leaks checking on hello:

	      bcheck hello

       Perform access checking on mach with the argument:

	      bcheck -access mach 5

       Perform access and memuse checking on 'cc' quietly and exit with normal
       exit status:

	      bcheck -all -q cc -c prog.c

       Perform access checking on foo, suppressing all rui errors:

	      echo suppress rui > foo.sup bcheck -access -s foo.sup foo 1 2 3

SEE ALSO
       dbx(1)

				   May 2008			     BCHECK(1)
[top]

List of man pages available for OpenIndiana

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net