📄 180-183.html
字号:
<HTML>
<HEAD>
<TITLE>Linux in Plain English:Linux Commands Organized by Group</TITLE>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<SCRIPT>
<!--
function displayWindow(url, width, height) {
var Win = window.open(url,"displayWindow",'width=' + width +
',height=' + height + ',resizable=1,scrollbars=yes');
}
//-->
</SCRIPT>
</HEAD>
-->
<!--ISBN=1558285423//-->
<!--TITLE=Linux in Plain English//-->
<!--AUTHOR=Patrick Volkerding//-->
<!--AUTHOR=Kevin Reichard//-->
<!--PUBLISHER=IDG Books Worldwide, Inc.//-->
<!--IMPRINT=M & T Books//-->
<!--CHAPTER=5//-->
<!--PAGES=180-183//-->
<!--UNASSIGNED1//-->
<!--UNASSIGNED2//-->
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="176-179.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="184-190.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
<P><BR></P>
<P><FONT SIZE="+1"><B>xload......<TT>Display System Load</TT></B></FONT></P>
<IMG SRC="images/05-59i.jpg"><P><B>xload</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>xload</B> command periodically polls for the system-load average and relays the information in a histogram.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="30%"><B>-hl <I>color</I></B>
<TD WIDTH="70%">Sets the color of the scale lines in the histogram.
<TR>
<TD VALIGN="TOP"><B>-jumpscroll <I>pixels</I></B>
<TD>Sets the number of <I>pixels</I> to offset when the graph reaches the right edge of the window. The default is half the width of the current window.
<TR>
<TD VALIGN="TOP"><B>-label <I>string</I></B>
<TD>Specifies the <I>string</I> to put as the label above the load average.
<TR>
<TD VALIGN="TOP"><B>-lights <I>n</I></B>
<TD>Displays the load average with keyboard LEDs. When the load level reaches <I>n</I>, <B>xload</B> lights the first <I>n</I> keyboard LEDs, but displays nothing on the screen.
<TR>
<TD><B>-nolabel</B>
<TD>Displays no label above the load graph.
<TR>
<TD VALIGN="TOP"><B>-scale <I>integer</I></B>
<TD>Sets the minimum number of tick marks in the display histogram.
<TR>
<TD VALIGN="TOP"><B>-update <I>seconds</I></B>
<TD>Returns new information every <I>seconds</I>. The default is 10, and the minimum is 1.
</TABLE>
<P><FONT SIZE="+1"><B>xlock......<TT>Lock Display</TT></B></FONT></P>
<IMG SRC="images/05-60i.jpg"><P><B>xlock</B> <I>option(s)</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>xlock</B> command locks an X display until a password is entered. When this happens, all new server connections are refused, the screen saver is disabled, the mouse cursor is turned off, and the screen is blanked.</P>
<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="38%"><B>-cycles <I>num</I></B>
<TD WIDTH="62%">Sets the number of cycles until a pattern times out.
<TR>
<TD><B>-display <I>dsp</I></B>
<TD>Sets the display to lock.
<TR>
<TD VALIGN="TOP"><B>-font <I>fontname</I></B>
<TD>Sets the <I>fontname</I> to be used on the login prompt screen.
<TR>
<TD><B>-forceLogout <I>minutes</I></B>
<TD>Sets <I>minutes</I> before auto-logout.
<TR>
<TD VALIGN="TOP"><B>-info <I>textstring</I></B>
<TD>Displays informational text on the login screen; the default is <I>Enter password to unlock; select icon to lock</I>.
<TR>
<TD VALIGN="TOP"><B>-invalid <I>textstring</I></B>
<TD>Sets <I>textstring</I> to display when a password is deemed invalid; the default is <I>Invalid login</I>.
<TR>
<TD VALIGN="TOP"><B>-lockdelay <I>seconds</I></B>
<TD>Sets the number of <I>seconds</I> before a screen needs a password to be unlocked.
<TR>
<TD VALIGN="TOP"><B>-logoutButtonHelp <I>textstring</I></B>
<TD>Sets <I>textstring</I> as the message shown outside the logout button it is displayed.
<TR>
<TD VALIGN="TOP"><B>-logoutButtonLabel <I>textstring</I></B>
<TD>Sets <I>textstring</I> as a messages shown inside the logout button when the logout button is displayed; the default is <I>Logout</I>.
<TR>
<TD VALIGN="TOP"><B>-logoutFailedString <I>textstring</I></B>
<TD>Sets the <I>textstring</I> to be displayed when a logout fails. The default is <I>Logout attempt FAILED.\n Current user could not be automatically logged out</I>.
<TR>
<TD><B>-message <I>textstring</I></B>
<TD>Specifies a message, not a fortune.
<TR>
<TD VALIGN="TOP"><B>-messagefile <I>filename</I></B>
<TD>Specifies a file where the contents are the message.
<TR>
<TD VALIGN="TOP"><B>-messagesfile <I>formatted-filename</I></B>
<TD>Specifies a file containing a fortune message. The first entry is the number of fortunes, the next line contains the first fortune.
<TR>
<TD VALIGN="TOP"><B>-mfont <I>mode-fontname</I></B>
<TD>Specifies the font to be used with the marquee and nose modes.
<TR>
<TD><B>-mode <I>modename</I></B>
<TD>Sets a display mode.
<TR>
<TD><B>-mono</B>
<TD>Displays in monochrome.
<TR>
<TD VALIGN="TOP"><B>-name <I>resource</I></B>
<TD>Uses <I>resource</I> instead of the Xlock resource when configuring <B>xlock</B>. There are 45 of them; check out the online manual pages for a complete list. (Hint: we like the <B>nose</B> mode.)
<TR>
<TD><B>-nice <I>nicelevel</I></B>
<TD>Sets the nice level.
<TR>
<TD VALIGN="TOP"><B>-password <I>textstring</I></B>
<TD>Shows <I>textstring</I> in front of the password prompt; the default is <I>Password:</I>.
<TR>
<TD VALIGN="TOP"><B>-program <I>programname</I></B>
<TD>Specifies a program to be used to generate a fortune message.
<TR>
<TD><B>-resources</B>
<TD>Displays the default resource file.
<TR>
<TD><B>-saturation <I>value</I></B>
<TD>Sets the saturation of the color ramp.
<TR>
<TD VALIGN="TOP"><B>-timeout <I>seconds</I></B>
<TD>Sets the number of <I>seconds</I> before the password screen times out.
<TR>
<TD VALIGN="TOP"><B>-username <I>textstring</I></B>
<TD>Shows <I>textstring</I> in front of the username prompt; the default is <I>Name:</I>.
<TR>
<TD VALIGN="TOP"><B>-validate <I>textstring</I></B>
<TD>Sets <I>textstring</I> to display when validating a password; the default is <I>Validating login</I>.
<TR>
<TD><B>-/+allowroot</B>
<TD>Allows the root user to login the system.
<TR>
<TD VALIGN="TOP"><B>-/+echokeys</B>
<TD>Displays ? for each key entered. The default is to display nothing.
<TR>
<TD><B>-/+enablesaver</B>
<TD>Keeps the screen saver running.
<TR>
<TD><B>-/+grabmouse</B>
<TD>Grabs the mouse and keyboard (the default).
<TR>
<TD VALIGN="TOP"><B>-/+inroot</B>
<TD>Runs <B>xlock</B> in a root window. This doesn’t actually lock the system.
<TR>
<TD VALIGN="TOP"><B>-/+install</B>
<TD>Allows <B>xlock</B> to use it own colormap. This will not work with the <B>fvwm</B> window manager.
<TR>
<TD><B>-/+inwindow</B>
<TD>Runs <B>xlock</B> in a window.
<TR>
<TD><B>+/-nolock</B>
<TD>Works as a screen saver.
<TR>
<TD VALIGN="TOP"><B>-/+remote</B>
<TD>Allows you to lock remote X terminals. You should not be locking someone else’s X terminal.
<TR>
<TD><B>-/+timeelapsed</B>
<TD>Tells you how long a machine has been locked.
<TR>
<TD VALIGN="TOP"><B>-/+usefirst</B>
<TD>Uses the first key pressed as the first key of the password. The default is to ignore the first key, since it’s used to get the attention of the system.
</TABLE>
<P><FONT SIZE="+1"><B>xlogo......<TT>Display X Logo</TT></B></FONT></P>
<IMG SRC="images/05-61i.jpg"><P><B>xlogo</B> <I>option</I></P>
<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>
<P>The <B>xlogo</B> command displays the X logo. This is useful at trade shows, when gawkers want to know what operating system is running.</P>
<P><FONT SIZE="+1"><B><I>OPTION</I></B></FONT></P>
<TABLE WIDTH="100%">
<TR>
<TD WIDTH="25%" VALIGN="TOP"><B>-shape</B>
<TD WIDTH="75%">Displays the logo window as a shape instead of a rectangle.
</TABLE>
<P><BR></P>
<CENTER>
<TABLE BORDER>
<TR>
<TD><A HREF="176-179.html">Previous</A></TD>
<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>
<TD><A HREF="184-190.html">Next</A></TD>
</TR>
</TABLE>
</CENTER>
</td>
</tr>
</table>
<!-- begin footer information -->
</body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -