Skip to content

Provide information about connected users #229

Closed
@giampaolo

Description

From g.rodola on November 09, 2011 20:57:39

This feature would be similar to what is provided by "who" command.
On Unix this info can be extracted from the utmp structure: 
http://linux.die.net/man/5/utmp From there we can extract various information 
such as connected usernames, associated terminals (tty) and login times.

There's a python binding available here: http://software.clapper.org/pyutmp/ As 
for the API, I image a "psutil.get_users()" function returning a list of 
namedtuples for every connected user.

I still have to look into the Windows implementation (actually I still have to 
look into everything =)).

Original issue: http://code.google.com/p/psutil/issues/detail?id=229

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions