📄 ruptime.1c
字号:
.\" SCCSID: @(#)ruptime.1c 2.2 5/18/87.TH ruptime 1c.SH Nameruptime \- show host status of local machines.SH Syntax.B ruptime[ .I options][.I machinename] .SH Description.NXR "ruptime command" "description"The.PN ruptimecommandgives a status line like .MS uptime 1 for each machine on the local network.If a .I machinenameis given, the status of only the named machine is given.These status lines are formed from packets broadcast by each hoston the network once a minute..PPMachines for which nostatus report has been received for 5 minutes are shown as being down..SH Options.IP \fB\-a\fR 5.NXR "ruptime command" "options"Users idle an hour or more are not counted unless thisoption is specified..IP \fB\-d\fR 5Display only those hosts that are considered down..IP \fB\-l\fR 5Sort the status list by load average. If more than one sortoption is given, .PN ruptimeuses the last one..IP \fB\-r\fR 5Show only hosts that are up and running..IP \fB\-t\fR 5 Sort the status list by uptime. If more than one sort optionis given,.PN ruptimeuses the last one..IP \fB\-u\fR 5Sort the status list by number of users. If more than one sortoption is given,.PN ruptime uses the last one..IP \fB\-\fInn\fR 5Show only those hosts with.I nnor more users..SH RestrictionsBecause the .NXR "ruptime command" "restrictions".PN rwhoddaemon sends its information in broadcast packets it generatesa large amount of network traffic. On large networks the extratraffic may be objectionable. Therefore, the .PN rwhoddaemon is disabled by default. To make use of the .PN rwhoddaemon for both the local and remote hosts,remove the comment symbols (#) from in front of the lines specifying.PN rwhodin the.PN /etc/rcfile..PPIf the.PN rwhoddaemon is not running on a remote machine, the machinemay incorrectly appear to be down when you use the .PN ruptimecommand to determine its status. See the.MS rwhod 8reference page for more information..PPIf a system has more than 40 users logged in at once,the number of users displayed by the .PN ruptimecommand is incorrect.Users who login to a machine after that point failto increment the user count that appears in the output of the.PN ruptimecommand.This is due to the maximum size limit of an Ethernet packet,which is 1500 bytes, and the fact that the .PN rwhoddaemon mustbroadcast its information in a single packet..SH Files.DT/usr/spool/rwho/whod.* Information about other machines.SH See Alsorwho(1c), rwhod(8c)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -