summaryrefslogtreecommitdiff
path: root/share/man/man4/tty.4
diff options
context:
space:
mode:
authoranton <anton@cvs.openbsd.org>2017-06-29 16:20:50 +0000
committeranton <anton@cvs.openbsd.org>2017-06-29 16:20:50 +0000
commit6f87278aa49c9afedd67e6e90501e521e98a84e9 (patch)
treef52f747d35456aeb65e4db4ee11632e55c1b35b6 /share/man/man4/tty.4
parentd5f346e9f4cdf51224dc24875155de25ef857a95 (diff)
Mention TIOCSTAT in tty(4).
ok deraadt@ millert@
Diffstat (limited to 'share/man/man4/tty.4')
-rw-r--r--share/man/man4/tty.411
1 files changed, 10 insertions, 1 deletions
diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4
index d7174600c0a..82877fe09be 100644
--- a/share/man/man4/tty.4
+++ b/share/man/man4/tty.4
@@ -1,4 +1,4 @@
-.\" $OpenBSD: tty.4,v 1.48 2017/06/29 04:10:07 deraadt Exp $
+.\" $OpenBSD: tty.4,v 1.49 2017/06/29 16:20:49 anton Exp $
.\" $NetBSD: tty.4,v 1.4 1996/03/19 04:26:01 paulus Exp $
.\"
.\" Copyright (c) 1991, 1992, 1993
@@ -487,6 +487,15 @@ Not all serial ports may support this.
Return the current state of the serial port as represented
above in the integer pointed to by
.Fa state .
+.It Dv TIOCSTAT Fa void
+Causes the kernel to write a status message to the terminal that displays the
+current load average,
+the name of the command in the foreground,
+its process ID,
+the symbolic wait channel,
+the number of user and system seconds used,
+the percentage of CPU the process is getting,
+and the resident set size of the process.
.El
.Sh FILES
.Bl -tag -width /dev/tty -compact