What is the most efficient way to get the number of users logged in?
Let me begin by saying I want to do this every 10 seconds and running the commands 'who' or 'finger' are in my opinion too slow, taking about 20 seconds/day to do the job. Makes me wonder if there might be a faster way, possibly via perl, that might get it done in 5 or 10 seconds. It may just be that there are too many internal system structures to transverse to get this data, but I thought I'd ask anyway.
-mark
|