.TH SYSLINE 1 .UC .SH NAME sysline \- display system status on status line of a terminal .SH SYNOPSIS .B sysline [ .B \-bcdehDilmpqrsj ] [ .B \+N ] .SH DESCRIPTION .I Sysline 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 flags are given, .I sysline displays the time of day, the current load average, the change in load average in the last 5 minutes, the number of users (followed by a `u'), the number of runnable process (followed by a `r'), the number of suspended processes (followed by a `s'), 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 the display of the number of users. The display is normally in reverse video (if your terminal supports this in the status line) and is right justified to reduce distraction. Every fifth display is done in normal video to give the screen a chance to rest. .PP If you have a file named .who in your home directory, then the contents of that file is printed first. One common use of this feature is to alias chdir, pushd, and popd to place the current directory stack in ~/.who after it changes the new directory. .PP The following flags may be given on the command line. .TP .B \-\^b Beep once every half hour and twice every hour, just like those obnoxious watches you keep hearing. .TP .B \-\^c Clear the status line for 5 seconds before each redisplay. .TP .B \-\^d Debug mode -- print status line data in human readable format .TP .B \-\^e Print out only the information. Do not print out the control commands necessary to put the information on the bottom line. This option is useful for putting the output of .I sysline onto the mode line of an emacs window. .TP .B \-\^D Print out the current day/date before the time. .TP .B \-\^h Print out the host machine's name after the time. .TP .B \-\^l Don't print the names of people who log in and out. .TP .B \-\^m Don't check for mail. .TP .B \-\^p Don't report the number of process which are runnable and suspended. .TP .B \-\^r Don't display in reverse video. .TP .B \+N Update the status line every N seconds. The default is 60 seconds. .TP .B \-\^q Don't print out diagnostic messages if something goes wrong when starting up. .TP .B \-\^i Print out the process id of the .I sysline process onto standard output upon startup. With this information you can send the alarm signal to the .I sysline process to cause it to update immediately. .I sysline writes to the standard error, so you can redirect the standard output into a file to catch the process id. .TP .B \-\^s Print "short" form of line by left-justifying .I iff escapes are not 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, .I sysline normally uses blanks to cause right-justification. This flag will disable the adding of the blanks. .TP .B \-\^j Force the sysline output to be left justified even on terminals capable of cursor movement on the status line. .PP If you have a file .syslinelock in your home directory, then .I sysline will not update its statistics and write on your screen, it will just go to sleep for a minute. This is useful if you want to momentarily disable .I sysline. Note that it may take a few seconds from the time the lock file is created until you are guaranteed that .I sysline will not write on the screen. .SH FILES .ta 2i .nf /etc/utmp names of people who are logged in /dev/kmem contains process table ${HOME}/.who information to print on bottom line ${HOME}/.syslinelock when it exists, sysline will not print .fi .SH SEE ALSO termcap(3X), termcap(5) .SH AUTHOR John Foderaro .br Tom Ferrin converted it to use termcap. .br Mark Horton added terminfo capability. .SH BUGS If you interrupt the display then you may find your cursor missing or stuck on the status line. The best thing to do is reset the terminal. .br If there is too much for one line, the excess is thrown away.