HP-UX Reference (11i v2 07/12) - 3 Library Functions N-Z (vol 7)

p
prcmd(3N) prcmd(3N)
There is a limit of about 512 reserved ports on each system, and a soft limit for the number of available file
descriptors for each process. Each specified host requires two reserved ports and two file descriptors for
the connection to check its status. prcmd() defers (serializes) additional connections once all ports or
file descriptors are in use, so additional hosts are not ignored, but the time required for all connections to
complete increases accordingly. To improve performance, it might be necessary to increase the limit on
open files if there are a lot of hosts; see setrlimit(2).
AUTHOR
prcmd() was developed by Hewlett-Packard.
SEE ALSO
remshd(1M), accept(2), bind(2), connect(2), errno(2), fcntl(2), read(2), select(2), setsockopt(2), sigvector(2),
socket(2), time(2), fdopen(3S), fileno(3S), gethostbyname(3N), inet_addr(3N), malloc(3C), rcmd(3N),
sleep(3C).
HP-UX 11i Version 2: December 2007 Update 8 Hewlett-Packard Company 157