1 Justin October 2, 2007 at 10:11 pm

lsof will give you a list of all files being accessed at the moment and the users that are accessing them, among other things.

2 Nikhil Mulley October 3, 2007 at 7:32 pm

there is apparently another file which not many know of is /var/log/btmp and the related command to read it is lastb.
lastb is same as that of last except that it shows all the bad login attempts which are recorded into /var/log/btmp, if the file is not present you would have to touch it to get started.


3 nixCraft October 4, 2007 at 3:29 pm


Oh I just forgot about lastb., I appreciate your post.

4 Krish March 30, 2011 at 5:53 pm

Can you pls tell me how to information on this log files

Comments on this FAQ are closed. If you'd like to continue the discussion on this topic, you can do so at our forum.

Tagged as: , , , , ,

Previous post:

Next post: