upload tizen2.0 source
[framework/uifw/xorg/app/xrestop.git] / doc / xrestop.1
1 .TH "xrestop" 1
2 .SH NAME
3 xrestop \- monitor server resources used by X11 clients
4 .SH SYNOPSIS
5 .B xrestop
6 \-help
7 .br
8 .B xrestop
9 [ \fB\-display\fP display ] [ \fB\-\-batch\fP ] [ \fB\-\-delay\-time\fP seconds ]
10 .SH DESCRIPTION
11 Xrestop uses the X\-Resource extension to provide 'top'\-like statistics of 
12 each connected X11 client's server\-side resource usage.  It is intended 
13 as a developer tool to aid more efficient server resource usage and 
14 debug server\-side resource leakage.
15 .SH OPTIONS
16 .TP
17 \fB\-\-help\fP
18 Show usage.
19 .TP
20 \fB\-\-display, \-d\fP <display>
21 Specify X11 display to monitor.
22 .TP
23 \fB\-\-delay-time, \-dt\fP <seconds>
24 Time in seconds between taking samples. Default is 2 seconds. 
25 .TP
26 \fB\-\-batch, \-b\fP
27 Run in batch mode. Slightly more detailed infomation is streamed to 
28 stdout rather than the usual curses interface. This mode is intended
29 for debugging a single client with something like 
30 .br
31   xrestop \-b | grep \-A 14 appname
32 .TP
33 \fB\-\-max\-samples, \-m\fP <count>
34 Specify number of times to gather and display results.
35 Default is continuous, which can be set with 0 (zero).
36 .br
37 .SH "SEE ALSO"
38 .BR X (7),
39 .BR top (1) .
40 .SH BUGS
41 The X\-Resource extension is very new and may not be 100% accurate. 
42 .SH AUTHOR
43 .B xrestop
44 was written by Matthew Allum <mallum@handhelds.org>.