Skip to content

getidle

Ulrich Berntien edited this page Mar 26, 2019 · 1 revision

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/*.

Clone this wiki locally