2N/A# The contents of this file are subject to the terms of the
2N/A# Common Development and Distribution License, Version 1.0 only
2N/A# (the "License"). You may not use this file except in compliance
2N/A# See the License for the specific language governing permissions
2N/A# and limitations under the License.
2N/A# When distributing Covered Code, include this CDDL HEADER in each
2N/A# If applicable, add the following below this CDDL HEADER, with the
2N/A# fields enclosed by brackets "[]" replaced with your own identifying
2N/A# information: Portions Copyright [yyyy] [name of copyright owner]
2N/ACopyright 2002 Sun Microsystems, Inc. All rights reserved.
2N/AUse is subject to license terms.
2N/A#ident "%Z%%M% %I% %E% SMI"
2N/AThis directory contains source code for the "exdump" utility that uses
2N/Alibexacct to print the content of extended accounting files produced by
2N/AThis utility demonstrates how developers can use the libexacct
2N/Aprogramming API to extract extended accounting data. libexacct(3LIB) is
2N/Athe only interface for reading and writing files in variable length
2N/Ageneral-purpose accounting file format used by the kernel to store
2N/Avarious types of accounting data.
2N/AExdump can be compiled as either a 32-bit or 64-bit application; because
2N/Aexacct is endian-neutral, exdump can read exacct files from either SPARC
2N/Aor Intel sources on SPARC or Intel platforms. exdump prints one line for
2N/Aeach record it encounters in the exacct file.
2N/AThe Makefile contained in this directory is set up to use the C compiler
2N/A(cc) and lint utility found in your $PATH. If you wish to change the
2N/Aconfiguration, edit the CC and LINT macro definitions in Makefile to
2N/Apoint to the appropriate pathnames.
2N/AThe Makefile in this directory supports the following targets:
2N/A make all (default) - build exdump executable
2N/A make lint - run lint against exdump
2N/A make clean - remove object files
2N/A make clobber - remove objects, and lint files
2N/ATo build the exdump, execute "make" in this directory. This will
2N/Aexecute the default "make all" target.
2N/AMan pages: acctadm(1M), libexacct(3LIB)
2N/ADocumentation: "System Administration Guide:
2N/A Resource Management and Network Services"
2N/A "System Administration Guide: IP Services"