Flags

You can use these flags with the pdaccount command:

-Hhost:port

Identifies the host and port of the InfoPrint Manager server used for communication. When not specified, the command follows the Configuration logic to define the host and socket.

-cserver
Specifies the object class for the pdaccount command. Server is the only class supported for the pdaccount command.
-t
Specifies the type of account information that you want collected:
destination
Summary information by destination
user
Summary information by job owner
all
All records for successful jobs are logged
error
All records for jobs with errors are logged
Important: Requesting information for all or error accounting records can consume a lot of the server's memory since all the data is read into memory to be sent to you. If you have a lot of data to retrieve, you should consider requesting it for smaller time periods and concatenating the returned data.

For example, to retrieve all the accounting records for a one month period, you could issue four pdaccount commands like this:

pdaccount -t all -s '00:00:00 03/01/00' -e '00:00:00 03/08/00' 
Server A >March1.accting.data
pdaccount -t all -s '00:00:00 03/08/00' -e '00:00:00 03/15/00' 
Server A >March2.accting.data
pdaccount -t all -s '00:00:00 03/15/00' -e '00:00:00 03/22/00' 
Server A >March3.accting.data
pdaccount -t all -s '00:00:00 03/22/00' -e '00:00:00 03/31/00' 
Server A >March4.accting.data

-sStartTime
Specifies the oldest job-completion time for records to include. If this flag is not specified, defaults to the first record in the accounting log.
-eEndTime
Specifies the latest job-completion time for records to include. If this flag is not specified, defaults to the last record in the accounting log.
-f
Places the results in a file in the server's directory. If specified, the results of the pdaccount command are filed in the server's directory where the command is processed. The file is named accounting.summary.timestamp, where timestamp is the time the request was performed. If -f is not specified, the results are returned to standard out or can be redirected by the user.

With InfoPrint Manager for AIX or InfoPrint Manager for Linux, the file is placed in /var/pd/servername.

With InfoPrint Manager for Windows, the file is placed in install_path\var\pd.

-h
Displays a command-specific help message containing information about command syntax and flags. If you use this flag with any other flag or attribute, InfoPrint recognizes only the -h flag.

Configuration logic

The command determines which server host and server port to use based on this sequence:

  1. Server host and server port specified with the -H parameter.
  2. Server host and server port specified with the PDHOST and PD_SOCKET envirnonment variables.
  3. Uses the defaults for PDHOST=localhost and PD_SOCKET=6874.
Note: This configuration logic enables multiple commands to run on a single machine communicating with one or more InfoPrint Manager servers.