Name

peerinfo — Gets information about peers

Synopsis

peerinfo [-p peerid] | [-r] | [-l] | [-f]

Description

This command gets information about other peers within a peergroup or at a specified peer location. The default peerinfo option lists only the peer information already known by the peer. The -r option is used to send a propagate request to find information about new peers. peerinfo stores results in the local cache, and inserts advertisements into the environment using the name peerinfo X, in which X is a growing integer number.

Options

-p peerid

Obtains information from the peer at a given peer location

-r

Obtains information about remote peers

-l

Returns local peer information

-f

Flushes locally cached peer information

Example

JXTA>peerinfo -r

Refreshes info about the peers in the current peergroup.

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.