summaryrefslogtreecommitdiff
path: root/usr.bin/w
AgeCommit message (Expand)Author
2006-06-22Use the UTX sizes + 1 for the struct to save space.christos
2005-09-15Don't print a warning about stale utmp{,x} entries if security.curtainrpaulo
2005-09-04Revert previous commit. I forgot we already do that. :)elad
2005-09-04Use sysctl to fetch process information if reading live kernel.elad
2005-03-13One third of screen looks much better than half, for default maxhost.kim
2005-01-11Bump date for recent changes.wiz
2005-01-08Make -w flag apply to the WHAT field also (command and args).kim
2005-01-08Line up "days" style output in the IDLE field.kim
2005-01-08The w command does not display a CPU time, so don't talk about it.kim
2004-12-23New sentence, new line. Add a comma.wiz
2004-12-22Fix usage, and call setprogname()!christos
2004-12-22PR/28751: Ed Ravin: Limit host field output by default to 35 characters sochristos
2004-11-19Be a bit more careful with errors; if you cannot find the pty to stat forchristos
2004-11-11PR/28185: Brian Marcotte: w command broken when user specifiedchristos
2004-11-10Don't print just two characters for the tty; change the field width of thechristos
2004-02-13Uppercase CPU, plural is CPUs.wiz
2004-01-03Remove superfluous max() macro.wiz
2003-08-07Move UCB-licensed code from 4-clause to 3-clause licence.agc
2003-07-12strlcpyitojun
2003-02-26keep track of the two proc entries significant to the utmp entry. The onechristos
2003-02-26Print the command in parenthesis, if kvm_getargv2() returns nofredb
2003-02-26keep track which entries are utmp and which are utmpx, so we can printchristos
2003-02-26- Remove SUPPORT_FTPD_UTMP flag. Enable it only for utmp entries, utmpx doeschristos
2003-01-18Merge the nathanw_sa branch.thorpej
2002-10-21Fix whitespace usage.enami
2002-10-21If utmpx support is enabled, use sockaddr field to get numeric address.enami
2002-09-18makefile delint. use NETBSDSRCDIR as appropriatelukem
2002-09-16Make uptime show the correct number of users.christos
2002-09-16uptime(1) is NOT supposed to always say `1 user'.mycroft
2002-08-22fixed user miscounting. reported by kim.christos
2002-07-28skip blank entries.christos
2002-07-27add utmpx support.christos
2001-12-08Sort SEE ALSO and sections.wiz
2001-12-01Whitespace cleanup.wiz
2001-11-05Fix whitespace usage.enami
2001-10-19Appeared in .Bx 3.0, not .Ux 3.0.wiz
2001-02-19convert to use getprogname()cgd
2001-01-05ANSIfy.mjl
2001-01-05(From FreeBSD)mjl
2000-12-20__CONCAT does token pasting, not string concatnation. if something like:cgd
2000-10-11More format string cleanup by sommerfeld.is
2000-09-28add code to recognize special ftpd utmp entries and match correspondingjdolecek
2000-08-21- Don't core dump when we have stale utmp entries; warn the user instead.christos
2000-07-22Redo previous slightly differently - restore the behaviour of twosimonb
2000-07-15- Set the minimum width for login name to 4, the width of "USER".enami
2000-07-13Use KERN_CONSDEV for determining the console device instead of CPU_CONSDEVsimonb
2000-06-25Use p_login from struct proc instead of ut_name from struct utmp sosimonb
2000-06-08Pass the size of struct kinfo_proc2 instead of kinfo_proc to kvm_getproc2enami
2000-05-26Use new sysctl/kvm interfaces and remove sgid bit.simonb
2000-05-26Handle SONPROC state.thorpej