View Single Post
Old Jul 6th, 2005, 10:37 PM   #8
thinkgeek
Newbie
 
Join Date: Jul 2005
Posts: 10
Rep Power: 0 thinkgeek is on a distinguished road
File parsing the /var/run/utmp

Quote:
Alternatively you can spawn a new who process every few seconds and read its output. That would be easier than parsing /var/run/utmp, but you'd get a performance hit for spawning a new process so often - i'd go with the file parsing option myself.
Could you explain how to parse the /var/run/utmp file. It is in binary format.
thinkgeek is offline   Reply With Quote