Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

objectwatcher(1)

objectdiff(1)  —  USER COMMANDS

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 biggest space allocated at the top to the smallest space allocated or the biggest space freed 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
(/tmp/objects1) (w) file objectdump
/new MyClass send
(/tmp/objects2) (w) file objectdump
quit
example%  objectdiff /tmp/objects1 /tmp/objects2

SEE ALSO

objectwatcher(1)

Sun Release 4.1  —  Last change: 15 June 1989

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026