objectdiff(1)
NAME
objectdiff − list differences between two lists of X11/NeWS data objects
SYNOPSIS
objectdiff [ file1 file2 ]
DESCRIPTION
objectdiff performs a diff(1) on two files containing output from the X11/NeWS operator objectdump. A formatted summary of the differences in the number and/or size of the objects of each type is output.
If the files were not produced by using objectdump on the same server during the same run, the output may be garbage. If the two files were produced by using objectdump on two different releases of the server, a change in accounting could cause synchronization problems.
Output is in the following format:
nnnnn bytes for mmm object_type objects
The output is sorted from the smallest space allocated or the biggest space freed at the top to the biggest space allocated at the bottom. At the end, there is a total-line of the following form:
nnnnn bytes for mmm TOTAL objects
The object_types are the same as those used for the output from objectdump.
EXAMPLES
To find the number of objects allocated by a given operation, use the following:
example% psh
executive
/NeWS 3 0 findpackage beginpackage
debugdict begin
(/tmp/objects1) (w) file objectdump
/new ClassObject send
(/tmp/objects2) (w) file objectdump
quit
example% objectdiff /tmp/objects1 /tmp/objects2
SEE ALSO
SunOS 5.2 — Last change: 11 March 1992