GETTING HOSTNAME FROM UTMP
Eliot Moss
moss at cs.umass.edu
Fri Feb 1 00:42:33 AEST 1991
The versions of who with which I am familiar get the hostname from the ut_host
part of the utmp entry. They skip printing if the first character is null
(inidicating there is no hostname present in the utmp entry).
--
J. Eliot B. Moss, Assistant Professor
Department of Computer and Information Science
Lederle Graduate Research Center
University of Massachusetts
Amherst, MA 01003
(413) 545-4206, 545-1249 (fax); Moss at cs.umass.edu
More information about the Comp.unix.questions
mailing list