# PaCkAgE DaTaStReAm xrestop 1 112 # end of header 0707010002d4f1000081a4000000000000000000000001511c5ec6000001250000010000010031ffffffffffffffff0000001000000000xrestop/pkginfoPKG=xrestop NAME=xrestop 0.4 SPARC 64bit 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=sparc CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010002d4f0000081a4000000000000000000000001511c5ec7000001880000010000010031ffffffffffffffff0000000f00000000xrestop/pkgmap: 1 112 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 42744 31354 1360813761 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 1360813760 1 i checkinstall 785 2565 1360813765 1 i pkginfo 293 23740 1360813766 07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!0707010002d4f1000081a4000000000000000000000001511c5ec6000001250000010000010031ffffffffffffffff0000000800000000pkginfoPKG=xrestop NAME=xrestop 0.4 SPARC 64bit 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=sparc CATEGORY=utility CLASSES=none BASEDIR=/ ISTATES=S s 1 2 3 RSTATES=S s 1 2 3 0707010002d4f0000081a4000000000000000000000001511c5ec7000001880000010000010031ffffffffffffffff0000000700000000pkgmap: 1 112 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 42744 31354 1360813761 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 1360813760 1 i checkinstall 785 2565 1360813765 1 i pkginfo 293 23740 1360813766 0707010002d4fa000041ed000000000000000000000002511c5ec7000000000000010000010031ffffffffffffffff0000000800000000install0707010002d4fb000081ed000000000000000000000001511c5ec5000003110000010000010031ffffffffffffffff0000001500000000install/checkinstall#!/bin/sh # expected_bits="64" expected_release="5.10" expected_platform="sparc" # 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 0707010002d4f2000041ed000000000000000000000003511c5ec7000000000000010000010031ffffffffffffffff0000000500000000root0707010002d4f3000041ed000000000000000000000003511c5ec7000000000000010000010031ffffffffffffffff0000000900000000root/usr0707010002d4f4000041ed000000000000000000000004511c5ec7000000000000010000010031ffffffffffffffff0000000f00000000root/usr/local0707010002d4f7000041ed000000000000000000000003511c5ec7000000000000010000010031ffffffffffffffff0000001300000000root/usr/local/man0707010002d4f8000041ed000000000000000000000002511c5ec7000000000000010000010031ffffffffffffffff0000001800000000root/usr/local/man/man10707010002d4f9000081a4000000000000000000000001511c5ec0000005130000010000010031ffffffffffffffff0000002200000000root/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 . 0707010002d4f5000041ed000000000000000000000002511c5ec7000000000000010000010031ffffffffffffffff0000001300000000root/usr/local/bin0707010002d4f6000081ed000000000000000000000001511c5ec10000a6f80000010000010031ffffffffffffffff0000001b00000000root/usr/local/bin/xrestopELF+@@8@ @@XX>>>> FF/usr/lib/sparcv9/ld.so.1OM  !"$%)*+-/135679;=@ABCDFGK #&'(,.0248:<>?EHIJLCIE *E1E`ELDRBeBpF wD~ID`I !CC`CEAA >"F@)E/C@: "XSB`[ 9Pa"F`AyAIA 9p 1PD X 'x 0\ 9` 0Hx )#F- <B@E LIUIxB ~ \BECC E@I F I0M!I >% 0D ;EHDUIHyIPhCDBBTD@ h@strdup__environ_lockXResQueryExtensioncbreakXCreateSimpleWindowstdscrqsortXGetWindowPropertyXGetWMNamewgetchstrcmp__xargvwrefresh_edataxrestop_client_get_infomvprintwXResQueryClientResourcesXResQueryClientPixmapBytesinitscr32XSetErrorHandler_exit_GLOBAL_OFFSET_TABLE_endwinsleepXQueryTreexrestop_client_get_statsfprintf_init_get_exit_frame_monitoratexit_end_PROCEDURE_LINKAGE_TABLE__lib_versionmainw32attronxrestop_client_newxrestop_populate_client_dataxrestop_sort_finixrestop_sort_comparexrestop_displayhalfdelaywindow_get_pidsnprintf_start_environ$XAoAMiK$6FHREEE.old_error_handlerXFreeusagexrestop_client_free__iobnoechoXResQueryClientsXFetchNameXResQueryVersion__xargcwindow_get_utf8_name_DYNAMIC__1cG__CrunMdo_exit_code6F_v____Argv_etextnice_bytesw32attroffXInternAtomsXOpenDisplay$XAoAMiK$6FHREEE.trapped_error_code$XAoAMiK$6FHREEE.AtomNameswclearatoimallocmemset__fsr_init_valuelibcurses.so.1SUNW_1.1SUNWprivate_1.1libc.so.1SUNW_0.7libX11.so.6libXRes.so.1libXext.so.0/usr/local/lib:/lib/64:/usr/lib/64:/lib:/usr/lib0 =' Nq =' =( NqI@< ?@4AAAABB 1B@-B`BHBIB3B CC 7C@C`CC6CFCD$D AD@KD` DD DGDCEBE E@8E`EEE5EF+F F@F` [`+p @ "aȢ`+p @ ra`+p @ ra0, @`+p ' \ t+``+p ) -`-!( `?-!( =--%!( !(#0@ z`+p  @ s!``*p  Z!8 `*p  Z!@@ _@Q@M@ _@ e0A@ bwww_ a ]$` 'G< @A@ b4w a ]$``]@ :a]t @A@ aĮwa]\ @ "a ]D 'G< wwwǠ?'_\`_\`x ߰ϴנǐ@  sssss@ s׀ H _πh _ǀh_\ '_ǀh_@ G'G< www_\`_\`\`߰۲ǴϠ@$ sssss@ s'G H_h _h_@ Hw__\ h Gۀ H_ǀ h_@ Hw_w_ A@c$ww'w B/_w_40 h K/_40 w_G`]_O@@@ z@A@btwwa]!`]_@@ g@ 5 0ww X@ ^w_  X@ _?_$`_w_@w_\ h_\ @ %_@ Jwww_\`\`< w__\ < @_h>__@ w__t`_h _\ _@@ H _@ "_t _@H _\ __ @@ H _! @D` $` H '_\ h H' 'G< wwww___@H_HQwJ_\ _Ϩנː@@ݚ'VH _! @D` $`H3wGHH-wߠ 'Ǡ 4 ˀH___Gǡ,0\@w_ hH GǠ 'Gǡ4 ˀ O_׀h_@W_w_߰0A@awwww_\`\`< _\ h ` ]@i_t H__\`@rw_瀤h __@_$ H `(]@K_t  ww 'w_\ _\ ۠ߐ@@E_\ _\`` @DH _! @D` $`H# 'GۀH_G,0\@'G_\ (h_ 0E 4 _G,0@ % HG_\ 0h_ 4E 4 _G,0@ % HG_\ 8h_ 8E 4 _G,0@ % HG_\ @h_ DE 4 _G,0@ % HlG_\ Hh_ @E 4 _G,0@ % HYG_\ Ph_ sss_s_ws@KsHC`]G_-p\ \`\`\`D`4D`8D`DD`0D`<'gD`@'WD`H'GD`L'7D`P'D`T''\` w\`(w__@w@@ssssGgsGWsGGsG7sGsG's_s_s_@ sG 'G_! D@O6_! D@Ha]\ @ ww_\ w_\ w_\` \`(_\` \`(h?H' 'G< @A@bww_`! D@< a]@ @זA@aw'ww @Aw_ϐ @A _%$@ ' GH`]_G,0\@@H`]_G,0\@@HG 'GGH_\ _G,0\@_t`H`]_G,0\@@}H`]_G,0\@@pH  _%$@H`]_G,0\@@\H`]_G,0\@@OH%G 'GGH_\ 8_G,0\@@B_! $@_! D@ H_\ #Ha`]_G,0\@@H`]_G,0\@@H%G 'GGH_\ _G,0\@@_! $@_! D@ H_\ H$`]_G,0\@@H`]_G,0\@@ՒH_\ Ɛ_\ G 'GGO_\ @ΐw__t`_ǀha]!`]_\ @@@ _\`D $`_\`\ D`,0\ t`_\`a(]`(  @_\ ߐ@@Ha]!`]_\ @@ H'_\ ۠א@@Ha]!`]_\ @@̔ H'_! $@_\`\`     ss@ws_t _! D@H@t@z@_! D@'__;_f_! D@H G$ 'G瀤 HH=_! D@H _! D@4 @\H+_! D@,`,`'Gˀ HGˀ H@P HG@Ka]\ @M qHH Gˠ$ 'Gˀ OO@E@ G< PP%li%c%s usage: -display, -d specify X Display to monitor. --delay-time, -t 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_STRINGFP99::9t999::;;0;p;;;<=P=`=h=p=x=======> 0HIIHIP0o0o0o0o0o 0o@0o`0o0o0o0o0o0o 0o@0ow`0oo0og0o_0oW0oO0oG 0o?@0o7`0o/0o'0o0o0o0o 0o@0o`0o0o0o0o0o0o 0o@0o`0o 9P 9`  x ( Q oFoo o``+AF`>P>X>`>h>p>>>>>>>>Xx (  9P 9` 9p 9>AFIIII I84I@GI(Ua 9ppzIIHIa 9t PT X 0X 9 9 x P : :  9t 9 9 9$ : * :0 ;06 ;0@< ;pPB ;H ;N ;0T <PZ =P` =`f =hl =pr =xx =~ = = = = =  =H > /CIE EE`DB!B,F 3D:IBD`KIR !jCsC`CEAA>F@EC@ "XB` 9P"F`A5A<IAA[ 9ph 1PmDw X 'x 0\ 9` 0Hx )F B@ IIB  \,B17E>COC ZE@kIs F I0 !I > D EDIHIPh-C4D9B@BGD@ h@xrestopcrti.scrt1.s__get_exit_frame_monitor_ptr__do_exit_code_ptr__crt_scratchvalues-Xa.cDrodata.rodataxrestop.cBbss.bssDdata.dataDpicdata.picdata$XAoAMiK$6FHREEE.old_error_handleruntrap_errors.L154.L165check_win_for_inforecurse_win_tree.L349.L368.L598.L600.L602.L604.L633.L637.L639.L641.L644.L666.L671.L681.L688.L760.L762.L782.L784.L797.L799.L826.L828.L855.L857.L878.L893.L905crtn.s_END__START_strdup__environ_lockXResQueryExtensioncbreakXCreateSimpleWindowstdscrqsortXGetWindowPropertyXGetWMNamewgetchstrcmp__xargvwrefresh_edataxrestop_client_get_infomvprintwXResQueryClientResourcesXResQueryClientPixmapBytesinitscr32XSetErrorHandler_exit_GLOBAL_OFFSET_TABLE_endwinsleepXQueryTreexrestop_client_get_statsfprintf_init_get_exit_frame_monitoratexit_end_PROCEDURE_LINKAGE_TABLE__lib_versionmainw32attronxrestop_client_newxrestop_populate_client_dataxrestop_sort_finixrestop_sort_comparexrestop_displayhalfdelaywindow_get_pidsnprintf_start_environXFreeusagexrestop_client_free__iobnoechoXResQueryClientsXFetchNameXResQueryVersion__xargcwindow_get_utf8_name_DYNAMIC__1cG__CrunMdo_exit_code6F_v____Argv_etextnice_bytesw32attroffXInternAtomsXOpenDisplay$XAoAMiK$6FHREEE.trapped_error_code$XAoAMiK$6FHREEE.AtomNameswclearatoimallocmemset__fsr_init_valueanotate anotate ( ,9` I8I@"9`#9`$9`anotateX P P10H P1 0H@(#)stdio.h 1.85 11/01/07 SMI@(#)feature_tests.h 1.26 11/04/12 SMI@(#)ccompile.h 1.2 04/11/08 SMI@(#)isa_defs.h 1.30 11/03/31 SMI@(#)stdio_iso.h 1.8 05/08/16 SMI@(#)va_list.h 1.15 04/11/19 SMI@(#)stdio_tag.h 1.4 04/09/28 SMI@(#)stdio_impl.h 1.15 07/03/05 SMI@(#)stdio_c99.h 1.2 04/03/29 SMI@(#)stdlib.h 1.51 04/06/30 SMI@(#)stdlib_iso.h 1.9 04/09/28 SMI@(#)stdlib_c99.h 1.2 04/03/29 SMI@(#)string.h 1.27 07/01/14 SMI@(#)string_iso.h 1.5 04/06/18 SMI@(#)unistd.h 1.76 06/03/10 SMI@(#)types.h 1.87 10/10/07 SMI@(#)machtypes.h 1.13 99/05/04 SMI@(#)int_types.h 1.10 04/09/28 SMI@(#)select.h 1.19 04/01/28 SMI@(#)time_impl.h 1.11 05/05/19 SMI@(#)time.h 2.77 09/06/02 SMI@(#)time.h 1.45 08/01/09 SMI@(#)time_iso.h 1.4 04/09/07 SMI@(#)unistd.h 1.45 11/01/12 SMI@(#)stddef.h 1.18 04/09/28 SMI@(#)stddef_iso.h 1.2 03/03/06 SMI@(#)curses.h 1.32 04/04/29 SMI@(#)widec.h 1.24 04/03/29 SMI@(#)euc.h 1.8 96/06/26 SMI@(#)euc.h 1.11 93/02/01 SMI@(#)wchar.h 1.37 03/12/04 SMI@(#)wchar_iso.h 1.8 04/09/28 SMI@(#)wchar_impl.h 1.3 99/07/26 SMI@(#)ctype.h 1.35 04/09/28 SMI@(#)ctype_iso.h 1.3 04/09/28 SMI@(#)ctype_c99.h 1.2 04/09/28 SMI@(#)wchar_c99.h 1.3 04/03/29 SMI@(#)termio.h 1.8 93/02/04 SMI@(#)termio.h 1.11 96/02/07 SMI@(#)termios.h 1.42 07/01/14 SMI@(#)ttydev.h 1.7 92/07/14 SMI@(#)unctrl.h 1.8 03/05/02 SMIacomp: Sun C 5.11 SunOS_sparc 145354-01 2010/10/11ld: Software Generation Utilities - Solaris Link Editors: 5.10-1.1507- xrestop.c /var/tmp/xrestop-0.4 /opt/solstudio12.2/prod/bin/cc -xtarget=ultra -m64 -xcode=pic32 -DHAVE_CONFIG_H -I. -I. -I. -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/usr/local/include -g -c xrestop.c -W0,-xp\$XAoAMiK\$6FHREEE.Xa;g;P;R=Sun C 5.11 SunOS_sparc 145354-01 2010/10/11;G=$XAoAMiK$6FHREEE.;backend;raw;cd;DBG_GEN 5.3.0charmlongu~AtomNamesP IPuh~ AtomNamesP IPinttrapped_error_code IH error_handlerP displayx errorp D _XDisplay Displayunsigned long XIDunsigned char(type#display#resourceid#serial#error_code# request_code#!minor_code#" XErrorEventtrap_errors D untrap_errors0t Dwindow_get_pidp 'appx winptype#`bytes_afterXn_itemsPdata0HresultDformat@ D pid_t Window Atom#hO~ XResTopClientXresource_base#resource_mask#pid#identifieru#pixmap_bytes# other_bytes#(n_pixmaps#0n_windows#4n_gcs#8n_pictures#<n_glyphsets#@n_fonts#Dn_colormaps#Hn_passive_grabs#Ln_cursors#Pn_other#TO ~XResTopApp dpy#dpy_nameu#screen#win_root#win_dummy# atoms2#(clients#n_clients#Awant_batch_mode#Amax_samples#Adelay#An_xerrors#AXResTopApp~window_get_utf8_nameu ' 'appx winptype#`format\bytes_afterPn_itemsHstru@result D nice_bytes` utargetx target_sizet byteshprefixmgvalueX D$usage uprognamex Dxrestop_client_new@  x'app xclient h DOXResTopClient xxrestop_client_freeh  clientx Dcheck_win_for_info"$ 'app!x client!pwin!htext_prop #@match_xid$ D  value #encoding##format#nitems# XTextPropertyrecurse_win_treePP  'appOx clientOpwin_topOhchildren QXdummyQPnchildren $RLiSHwT@qtresU Dunsignedxrestop_client_get_infou!! 'apptx clienttpfoundvh D xrestop_client_get_stats"'X'appx clientpjltypes`n_types\"%"%"%this_typeX D resource_type##count $# XResTypexrestop_populate_client_data'x)l'appxitclientsh Dresource_base#resource_mask# XResClientxrestop_display)0(D'appxitpretty_pixmap_bytesDdpretty_other_bytesaTpretty_total_bytes~Dpretty_pid*<,*X,*X,total_pixmap_bytestotal_other_bytes C4$$$ Dma~m~~m~m~xrestop_sort_comparex0H0EVawxhbwpc1 y`c2 zX D voidEME_xrestop_sort01,'appx Dmain1P9<argc|argvpiheventderror`major\minorXapp'P79,79$79$8@9$89$89$delayL D u F!! old_error_handlerF I"noecho#halfdelay!short mbool$_win_stx_cury#_curx#_maxy#_maxx#_begy#_begx# _flagsm# _yoffset#_clear#_leave#_immed#_sync#_padwin#_y16# _firstch#(_lastch#0_tmarg#8_bmarg#:%_scroll $#<%_use_idl $#<%_use_keypad $#<%_notimeout $#<%_use_idc $#<_attrs#@_bkgd#D_delay#H_ndescs#L_parx#N_pary#P_parent#X_y#`_nbyte#h_index#j_waitc #l_insmode#p WINDOWunsigned short _ochtype $chtypem*~#wclearY!*#mvprintw!!&"endwin#wrefresh!*#w32attron!*! $#w32attroff,!*! $"cbreak#wgetchf!*"initscr32 size_t$tm$ jtm_sec#tm_min#tm_hour#tm_mday# tm_mon#tm_year#tm_wday#tm_yday#tm_isdst# j#__wcsftime_xpg5!}!!!swchar_t#__wcstok_xpg54!!! wint_t #__putwchar_xpg54t!4~~$__FILE __padt##__putwc_xpg54!4!"__getwchar_xpg54#__getwc_xpg54=!#__ungetwc_xpg54t!4!t#__fputws_xpg5!}!#__fputwc_xpg54!4!#__fgetws_xpg5C!!!#__fgetwc_xpg54p!#XResQueryClientPixmapBytes!p!!y#XResQueryClientResources II!I4I : ;  I !I/ . : ; @ ' ID  I: ;  D D < I:  :  I8 . : ; @ ' D .?  : ; @ ' ID  I !I/ I.?  : ; @ ' D .?  : ;@ ' ID I: ; 4I : ; .?  : ;@ ' D . : ;@ ' ID  &I.?  6 : ;@ ' ID  ' ID !I".? < ' ID #.? < ' ID $ : % I8 &'' ID (.? < ' D c-window_get_pid9window_get_utf8_name 'nice_bytes usage xrestop_client_new xrestop_client_free 0xrestop_client_get_info xrestop_client_get_statsxrestop_populate_client_dataxrestop_displayxrestop_sort_compareqxrestop_sortmain-.error_handlertrap_errorsuntrap_errors check_win_for_info recurse_win_tree-DisplayXIDXErrorEventpid_tWindow#AtomOXResTopClientXResTopAppXResTopApp xXResTopClient XTextPropertyXResTypeXResClientboolWINDOW_ochtypechtype_win_stsize_ttm4wint_t__FILE XErrorHandler#Yoff64_t#ssize_t$off_t)FILEs-AtomNamesAtomNamestrapped_error_codeOold_error_handler.interp.hash.dynsym.dynstr.SUNW_version.SUNW_versym.SUNW_reloc.rela.plt.text.init.fini.rodata.rodata1.got.dynamic.data.picdata.bss.symtab.strtab.annotate.comment.debug_info.debug_line.debug_abbrev.debug_pubnames.debug_funcnames.debug_typenames.debug_varnames.shstrtabXX xxx 8" ( (Qop-o:HFBP" V9P9P\9`9`b9p9pDj99@s>>0KAA xFFIIIIIIIS XXo]`_Xe -%h=oFK  *07070100000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000b00000000TRAILER!!!