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

📄 176-179.html

📁 linux-unix130.linux.and.unix.ebooks130 linux and unix ebookslinuxLearning Linux - Collection of 12 E
💻 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=176-179//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="167-175.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="180-183.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

<P><FONT SIZE="+1"><B>xieperf......<TT>X Performance</TT></B></FONT></P>

<IMG SRC="images/05-56i.jpg"><P><B>xieperf</B> <I>options</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>xieperf</B> command evaluates the XIE server extension. A complete set of the tests can be found in the online manual pages.</P>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="30%"><B>-all</B>

<TD WIDTH="70%">Runs all tests. This may take a while.

<TR>

<TD><B>-cache <I>n</I></B>

<TD>Sets a photomap cache of <I>n</I> entries.

<TR>

<TD><B>-depth <I>depth</I></B>

<TD>Specifies <I>depth</I> planes per pixel.

<TR>

<TD><B>-DirectColor</B>

<TD>Uses a DirectColor visual.

<TR>

<TD VALIGN="TOP"><B>-DIS</B>

<TD>Runs tests covering only the protocol requests found in the DIS subset of XIE.

<TR>

<TD><B>-display <I>host:dpy</I></B>

<TD>Sets the display.

<TR>

<TD><B>-errors</B>

<TD>Tests error-event generation.

<TR>

<TD><B>-events</B>

<TD>Tests event generation.

<TR>

<TD><B>-GrayScale</B>

<TD>Uses a GrayScale visual for testing.

<TR>

<TD><B>-images <I>path</I></B>

<TD>Sets the <I>path</I> for loading images.

<TR>

<TD VALIGN="TOP"><B>-labels</B>

<TD>Generates the labels for all the scripts, but does not run the tests.

<TR>

<TD><B>-loCal</B>

<TD>Skips test calibration.

<TR>

<TD VALIGN="TOP"><B>-mkscript</B>

<TD>Generates a script file suitable for use with the script option.

<TR>

<TD><B>-PseudoColor</B>

<TD>Uses a PseudoColor visual for testing.

<TR>

<TD VALIGN="TOP"><B>-range <I>test1 test2</I></B>

<TD>Runs tests beginning with <I>test1</I> and ending with <I>test2</I>, including the two specified tests.

<TR>

<TD><B>-repeat <I>n</I></B>

<TD>Repeats each test <I>n</I> times (the default is two times).

<TR>

<TD><B>-reps <I>n</I></B>

<TD>Sets the inner-loop repetitions to <I>n</I>.

<TR>

<TD><B>-sync</B>

<TD>Runs the tests in synchronous mode.

<TR>

<TD><B>-script <I>file</I></B>

<TD>Runs the tests specified in a script file named <I>file</I>.

<TR>

<TD VALIGN="TOP"><B>-showlabels</B>

<TD>Prints a test label on the screen, indicating the test to be run. This is useful to figure out if any tests are crashing the system.

<TR>

<TD><B>-showevents</B>

<TD>Prints information about event and error tests,

<TR>

<TD VALIGN="TOP"><B>-showtechs</B>

<TD>Provides a long lists of techniques used by the XIE server.

<TR>

<TD><B>-StaticColor</B>

<TD>Uses a StaticColor visual.

<TR>

<TD><B>-StaticGray</B>

<TD>Uses a StaticGray visual.

<TR>

<TD><B>-tests</B>

<TD>Shows available tests.

<TR>

<TD VALIGN="TOP"><B>-time <I>s</I></B>

<TD>Sets the time each test should run, in <I>s</I> seconds (the default is five seconds).

<TR>

<TD VALIGN="TOP"><B>-timeout <I>s</I></B>

<TD>Sets the time that the test will wait for an event that may never arrive.

<TR>

<TD><B>-TrueColor</B>

<TD>Uses a TrueColor visual.

<TR>

<TD VALIGN="TOP"><B>-WMSafe</B>

