⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 sysline.1

📁 <B>Digital的Unix操作系统VAX 4.2源码</B>
💻 1
字号:
.\" SCCSID: @(#)sysline.1	8.1	9/11/90." $Header: /usr/src/ucb/sysline/RCS/sysline.1,v 1.2 83/07/31 23:46:35 layer Exp $.TH sysline 1 "" "" Unsupported.SH Namesysline \- display system status on status line of a terminal.SH Syntax.B sysline[.B \-bcdehDilmpqrsj] [.B \-H\ .I remote] [.B +N].SH Description.NX R "sysline command".NX R "System status" "displaying"The.PN syslinecommand runs in the background and periodically displays system status information on the status line of the terminal.Not all terminals contain a status line.Those that do include the h19, concept 108, Ann Arbor Ambassador, vt100,Televideo 925/950 and Freedom 100.If no options are given,.PN syslinedisplays the time of day, the current load average, the change in loadaverage in the last 5 minutes, the number of users (followed by a `u'),the number of runnable  process (followed by a `r')(VAX only), the numberof suspended processes (followed by a `s')(VAX only), and the users who have logged on and off since the last status report.Finally, if new mail has arrived, a summary of it is printed.If there is unread mail in your mailbox, an asterisk will appear after thedisplay of the number of users.The display is normally in reverse video (if your terminal supportsthis in the status line) and is right justified to reduce distraction.Every fifth display is done in normal video to give the screen a chanceto rest..PPIf you have a file named .PN \&.who in your home directory, then .PN sysline prints the contents of that file first.  One common use of this feature is to alias chdir, pushd, and popd  to place the current directory stack in .PN ~/.who after it changes the new directory..SH Options.TP 12.B \-bBeep once every half hour and twice every hour, just like those obnoxiouswatches you keep hearing..TP.B \-cClear the status line for 5 seconds before each redisplay..TP.B \-dDebug mode -- print status line data in human readable format..TP.B \-DPrint out the current day/date before the time..TP.B \-ePrint out only the information.  Do not print out the control commandsnecessary to put the information on the bottom line.  This option isuseful for putting the output of.PN syslineonto the mode line of an emacs window..TP.B \-H \fIremote\fPPrint the load average on the remote host \fIremote\fP (VAX only).If the host is down, or is not sending out \fIrwhod\fP packets, thenthe down time is printed instead..TP.B \-hPrint out the host machine's name after the time (VAX only)..TP.B \-lDon't print the names of people who log in and out..TP.B \-mDon't check for mail. .TP.B \-pDon't report the number of processes which are runnable and suspended..TP.B \-rDon't display in reverse video..TP.B \+NUpdate the status line every N seconds. The default is 60 seconds..TP.B \-qDon't print out diagnostic messages if something goes wrong when starting up..TP.B \-iPrint out the process id of the.PN syslineprocess onto standard output upon startup.With this information you can send the alarm signal to the.PN syslineprocess to cause it to update immediately.  The.PN syslinecommand writes to the standard error, so you can redirect the standardoutput into a file to catch the process id..TP.B \-sPrint "short" form of line by left-justifying.  No.I iffescapes are allowed in the status line.Some terminals (the Televideos and Freedom 100 for example)do not allow cursor movement (or other "intelligent" operations)in the status line.  For these terminals,.PN syslinenormally uses blanks to cause right-justification.This flag will disable the adding of the blanks..TP.B \-jForce .PN sysline output to be left-justified, even on terminals capable ofcursor movement on the status line..PPIf you have a file .syslinelock in your home directory, then.PN syslinewill not update its statistics and write on your screen; it will just go tosleep for a minute.  This is useful if you want to momentarily disable.PN sysline.Note that it may take a few seconds from the time the lock fileis created until you are guaranteed that.PN syslinewill not write on the screen.In order to use .PN sysline on a VT100 terminal, either of the followingtermcap entries should be used to specify terminal attributes:.TP 20vt100-sCreates a top-of-screen status line..TP 20vt100-s-botCreates a bottom of screen status line..SH RestrictionsIf you interrupt the display, then you may find your cursor missing or stuck on the status line.  The best thing to do is reset your terminal.If there is too much output for one line, the excess is thrown away..SH Files.TP 25/etc/utmpNames of people who are logged in..TP/dev/kmemProcess table (VAX only)..TP/usr/spool/rwho/whod.*Who/uptime information for remote hosts (VAX only)..TP${HOME}/.whoInformation to print on bottom line..TP${HOME}/.syslinelockWhen the .syslinelock file exists, .PN sysline will not print.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -