# PaCkAgE DaTaStReAm xrestop 1 88 # end of header 0707010009aca6000081a4000000000000000000000001511c5eb70000011e000000b500010002ffffffffffffffff0000001000000000xrestop/pkginfoPKG=xrestop NAME=xrestop 0.4 i86pc Solaris 10 VERSION=0.4 PSTAMP=14th February 2013 VENDOR=Matthew Allum EMAIL=http://www.freedesktop.org/wiki/Software/xrestop DESC=X-Resource top resource usage tool ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010009aca5000081a4000000000000000000000001511c5eb800000185000000b500010002ffffffffffffffff0000000f00000000xrestop/pkgmap: 1 88 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/bin 0755 root root 1 f none /usr/local/bin/xrestop 0755 root root 30520 802 1360813750 1 d none /usr/local/man 0755 root root 1 d none /usr/local/man/man1 0755 root root 1 f none /usr/local/man/man1/xrestop.1 0644 root root 1299 46483 1360813750 1 i checkinstall 790 2504 1360813751 1 i pkginfo 286 23061 1360813751 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!0707010009aca6000081a4000000000000000000000001511c5eb70000011e000000b500010002ffffffffffffffff0000000800000000pkginfoPKG=xrestop NAME=xrestop 0.4 i86pc Solaris 10 VERSION=0.4 PSTAMP=14th February 2013 VENDOR=Matthew Allum EMAIL=http://www.freedesktop.org/wiki/Software/xrestop DESC=X-Resource top resource usage tool ARCH=i386 CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010009aca5000081a4000000000000000000000001511c5eb800000185000000b500010002ffffffffffffffff0000000700000000pkgmap: 1 88 1 d none /usr ? ? ? 1 d none /usr/local ? ? ? 1 d none /usr/local/bin 0755 root root 1 f none /usr/local/bin/xrestop 0755 root root 30520 802 1360813750 1 d none /usr/local/man 0755 root root 1 d none /usr/local/man/man1 0755 root root 1 f none /usr/local/man/man1/xrestop.1 0644 root root 1299 46483 1360813750 1 i checkinstall 790 2504 1360813751 1 i pkginfo 286 23061 1360813751 0707010009acaf000041ed000000000000000000000002511c5eb800000000000000b500010002ffffffffffffffff0000000800000000install0707010009acb0000081ed000000000000000000000001511c5eb700000316000000b500010002ffffffffffffffff0000001500000000install/checkinstall#!/bin/sh # expected_bits="64" expected_release="5.10" expected_platform="i386" # release=`uname -r` platform=`uname -p` bits=`isainfo -b` # if [ ${platform} != ${expected_platform} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_platform} architecture\n" echo "\tAborting installation.\n\n\n" exit 1 fi if [ ${release} != ${expected_release} ]; then echo "\n\n\n\tThis package must be installed on a ${expected_release} machine\n" echo "\tAborting installation.\n\n\n" exit 1 fi #if [ ${bits} != ${expected_bits} ]; then # echo "\n\n\n\tThis package must be installed on a ${expected_bits} bit machine\n" # echo "\tYour machine is running a ${bits} bit O.S. currently\n" # echo "\tAborting installation.\n\n\n" # exit 1 #fi exit 0 0707010009aca7000041ed000000000000000000000003511c5eb800000000000000b500010002ffffffffffffffff0000000500000000root0707010009aca8000041ed000000000000000000000003511c5eb800000000000000b500010002ffffffffffffffff0000000900000000root/usr0707010009aca9000041ed000000000000000000000004511c5eb800000000000000b500010002ffffffffffffffff0000000f00000000root/usr/local0707010009acaa000041ed000000000000000000000002511c5eb800000000000000b500010002ffffffffffffffff0000001300000000root/usr/local/bin0707010009acab000081ed000000000000000000000001511c5eb600007738000000b500010002ffffffffffffffff0000001b00000000root/usr/local/bin/xrestopELF04r4 (! 44ot-t-t-t-$$.$./usr/lib/ld.so.1OO  !"#&'+,.023689:<=?BCDEFGHM $%()*-/1457;>@AIJKLNp/1E`/i`3p`{0@ /@ t-(->EKd/4fq y7 ( ' "d3 8(">  EEtE@EE;ErȋEtjEPEEEÐUEU E @ЋJ#ȋUE @ЋR#;ujhx)ЋE P UE@ PE PEP EEtEPEPЋE Pjh)ЋE P ÐU]EETMU jjEPEPBPAPuMU E PBPAPh @tEXU@XEE;EUEЉEEU;PuE MUX\E XMEU;PuE MUX\E X$EU;PuE MUX \E X EU;P uE MUX,\E X,EU;P$uE MUX(\E X(EU;P(uE MUX$\E X$EU;P,uE MUX0\E X0_EU;P0uE MUX4\E X4;EU;P4uE MUX8\E X8E MUX<\E X specify time in seconds between sampling. --batch, -b run in batch mode. --max-samples,-m Maximum overall readings to take. xrestopxrestop - Display: %s:%ilocalhost Monitoring %i clients. XErrors: %i Pixmaps: %8s total, Other: %8s total, All: %8s totalres-base Wins GCs Fnts Pxms Misc Pxm mem Other Total PID Identifier %5d ? %.7x %4d %4d %4d %4d %4d %7s %7s %7s %5s %s%i - %s ( PID:%s ): res_base : ox%lx res_mask : ox%lx windows : %d GCs : %d fonts : %d pixmaps : %d pictures : %d glyphsets : %d colormaps : %d passive grabs : %d cursors : %d unknowns : %d pixmap bytes : %ld other bytes : ~%ld total bytes : ~%ld -display-d-b--batch-t--delay-time-m--max-samples--help-h%s: Unable to open display! %s: XResQueryExtension failed. Display Missing XRes extension ? %s: XResQueryVersion failed, cannot continue. PIXMAPWINDOWGCFONTGLYPHSETPICTURECOLORMAP ENTRYPASSIVE GRABCURSOR_NET_CLIENT_LIST_NET_WM_PID_NET_WM_NAMEUTF8_STRING$.&6FVfv&6FVfv& ( ()) F oyo oHH 0 `o`ot- ,,,,,-- -0-8-L-X-h- 0 8 H   0 ( ( 8(|(t-$./// d3 4/;8/NT@/ _k/v/8(@ `# # 0 0 v/k`/<(p /2F`/j`3q`|0@ /@ t-).?FLd/4gr z7 ( ( "d3 8("> "",""m >$XResQueryClientsv"""C$XResQueryVersion"""$XResQueryExtension"""E $XGetWMName""," $XQueryTreeB"",""""@ $XGetWindowProperty"",","D"D"","""""B$XFree"$XFetchName"","'!"'" XErrorHandler$XSetErrorHandler=" _XDisplay=$XCreateSimpleWindow"I"""" " " ""$XInternAtoms""'"""7$XOpenDisplay'"$__posix_ttyname_r*""?" $__posix_getlogin_rU"?"$sleep n" Dn$__posix_ctime_r?"s"?Q$__posix_asctime_r?""?7$strdup?"77$strcmp+""$memsetO""" (O)qsort"" " "V$malloc" )free")exit"7$atoi"7$snprintf"?" "'7$printf9"'79*fprintf"">'  /var/tmp/xrestop-0.4/usr/local/include/X11/usr/include/sys/usr/local/include/X11/extensions/usr/include/usr/include/isoxrestop.cXlib.hX.htypes.hXutil.hXRes.hcurses.hstdio_iso.htime_iso.hwchar_iso.hstdio_impl.h@FR Y `cm      # ,B H PY`       &. 4 ? G P p         - 06I _ d          ' 06=V d i        {) / @FM q        .K U h p         0 ; X c        j1 M i       " " 09N c x}        3 Jwcy    # 5 CX k ~}   B_r      " L _qh %!"" %" @"F"O" X" t" " " """ """ " " " # J# j# y# ## # #$ $$ C$ b$ h$$ $ $ $ %8% I%Z%]m%&% % %% % & -& F& T&p& & &&&&& & && ' ' &' C' H' V' l'' ' ' ' ' 'x' '' '  DD%$> II!I4I : ;  I !I/ . : ; @ ' ID  I: ;  < I:  :  I8 . : ; @ ' D . : ; @ ' ID .?  : ; @ ' ID  I !I/ I.?  : ; @ ' D .?  : ;@ ' ID I: ; 4I : ; .?  : ;@ ' D . : ;@ ' ID  D D &I .?  6 : ;@ ' ID !' ID "I#.? < ' ID $.? < ' ID % : & I8 '(' ID ).? < ' D *.? < ' ID #b/window_get_pidwindow_get_utf8_nameTnice_bytesusagexrestop_client_newrxrestop_client_free xrestop_client_get_info xrestop_client_get_stats xrestop_populate_client_data xrestop_displayWxrestop_sort_comparexrestop_sortmainnberror_handlertrap_errors untrap_errorscheck_win_for_info recurse_win_treeFbDisplay=XIDXXErrorEventpid_tWindowAtom/XResTopClientXResTopAppjXResTopAppZXResTopClientE XTextProperty XResTypem XResClientboolWINDOW_ochtypechtype_win_st:size_tQtmpwint_t__FILEXErrorHandlerWb[AtomNamesAtomNamestrapped_error_codeGold_error_handler.interp.SUNW_cap.hash.dynsym.dynstr.SUNW_version.rel.data.rel.bss.rel.plt.text.init.fini.rodata.rodata1.got.dynamic.bssf.symtab.strtab.annotate.comment.debug_info.debug_line.debug_abbrev.debug_pubnames.debug_funcnames.debug_typenames.debug_varnames.shstrtab o !"F)o  `7 B0 0 A B8 8 J BH H H NS00Y((_((e8(8(Dm|(|(vt-t-{$.$.;////E///p9 8o<|4=9Cb` km'nrIoJp[ p0707010009acac000041ed000000000000000000000003511c5eb800000000000000b500010002ffffffffffffffff0000001300000000root/usr/local/man0707010009acad000041ed000000000000000000000002511c5eb800000000000000b500010002ffffffffffffffff0000001800000000root/usr/local/man/man10707010009acae000081a4000000000000000000000001511c5eb600000513000000b500010002ffffffffffffffff0000002200000000root/usr/local/man/man1/xrestop.1.TH "xrestop" 1 .SH NAME xrestop \- monitor server resources used by X11 clients .SH SYNOPSIS .B xrestop \-help .br .B xrestop [ \fB\-display\fP display ] [ \fB\-\-batch\fP ] [ \fB\-\-delay\-time\fP seconds ] .SH DESCRIPTION Xrestop uses the X\-Resource extension to provide 'top'\-like statistics of each connected X11 client's server\-side resource usage. It is intended as a developer tool to aid more efficient server resource usage and debug server\-side resource leakage. .SH OPTIONS .TP \fB\-\-help\fP Show usage. .TP \fB\-\-display, \-d\fP Specify X11 display to monitor. .TP \fB\-\-delay-time, \-dt\fP Time in seconds between taking samples. Default is 2 seconds. .TP \fB\-\-batch, \-b\fP Run in batch mode. Slightly more detailed infomation is streamed to stdout rather than the usual curses interface. This mode is intended for debugging a single client with something like .br xrestop \-b | grep \-A 14 appname .TP \fB\-\-max\-samples, \-m\fP Specify number of times to gather and display results. Default is continuous, which can be set with 0 (zero). .br .SH "SEE ALSO" .BR X (7), .BR top (1) . .SH BUGS The X\-Resource extension is very new and may not be 100% accurate. .SH AUTHOR .B xrestop was written by Matthew Allum . 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!