getidle - zMarch/Orc GitHub Wiki
getidle
Name
getidle - list all ptys and their idle times accurately
Synopsis
getidle
Description
getidle lists all ptys and their idle times accurately. The function lists pty connection, the user and the idle time.
getidle writes the list with the idle times to stdout.
Example
Run the function. There are no command line arguments.
$ getidle
Files
The function stats the pseudo files /dev/pts/*.