Searched hist:201060 (Results 1 - 2 of 2) sorted by relevance
/freebsd-9.3-release/usr.sbin/rwhod/ | ||
H A D | Makefile | diff 201060 Sun Dec 27 19:28:03 MST 2009 ed Let rwhod use libulog. I am not planning on providing a mechanism tot stat() the database files directly. The disadvantage of this, is that rwhod will now be a little bit more heavy than it used to be. It normally used to fstat() the file descriptor to see whether the file had changed, but this is now impossible to implement, meaning we have to parse the entire utmp file each 180 seconds. This is probably not an issue on modern 16-way servers, but if it turns out to be a problem, we'll think of something. |
H A D | rwhod.c | diff 201060 Sun Dec 27 19:28:03 MST 2009 ed Let rwhod use libulog. I am not planning on providing a mechanism tot stat() the database files directly. The disadvantage of this, is that rwhod will now be a little bit more heavy than it used to be. It normally used to fstat() the file descriptor to see whether the file had changed, but this is now impossible to implement, meaning we have to parse the entire utmp file each 180 seconds. This is probably not an issue on modern 16-way servers, but if it turns out to be a problem, we'll think of something. |
Completed in 50 milliseconds