<TD>Provides more accurate results by informing <B>xieperf</B> that it is running in a window-manager environment.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMANDS</I></B></FONT></P>

<DL>

<DD><B>x11perf

<DD>x11perfcomp</B>

</DL>

<P><FONT SIZE="+1"><B>xinit......<TT>X Initializer</TT></B></FONT></P>

<IMG SRC="images/05-57i.jpg"><P><B>xinit</B> <I>client option(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>xinit</B> command launches the X Window System (as called from <B>startx</B>) and can also launch a first client in situations where a system cannot start X directly from <B>/etc/init</B>.</P>

<P>In most situations, however, you won&#146;t be launching an application from the command line. In these situations, there&#146;s a sequence of steps that <B>xinit</B> uses when starting X:</P>

<DL>

<DD><B>&#149;</B>&nbsp;&nbsp;It first looks for a file called <B>.xinitrc</B>, which runs as a shell script to start client programs.

<DD><B>&#149;</B>&nbsp;&nbsp;If this file does not exist, <B>xinit</B> uses <I>xterm -geometry &#43;1&#43;1 -n login -display :0</I> as a command line.

<DD><B>&#149;</B>&nbsp;&nbsp;If no server program exists on the command line, <B>xinit</B> looks for <B>.xserverrc</B> in the user&#146;s home directory.

<DD><B>&#149;</B>&nbsp;&nbsp;If this file does not exist, <B>xinit</B> uses <I>X :0</I> as a default server.

</DL>

<P>When you set up an <B>.xserverrc</B> script, you must be sure to launch the read X server.</P>

<P>There&#146;s a science to writing an <B>.xinitrc</B> if you choose not to use the mechanized tools for configuring X Window System. You must be sure that the applications launched in this file are run in the background, except for the last program (usually a window manager), which should run in the foreground in order to ensure that the script doesn&#146;t fail.</P>

<P><FONT SIZE="+1"><B>xkill......<TT>Kill Client</TT></B></FONT></P>

<IMG SRC="images/05-58i.jpg"><P><B>xkill</B> <I>option(s)</I></P>

<P><FONT SIZE="+1"><B><I>PURPOSE</I></B></FONT></P>

<P>The <B>xkill</B> command forces an X server to sever connections to clients. You can specify a program by a resource identifier. If you do not do this, <B>xkill</B> will display a little skull-and-crossbones cursor, and the window underneath this cursor of death will be killed when you click on it.</P>

<BLOCKQUOTE>

<P><FONT SIZE="-1"><HR><B>NOTE:&nbsp;&nbsp;</B>This is not the best way to go about closing programs, so use this command with caution.<HR></FONT>

</BLOCKQUOTE>

<P><FONT SIZE="+1"><B><I>OPTIONS</I></B></FONT></P>

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="35%" VALIGN="TOP"><B>-all</B>

<TD WIDTH="65%">Kills all clients with top-level windows on the screen. Use this only as a last resource.

<TR>

<TD VALIGN="TOP"><B>-button <I>number</I></B>

<TD>Specifies the mouse button to use with the cursor of death. The default is the left mouse button. You can use <I>all</I> instead of a number to specify that any button be used with the cursor of death.

<TR>

<TD><B>-display <I>displayname</I></B>

<TD>Specifies the server to contact.

<TR>

<TD><B>-id <I>resource</I></B>

<TD>Specifies the client to be killed.

<TR>

<TD VALIGN="TOP"><B>-frame</B>

<TD>Tells <B>xkill</B> that you want to kill direct children of the root.

</TABLE>

<P><FONT SIZE="+1"><B><I>RELATED COMMAND</I></B></FONT></P>

<DL>

<DD><B>xwininfo</B>

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="167-175.html">Previous</A></TD>

<TD><A HREF="../ewtoc.html">Table of Contents</A></TD>

<TD><A HREF="180-183.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 + -