2010-12-30 Martin Mares * Released as version 1.13. * Fixed a trivial bug in parsing of /proc/loadavg. 2010-08-20 Martin Mares * Released as version 1.12. * Changed the first line of output, which was too cluttered by the long descriptions of recent CPU's. The CPU description has been replaced by just the number of CPU's (cores). The UE time has been removed. * Host name has been added to the first line. * System run time is now reported correctly on SMP machines. 2003-01-13 Martin Mares * Released as version 1.11. * ywho.c (LEFTSIZE): Forgot the old value of this constant when changing design, causing incorrect truncation of long command lines. 2002-07-06 Martin Mares * Released as version 1.10. * ywho.c (solve): Rewritten the logic for determining commands run by users. Session ID's are no longer honored as they change within a single login session if you use some configurations of GNU screen or OpenSSH with privilege separation. Now we use one of maximum depth leaves in the process tree rooted at the login process mentioned in utmp. Also, cleaned up rest of the solving function, so it's less hairy. * ywho.c: Renamed "usr" fields to "uid" and some other cleanups. * ywho.c (readproc): Avoid using uninitialized memory if reading of process status fails. * ywho.c: Sanitized debugging dumps. 2002-07-05 Martin Mares * ywho.c (readproc): Record names of swapped-out processes as well. * Split the package to ywho and nwho. 2001-02-06 Martin Mares * Released as version 1.9. * ywho.c: Killed a Y2K bug. Lots of cosmetic changes. (readutmp): Better formatting of tty names. * nwho.c, nwhod.c, net.h: Pass longer tty names. Unfortunately this required a change of packet format, hence addition of magic numbers at the start of the packet. Sun Mar 28 22:39:37 1999 Martin Mares * ywho.c: Miscellaneous fixes based on bug reports and patch fragments by Jan Kratochvil and Pavel Troller . These include support for glibc wide utmp records, dynamic listing sizing, /dev/pts, all-kernel-versions CPU type formatter and several minor fixes not worth mentioning. Fri Oct 2 23:33:13 1998 Martin Mares * ywho.c (readutmp): Idle time should be based on atime. Fri Oct 17 18:14:18 1997 Martin Mares * nwho.c (show_users): Problems with long user names hopefully gone. Tue Sep 30 16:52:44 1997 Martin Mares * nwho.c (scan): <= instead of < was causing invalid messages about invalid records. (show_uptime): Also shows number of users logged in. Fri Sep 26 23:45:57 1997 Martin Mares * Added nwhod, nwho and nuptime. Released as version 1.8. Ancient history: * 1.3 (16-09-96) - idle derived from atime instead of mtime. * - displaying of current command fixed. * 1.4 (09-05-97) - "mesg n" state now based on group write * 1.5 (13-07-97) - correctly parses 2.1.X /proc/meminfo * - source re-indented * - fixed zombie detector * - changed rules for kilo/mega/gigabyte printing * 1.6 (29-07-97) - ignores unprintable characters in process cmdlines. * 1.7 (01-09-97) - added missing newline in zombie detector.