Linux System call to display all logged in users
I am trying to write a program in C to display logged in users. Is there
any way to list logged in Users in Linux system apart from executing "who"
command?
Is there any kernel data structure which holds list of logged in users?
Any help in this regard is appreciated..
Thanks in advance
No comments:
Post a Comment