lspacket

Describes contents of a packet

Applicability

Product Command type
MultiSite multiutil subcommand
Platform
Windows™

Synopsis

lspacket


[ –l/ong | –s/hort] [ pname ... ]

Description

This command lists a summary of the contents of one or more files that contain replica-creation or update packets. By default, the lspacket output includes this information:
  • Path name of each packet
  • Type of each packet (replica-creation or update)
  • Date of generation
  • Originating replica
  • Clan and family to which the packet applies
  • Replicas for which the packet is intended
  • Packet sequence number (for a file storing one part of a logical packet that has been split into multiple physical packets)

Restrictions

None.

Options and arguments

Listing format

Default
Includes the information listed in the Description section.
–l/ong
In addition to the default information, lists the name of the replica where the packet was created and the oplog IDs that indicate the contents of the packet.
–s/hort
Lists only the path name of a packet.

Specifying the packets

Default
Lists all packets in all storage bays on the current host.
pname ...
One or more path names of files and directories.

Each file you specify is listed if it contains a physical packet. For each directory you specify, lspacket lists packets stored in that directory.

Example

  • List the contents of the lab.xml update packet.



    multiutil lspacket -long c:\cqms\lab.xml


    Multiutil: Packet `c:\cqms\lab.xml'...
    Multiutil:   Type: `CREATE_PACKET'
    Multiutil:   Sent: 2002-01-22 10:58:11
    Multiutil:   From: BOSTON_HUB (B6A316BE-CCB4-11D5-AFB5-00B0D0682333)
    Multiutil:   Clan: `TELECOMM'
    Multiutil:   Recipients: SANFRAN_HUB
    Multiutil:   Family: `DEV'

  • List all packets in the local host's storage bays.



    multiutil lspacket


    Multiutil: Packet
    `C:\temp\cqms\ms_ship\incoming\mk_TOKYO_29-January-02_09-47-27.xml'...
    Multiutil:   Type: `CREATE_PACKET'
    Multiutil:   Sent: 2002-01-29 09:47:28
    Multiutil:   From: TOKYO (B6A316BE-CCB4-11D5-AFB5-00B0D0682333)
    Multiutil:   Clan: `TESTING'
    Multiutil:   Recipients: SYDNEY
    Multiutil:   Family: `TEST'
    Multiutil: Packet
    `C:\temp\cqms\ms_ship\incoming\sync_SANFRAN_HUB_07-February-02_
    11-24-49.xml'...
    Multiutil:   Type: `UPDATE_PACKET'
    Multiutil:   Sent: 2002-02-07 11:24:49
    Multiutil:   From: SANFRAN_HUB (8AB1A196-BE48-47F1-9255-71FD18D7309D)
    Multiutil:   Clan: `TELECOMM'
    Multiutil:   Recipients: BOSTON_HUB
    Multiutil:   Family: `DEV'

  • List all packets in the local host's storage bays, with –short.



    multiutil lspacket -short


    Multiutil: Packet
    `C:\temp\cqms\ms_ship\incoming\mk_TOKYO_29-January-02_09-47-27.xml'...
    Multiutil: Packet
    `C:\temp\cqms\ms_ship\incoming\sync_SANFRAN_HUB_07-February-02_
    11-24-49.xml'...