HPUX ptmp[4]

ptmp(4) ptmp(4)
NAME
ptmp - ptmp entry format
DESCRIPTION
The ppl program updates file ptmp which holds user connection
information (see ppl(1)). The ptmp file is similar in function and
use to utmp(4). There is one entry for each tty device that ppl uses.
If an entry does not exist for a tty, ppl creates a new entry at the
end of the file; otherwise, it overwrites the old entry for that tty.
When ppl exits, it sets the protocol field to 0, marking the entry
idle. Idle entries indicate that, at some time in the past, an
invocation of ppl was running on the tty.
The file is created initially by creating a zero-length file. If the
file does not exist, ppl silently ignores this feature.
Each entry in the file has the following structure:
#define MAXSTRING 255
#define MAXINETADDR SOCK_ADDR_DATA_LEN /* length of inet addrs */
struct ptmp {
char log_name[MAXSTRING]; /* user login name */
char rhost_name[MAXSTRING]; /* internet host name */
char system_name[MAXSTRING]; /* uucp system name */
char Linetaddr[MAXINETADDR]; /* local in dot format */
char Rinetaddr[MAXINETADDR]; /* remote in dot format */
char tty[MAXSTRING]; /* tty name: i.e. tty00 */
int ni_unit; /* minor device i.e. ni0 */
int status; /* current status of entry */
long start_time; /* when protcol started */
};
FILES
/usr/spool/ppl/ptmp full path name of ptmp
AUTHOR
ptmp was developed by HP.
SEE ALSO
ppl(1), pplstat(1).
Hewlett-Packard Company - 1 - HP-UX Release 9.0: August 1992