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

📄 150-153.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=150-153//-->

<!--UNASSIGNED1//-->

<!--UNASSIGNED2//-->



<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="144-149.html">Previous</A></TD>

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

<TD><A HREF="154-159.html">Next</A></TD>

</TR>

</TABLE>

</CENTER>

<P><BR></P>

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

<IMG SRC="images/05-34i.jpg"><P><B>x11perf</B> <I>option</I></P>

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

<P>The <B>x11perf</B> command runs a set of tests on an X server and reports on the speed performance. These tests are specific to the X Window System, using benchmarks to determine the time it takes to create and map windows, map a preexisting set of windows onto the screen, and to move windows around the screen. It also measures graphics performance for frequently used X applications, including mapping bitmaps into pixels, scrolling, and various stipples and tiles. The information is actually not as useful as you might think&#151;you can&#146;t make any changes to the server (unless you&#146;re an experienced programmer and want to work with the X server source code), and you probably won&#146;t be changing your X server based on these numbers.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="30%"><B>-display <I>host:dpy</I></B>

<TD WIDTH="70%">Specifies the display.

<TR>

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

<TD>Runs rectangle tests so that rectangles are packed next to each other.

<TR>

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

<TD>Runs the tests in synchronous mode. This is a fairly worthless option.

<TR>

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

<TD>Repeats each test <I>n</I> times. The default is five times.

<TR>

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

<TD>Sets the time length of each test. The default is five seconds.

<TR>

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

<TD>Performs all the tests. Go out for a latte; this is a lengthy test.

<TR>

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

<TD>Runs all the tests starting from the specified <I>test1</I> until the name <I>test2</I>, including both the specified tests. The testnames should be one of the options starting from <B>-dot</B>.

<TR>

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

<TD>Generates just the descriptive labels for each test specified.

<TR>

<TD><B>-fg <I>color/pixel</I></B>

<TD>Sets the foreground color or pixel value.

<TR>

<TD><B>-bg <I>color/pixel</I></B>

<TD>Sets the background color or pixel value.

<TR>

<TD><B>-clips <I>default_num</I></B>

<TD>Sets the default number of clip windows.

<TR>

<TD VALIGN="TOP"><B>-ddbg <I>color/pixel</I></B>

<TD>Sets the color or pixel value to use for drawing the odd segments of a DoubleDashed line or arc. The default is the background color.

<TR>

<TD VALIGN="TOP"><B>-rop <I>rop0 rop1 ...</I></B>

<TD>Uses the specified raster ops (the default is GXcopy).

<TR>

<TD><B>-pm <I>pm0 pm1 ...</I></B>

<TD>Uses the specified planemasks (the default is <I>~0</I>).

<TR>

<TD VALIGN="TOP"><B>-depth <I>depth</I></B>

<TD>Uses a visual with <I>depth</I> planes per pixel. (The default is the default visual).

<TR>

<TD VALIGN="TOP"><B>-vclass <I>vclass</I></B>

<TD>Uses a visual of <I>vclass</I>. It can be StaticGray, GrayScale, StaticColor, PseudoColor, TrueColor, or DirectColor. (The default is the default visual.)

<TR>

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

<TD>Sets the repetition count (the default is five seconds).

<TR>

<TD VALIGN="TOP"><B>-subs <I>s0 s1 ...</I></B>

<TD>Sets the number of subwindows to use in the Window tests. The default sequence is 4, 16, 25, 50, 75, 100, and 200.

<TR>

<TD VALIGN="TOP"><B>-v1.2</B>

<TD>Performs Version 1.2 tests using Version 1.2 semantics.

<TR>

<TD VALIGN="TOP"><B>-v1.3</B>

<TD>Performs Version 1.3 tests using Version 1.3 semantics.

<TR>

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

<TD>Sets the <I>save_under</I> window attribute to True on all windows. The default is False.

<TR>

<TD VALIGN="TOP"><B>-bs <I>backing_ store_hint</I></B>

<TD>Sets the <I>backing_store</I> window attribute to the given value on all windows created by x11perf. This can be WhenMapped or Always. The default is NotUseful.

</TABLE>

<P>There are also a number of options that specify the exact tests to be performed. See the online-manual pages for specifics.

</P>

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

<DL>

<DD><B>X</B>

<DD><B>xbench</B>

<DD><B>x11perfcomp</B>

</DL>

<P><FONT SIZE="+1"><B>x11perfcomp......<TT>Compare Performances</TT></B></FONT></P>

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

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

<P>The <B>x11perfcomp</B> merges the information returned by several <B>x11perf</B> tests in tabular format.</P>

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

<TABLE WIDTH="100%">

<TR>

<TD WIDTH="20%"><B>-l <I>label_file</I></B>

<TD WIDTH="80%">Specifies a label file to use.

<TR>

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

<TD>Specifies that output should include relative server performance.

<TR>

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

<TD>Specifies that output should include only relative server performance.

</TABLE>

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

<DL>

<DD><B>X</B>

<DD><B>x11perf</B>

</DL>

<P><BR></P>

<CENTER>

<TABLE BORDER>

<TR>

<TD><A HREF="144-149.html">Previous</A></TD>

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

<TD><A HREF="154-159.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 + -