HP-UX B.11.23 ia64
Hi everyone,
First of all I am new member to this forum. Thankyou all for this forum, it helped me many times.
Coming to my question,I am writing a C program to find the log info of the users who are currently logged in(precisely what who -u do).
I am able to get all the information except the idle time. I used getuts function for getting info. The man page says getuts allows fields like ut_id, ut_type, ut_tv(login time) etc.
Can any one suggest me how to fetch the idle time of users currenly logged in?