trcore(1M)                                                          trcore(1M)


NAME
     trcore - truncate a crash vmcore dump of the operating system

SYNOPSIS
     /etc/trcore -f file1 -t trunc_level  [ -o file2 ] [ -v ]

DESCRIPTION
     trcore will truncate file1 or copy file1 to file2 truncated to
     trunc_level.  If file2 is not supplied, then file1 is truncated in place.
     There is a three second delay after the warning message is printed to
     abort the operation. Aborting any time before the end of execution will
     leave file1 intact. The resulting file ( file1 or file2) will be
     equivalent to a crash vmcore dump written at a lower dump level. The
     equivalent dump level is specified by trunc_level.

     The following options apply to trcore:

     -f   Specifies the input file to process. This file is truncated in place
          if -o is not specified. This is a required parameter.

     -t   Specifies the equivalent dump level to truncate the file to. This is
          a required parameter.

     -o   Specify an output file. If this parameter is supplied, then the
          input file is left intact and the output file is truncated.

     -v   Provide extremely verbose output. Operation is silent otherwise.
          Mostly useful for debugging crash vmcore dumps.

DIAGNOSTICS
     The program may print "trcore: short read: Error 0" if the input file is
     not a complete dump. The program will still have performed normally.

SEE ALSO
     savecore(1M), uncompvm(1M), nlist(3X), icrash(1M).


                                                                        Page 1