btmps man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

wtmps(4)							      wtmps(4)

       wtmps, btmps - user login information

       and  hold user and accounting information for such commands as and (see
       last(1), who(1), write(1), and login(1)).

       File contains bad login entries for each invalid logon  attempt.	  File
       contains	 a  record  for	 all  logins and logouts apart from accounting
       records.	 These files contain structure, the key elements of the struc‐
       ture are given below:

		      char ut_user[]		User login name
		      char ut_id[]		Unique Id to distinguish an entry
		      char ut_line[]		Device name
		      pid_t ut_pid		Process Id
		      short ut_type		Type of Entry
		      struct ut_exit		The exit status of a process
		      struct timeval ut_tv	Time entry was made
		      char ut_host[]		Host name, if remote
		      uint8_t ut_addr[]		Internet Address of the Host,
						if remote
		      short ut_addr_type	Flag to identify type of address
						in ut_addr

	      #define WTMPS_FILE      "/var/adm/wtmps"
	      #define BTMPS_FILE      "/var/adm/btmps"

       Note  that  and tend to grow without bound, and should be checked regu‐
       larly.  Information that is no longer useful should be removed periodi‐
       cally  to prevent the file from becoming too large.  Also note that and
       are not created by the programs that maintain  them.   Thus,  if	 these
       files are removed, login record-keeping is turned off.

       and were developed by Hewlett-Packard Company.

       last(1),	 login(1),  who(1),  write(1),	acctcon(1M),  fwtmp(1M), wtmp‐
       fix(1M), getuts(3C).


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net