News for hackers. Stuff that matters.
Re:Something is deeply broken in OS X memory management by burgerbrain on Monday April 23, 2012 @02:13PM (#3880159)
> "That delay is /usr/bin/login searching the system logs so that it can display the date and time of your last login."

Am I missing something? `w` on my linux system takes well below one second:

  [burgerbrain@eeepc] ~ % time w   
  14:11:18 up 19:41,  6 users,  load average: 0.27, 0.10, 0.14
  USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
  REDACTED
  w  0.01s user 0.05s system 61% cpu 0.096 total
I can't imagine why anything like that would ever take anywhere near 5 seconds.
Re:Something is deeply broken in OS X memory management by CGamesPlay on Monday April 23, 2012 @02:16PM (#3880177)
That shows your currently active login, which is of course in main memory. Your most recent login may well no longer be active, and so you have to search the log files.
Re:Something is deeply broken in OS X memory management by burgerbrain on Monday April 23, 2012 @02:49PM (#3880321)
Ah yeah, had a brain fart there. Even so, `last` is similarly fast.