# PaCkAgE DaTaStReAm xrestop 1 90 # end of header 070701000298cd000081a4000000000000000000000001511c5e110000011e000000b600010002ffffffffffffffff0000001000000000xrestop/pkginfoPKG=xrestop NAME=xrestop 0.4 i86pc Solaris 11 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 070701000298cc000081a4000000000000000000000001511c5e1200000187000000b600010002ffffffffffffffff0000000f00000000xrestop/pkgmap: 1 90 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 31308 52152 1360813576 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 1360813576 1 i checkinstall 790 2505 1360813758 1 i pkginfo 286 23062 1360813585 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!070701000298cd000081a4000000000000000000000001511c5e110000011e000000b600010002ffffffffffffffff0000000800000000pkginfoPKG=xrestop NAME=xrestop 0.4 i86pc Solaris 11 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 070701000298cc000081a4000000000000000000000001511c5e1200000187000000b600010002ffffffffffffffff0000000700000000pkgmap: 1 90 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 31308 52152 1360813576 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 1360813576 1 i checkinstall 790 2505 1360813758 1 i pkginfo 286 23062 1360813585 070701000298d6000041ed000000000000000000000002511c5e1200000000000000b600010002ffffffffffffffff0000000800000000install070701000298d7000081ed000000000000000000000001511c5ebe00000316000000b600010002ffffffffffffffff0000001500000000install/checkinstall#!/bin/sh # expected_bits="64" expected_release="5.11" 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 070701000298ce000041ed000000000000000000000003511c5e1200000000000000b600010002ffffffffffffffff0000000500000000root070701000298cf000041ed000000000000000000000003511c5e1200000000000000b600010002ffffffffffffffff0000000900000000root/usr070701000298d0000041ed000000000000000000000004511c5e1200000000000000b600010002ffffffffffffffff0000000f00000000root/usr/local070701000298d1000041ed000000000000000000000002511c5e1200000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/bin070701000298d2000081ed000000000000000000000001511c5e0800007a4c000000b600010002ffffffffffffffff0000001b00000000root/usr/local/bin/xrestopELF4t4 (%$44o222222p/usr/lib/ld.so.1OO  !"%&*+-/124678:;<>ABDEFGHM #$'(),.0359=?@CIJKLN $0O _# ]0# k ~  84\<8  44;|DL_<xL|L2|,7 ,l":4\ 8, ,,9`'> >\4PZ,`0') mN PA &L 5 ! `  44 ' 5l!\2,CN c42 P4244!R 44 l`{ <$5</ xrestopcrti.scrt1.ocrt1.sfsr.svalues-Xa.cxrestop.c.XAKk4GzI4FHREpQ.old_error_handleruntrap_errorscheck_win_for_inforecurse_win_treecrtn.sstrdup__environ_lockXResQueryExtensioncbreakXCreateSimpleWindowstdscrXGetWMNameqsortwgetchXGetWindowPropertystrcmpwrefreshxrestop_client_get_info_edatamvprintwXResQueryClientPixmapBytesXResQueryClientResourcesinitscr32XSetErrorHandler_exit_GLOBAL_OFFSET_TABLE_endwinsleepXQueryTreexrestop_client_get_statsfprintf_init_get_exit_frame_monitoratexit_end_PROCEDURE_LINKAGE_TABLE__lib_versionmain__longdouble_usedw32attron_finixrestop_sortxrestop_populate_client_dataxrestop_client_newxrestop_sort_compare__iobxrestop_displaywindow_get_pidhalfdelay_startsnprintf_environXFreeusagexrestop_client_freenoechoXResQueryClientsXResQueryVersionXFetchNamewindow_get_utf8_name.XAKk4GzI4FHREpQ.trapped_error_code_DYNAMIC__1cG__CrunMdo_exit_code6F_v____Argv_etextnice_bytes.XAKk4GzI4FHREpQ.AtomNamesw32attroffXInternAtomsXOpenDisplaywclear__fsr__fpstartatoi__fsr_init_valuemallocmemsetlibcurses.so.1SUNW_1.1SUNWprivate_1.1libc.so.1SYSVABI_1.3libX11.so.6libXRes.so.1libXext.so.0/usr/local/lib:/lib:/usr/libC0'= RqN [k'= R7uqN [/=U ;HOA7[ '6:851)40#JNL2IP,C.X4=855 2H$2(2,20242 822<20@2D2KH2LL24P2T2X29\2`2d2h27l2Fp2t2%x2C|2N2 22 2I2E2D2282222622.2 2252%2% 2h%$2h%(2h%,2h%02h %42h(%82h0%<2h8p%@2h@`%D2hHP%H2hP@%L2hX0%P2h` %T2hh%X2hp%\2hx%`2h%d2h%h2h%l2h%p2h%t2h%x2h%|2hp%2h`%2hP%2h@%2h0%2h %2h%2h%2h%2h%2h%2h%2h%2h %2h(%2h0%2h8p%2h@`jjR2twh,mT4tX4t POE44u T44RU P4RPXPjURQt`|$у`4 D$td$у`tƒ 3fd$f T$tfd$f L$l$YZ]ÐUE @4EEÐU4jhc4ÐUj4P94EEÐUEEMUjjEPEPEPEPEPjjjjB EEtE@EE;ErȋEtjEPEEEÐUEU E @ЋJ#ȋUE @ЋR#;ujh.ЋE P UE@ PE PEP EEtEPEPЋE Pjh .ЋE P ÐU]EETMU jjEPEPBPAPqMU E PBPAPd @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_STRING2BRbr"2BRbr"2BRbrCk , ,h  x ````<`o#o,oH``o``>21111111111112xh ,<   ,  ,,,-22444444 !"#$ 8 T4;X4NT`4 _k44v4, # 0#   v4k4,44 84.A\H<\8cnt{ 4|L<L|L218|>,I7 bj,lp"4\8, ,`'> \4,0') N PA &L 55: ! J` Yc js44| ' 45l\, 4 2 0P482t44!?R J44ep }l`{ </ cxrestopcrti.scrt1.ocrt1.s__get_exit_frame_monitor_ptr__do_exit_code_ptrfsr.strap_tablevalues-Xa.cDdata.dataBbss.bssDrodata.rodataxrestop.c.XAKk4GzI4FHREpQ.old_error_handleruntrap_errorscheck_win_for_inforecurse_win_treeTtbss.bssTtdata.datacrtn.s_END__START_strdup__environ_lockXResQueryExtensioncbreakXCreateSimpleWindowstdscrXGetWMNameqsortwgetchXGetWindowPropertystrcmpwrefreshxrestop_client_get_info_edatamvprintwXResQueryClientPixmapBytesXResQueryClientResourcesinitscr32XSetErrorHandler_exit_GLOBAL_OFFSET_TABLE_endwinsleepXQueryTreexrestop_client_get_statsfprintf_init_get_exit_frame_monitoratexit_end_PROCEDURE_LINKAGE_TABLE__lib_versionmain__longdouble_usedw32attron_finixrestop_sortxrestop_populate_client_dataxrestop_client_newxrestop_sort_compare__iobxrestop_displaywindow_get_pidhalfdelay_startsnprintf_environXFreeusagexrestop_client_freenoechoXResQueryClientsXResQueryVersionXFetchNamewindow_get_utf8_name.XAKk4GzI4FHREpQ.trapped_error_code_DYNAMIC__1cG__CrunMdo_exit_code6F_v____Argv_etextnice_bytes.XAKk4GzI4FHREpQ.AtomNamesw32attroffXInternAtomsXOpenDisplaywclear__fsr__fpstartatoi__fsr_init_valuemallocmemsetanotate anotate0 ,(2,iT4X4anotate >'&%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMI%Z%%M% %I% %E% SMIacomp: Sun C 5.11 SunOS_i386 2010/08/13as: Sun Compiler Common 12.2 SunOS_i386 2010/08/13ld: Software Generation Utilities - Solaris Link Editors: 5.11-1.1726Pxrestop.c /var/tmp/xrestop-0.4 /opt/SUNWspro/prod/bin/cc -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -c xrestop.c -W0,-xp.XAKk4GzI4FHREpQ.Xa;g;R=Sun C 5.11 SunOS_i386 2010/08/13;G=.XAKk4GzI4FHREpQ.;backend;raw;cd;DBG_GEN 5.3.0char(long0L5AtomNames=P404u5 AtomNamesdP4inttrapped_error_code4 error_handlerU display error _XDisplay Display unsigned long XIDunsigned char type#display#resourceid.#serial# error_code8#request_code8#minor_code8# IXErrorEventtrap_errors#Uuntrap_errors0SUwindow_get_pid`U kapp win typebytes_aftern_itemsdatapresultformat 5pid_t Window Atom4 5 XResTopClient@`resource_base.#resource_mask.#pid#identifier0# pixmap_bytes#other_bytes#n_pixmaps#n_windows#n_gcs# n_pictures#$n_glyphsets#(n_fonts#,n_colormaps#0n_passive_grabs#4n_cursors#8n_other#< `x5XResTopApp\[dpy#dpy_name0#screen#win_root# win_dummy#atoms#clientse#Hn_clients# want_batch_mode# max_samples# delay# n_xerrors# xXResTopApp[5window_get_utf8_nameU0E kapp win typeformatbytes_aftern_itemsstr0resultnice_bytesU 0target target_size bytesprefix(valueusage GU 0prognamexrestop_client_newPU^Kkapp client^ XResTopClientKxrestop_client_freeU^clientcheck_win_for_info"U1 kapp!^client! win!text_prop{ #match_xid.$8 { value1 #encoding#format#nitems# 6 XTextPropertyrecurse_win_treePU.q kappO^clientO win_topOchildrenq QdummyQnchildrenv RiSw.TqtresUunsignedxrestop_client_get_infouU kappt^clientt foundvxrestop_client_get_statsU kapp^client jtypes n_types##this_type  resource_type#countv # XResType xrestop_populate_client_data!U^ kappiclients   resource_base.#resource_mask.# ^ XResClient xrestop_display !&Ukappipretty_pixmap_bytespretty_other_bytespretty_total_bytes&pretty_pid7!6#!6#!6#total_pixmap_bytestotal_other_bytesB"C(5(&5(75(H5xrestop_sort_comparex&,'Uawbw c1^yc2^zvoidxrestop_sort0'Y'Ukapp main`',Uargcargv ieventerrormajorminorappk+,+,+,+, ,, ,,delay0!3""old_error_handler34#noecho$halfdelay"short (bool%_win_stT_cury#_curx#_maxy#_maxx#_begy#_begx# _flags(# _yoffset#_clear#_leave#_immed#_sync#_padwin#_y16#_firstch #_lastch # _tmarg#$_bmarg#&&_scrollv #(&_use_idlv #(&_use_keypadv #(&_notimeoutv #(&_use_idcv #(_attrs#,_bkgd#0_delay#4_ndescs#8_parx#:_pary#<_parent#@_y!#D_nbyte#H_index#J_waitc&#L_insmode#P WINDOWunsigned short _ochtype chtype(75$wclearV"7$mvprintwx""'#endwin$wrefresh"7$w32attron"7"$w32attroff"7"#cbreak$wgetch"7#initscr325 v size_t58%tm$ tm_sec#tm_min#tm_hour#tm_mday# tm_mon#tm_year#tm_wday#tm_yday#tm_isdst# B$__wcsftime_xpg5+"&"+"="wchar_t'"$__wcstok_xpg5"a""","1 5wint_t $__putwchar_xpg5a"a%__FILE n_cnt#_ptr1 #_base1 #_flag8# _magic8# &__orientationv # &__ionolockv #  &__seekablev #  &__extendedfdv #  &__xf_nocheckv #  &__fillerv #  $__putwc_xpg5a"a"n#__getwchar_xpg5a$__getwc_xpg5a"n$__ungetwc_xpg5a"a"n5$__fputws_xpg5-""$__fputwc_xpg5aS"a"n$__fgetws_xpg5"""""S$__fgetwc_xpg5a"n$XResQueryClientPixmapBytes""" $XResQueryClientResources0""""^ 0$XResQueryClientsh"""5$XResQueryVersion"""$XResQueryExtension"""6 $XGetWMName"""v $XQueryTree4""""""1 $XGetWindowProperty""""5"5"""""""4$XFree"$XFetchName"""!"" XErrorHandler$XSetErrorHandler/" _XDisplay/$XCreateSimpleWindow";""""v "v "v ""$XInternAtoms"""""($XOpenDisplay"$__posix_ttyname_r""0"v $__posix_getlogin_rG"0"$sleepv `"v 5`$__posix_ctime_r0"e"0B$__posix_asctime_r0""0($strdup0"(($strcmp""$memsetA"""v (A)qsortq""v "v "H$malloc"v )free")exit"($atoi"($snprintf"0"v "'($printf+" '(+*fprintf""0'  /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    ! 06F N `fm t    E U k t          #9 E PV] l |        ( D Z l         / 9 L Xl {   {    ( ,F N h      # / : X c           + D O h s  j    % < X t          :  D  W  \ u           w!!  !;!]! ! ! ! ! !!  " "}3"E" W" l"|"" ""# ## 6#O# k# # # # # #$%%&&& & &&& & '  ' '' 0'3'W' `'f'm' ' ' ' ' '  ( (  (X( e( l(( ( ( ) )@) `) ) ) )) ))] *&2* K* W*i* * * * * *+ )+ 8+E+s+++ + +++ + + + + +  ,*, 4, H, V, k, p,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 #T window_get_piduwindow_get_utf8_nameEnice_bytesusagexrestop_client_newcxrestop_client_free xrestop_client_get_info xrestop_client_get_stats xrestop_populate_client_data xrestop_displayHxrestop_sort_comparexrestop_sortmainnTerror_handlertrap_errorsuntrap_errorscheck_win_for_info recurse_win_treeFT Display.XIDIXErrorEventpid_tWindowAtom XResTopClientxXResTopApp[XResTopAppKXResTopClient6 { XTextProperty XResType^ XResClientboolWINDOW_ochtypechtype_win_st+size_tBtmawint_t__FILEXErrorHandlerWTLAtomNamesuAtomNamestrapped_error_code8old_error_handler.interp.SUNW_cap.hash.SUNW_ldynsym.dynsym.dynstr.SUNW_version.SUNW_versym.SUNW_dynsymsort.SUNW_reloc.rel.plt.text.init.fini.rodata.rodata1.got.dynamic.data.bssf.tdata.tbss.bss.symtab.strtab.annotate.comment.debug_info.debug_line.debug_abbrev.debug_pubnames.debug_funcnames.debug_typenames.debug_varnames.shstrtab oo' xx/"h h 7o,,pEoRo<<c o BH s,,x~,,,,,,D--2222p444444444444@4? =oPB|BETb Xmo' qr1qJBr[R (s\070701000298d3000041ed000000000000000000000003511c5e1200000000000000b600010002ffffffffffffffff0000001300000000root/usr/local/man070701000298d4000041ed000000000000000000000002511c5e1200000000000000b600010002ffffffffffffffff0000001800000000root/usr/local/man/man1070701000298d5000081a4000000000000000000000001511c5e0800000513000000b600010002ffffffffffffffff0000002200000000root/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!!!