portstat(1)                                                        portstat(1)


NAME
     portstat - show status of open audio ports

SYNOPSIS
     portstat

DESCRIPTION
     portstat is a very simple program which dumps the status of all the
     currently open audio ports on a system.

     For each open port, it prints, in order: "port," the name of the port as
     passed to ALopenport; "pid," the ID of the process that opened the port;
     "rbid," the internal ID of the sample queue; "AL v," the version of the
     Audio Library which was used to open the port; "type," the type of the
     port (input or output); "nchans," the number of channels in the port's
     sample queue; "filled," the number of samples currently in the queue;
     "nlocs," the total number of locations in the queue (possibly including
     an extra location); and "errcnt," a count of the number of overflows or
     underflows which have occurred on the port since it was opened.

     Note that portstat does not work on Indigo and Indigo R4K systems.

SEE ALSO
     rbview(1)


                                                                        Page 1