/usr/lib64/python2.6/site-packages/psutil
NameSizeModeActions
error.py6110644editdlrm
error.pyc6200644editdlrm
error.pyo6200644editdlrm
_common.py59630644editdlrm
_common.pyc72880644editdlrm
_common.pyo72880644editdlrm
_compat.py96050644editdlrm
_compat.pyc99380644editdlrm
_compat.pyo99380644editdlrm
_error.py20310644editdlrm
_error.pyc30730644editdlrm
_error.pyo30730644editdlrm
_psbsd.py119490644editdlrm
_psbsd.pyc139600644editdlrm
_psbsd.pyo139600644editdlrm
_pslinux.py387900644editdlrm
_pslinux.pyc327710644editdlrm
_pslinux.pyo327270644editdlrm
_psmswindows.py161250644editdlrm
_psmswindows.pyc175780644editdlrm
_psmswindows.pyo175780644editdlrm
_psosx.py101000644editdlrm
_psosx.pyc126700644editdlrm
_psosx.pyo126700644editdlrm
_psposix.py38540644editdlrm
_psposix.pyc37830644editdlrm
_psposix.pyo37420644editdlrm
__init__.py493080644editdlrm
__init__.pyc469940644editdlrm
__init__.pyo469940644editdlrm
Edit: /usr/lib64/python2.6/site-packages/psutil/_common.pyo (7288B)
Ñò éíòRc@ s dZddklZddkZddkZddkZddkZddkZddkl Z l Z l Z dd„Z defd„ƒYZd„Zd efd „ƒYZdd „Zd „Zed dƒZeddƒZeddƒZeddƒZeddƒZeddƒZeddƒZeddƒZeddƒZedd ƒZed!d"ƒZed#d$ƒZ ddk!Z!dd%k!l"Z"l#Z#l$Z$e%e!d&dƒZ&e%e!d'dƒZ'he"e&e'ge#e$gfd(6e"e&ge#gfd)6e"ge#gfd*6e"e&ge$gfd+6e"ge$gfd,6e"e&ge#e$gfd-6e"ge#e$gfd.6e&ge#e$gfd/6Z(e&dj o7e(i)he&ge#gfd06e&ge$gfd16ƒne'dj o'e(i)he'ge#e$gfd26ƒn["[&['[#[$[!e d3d4ƒZ*e d5d6ƒZ+e d3d4ƒZ,e d7d8ƒZ-e d9d:ƒZ.e d9d;ƒZ/e d<d=ƒZ0e d>d?ƒZ1e d@dAƒZ2e dBdCƒZ3e dDdEƒZ4e dFdGƒZ5e d<dHƒZ6e dIdHƒZ7e dJdKƒZ8e dLdMƒZ9e dNdOƒZ:dS(Ps*Common objects shared by all _ps* modules.iÿÿÿÿ(tdivisionN(t namedtupletlongtwrapscC sQy||d}Wntj o d}nX|dj ot||ƒS|SdS(s5Calculate percentage usage of 'used' against 'total'.idiN(tZeroDivisionErrortNonetround(tusedttotalt_roundtret((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt usage_percents  tconstantcB s5eZdZdd„Zd„Zd„Zd„ZRS(sFA constant type; overrides base int to provide a useful name on str().cC sBtt|ƒi||ƒ}||_|dj o ||_n|S(N(tsuperR t__new__t_nameRt__doc__(tclstvaluetnametdoctinst((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyR!s    cC s|iS(N(R(tself((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt__str__(scC sdt|tƒot|ƒ|jSt|tƒot|ƒ|jSt|tƒo|i|jStS(N(t isinstancetintRtstrRtFalse(Rtother((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt__eq__+scC s|i|ƒ S(N(R(RR((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt__ne__;sN(t__name__t __module__RRRRRR(((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyR s    c sh‰‡‡fd†}|S(s)A simple memoize decorator for functions.c s)|ˆjoˆ|Œˆ|stcached_propertycB s&eZdZeZd„Zd„ZRS(s)A memoize decorator for class properties.cC s ||_dS(N(tfunc(RR'((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt__init__KscC s4|i|ƒ}|io||i|iiA decorator which can be used to mark functions as deprecated.c skdˆi‰ˆdj oˆdˆ7‰nˆidjo ˆˆ_ntˆƒ‡‡fd†ƒ}|S(Nspsutil.%s is deprecateds; use %s insteadc s&tiˆdtddƒˆ||ŽS(Ntcategoryt stackleveli(twarningstwarntDeprecationWarning(targstkwargs(tfuntmsg(s4/usr/lib64/python2.6/site-packages/psutil/_common.pytinner^s(RRRR(R6R8(t replacement(R7R6s4/usr/lib64/python2.6/site-packages/psutil/_common.pytouterWs   ((R9R:((R9s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt deprecatedUs cC sqyti|ƒ}WnGtj o;tiƒd}|ititifjo‚ntSXti |i ƒSdS(sœSame as os.path.isfile() but does not swallow EACCES / EPERM exceptions, see: http://mail.python.org/pipermail/python-dev/2012-June/120787.html iN( toststattOSErrortsystexc_infoterrnotEPERMtEACCESRtS_ISREGtst_mode(tpathtstterr((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyt isfile_strictgsitrunningitsleepingis disk sleepitstoppedis tracing stopitzombieitdeadis wake killitwakingi tidlei tlockedi twaiting(tAF_INETt SOCK_STREAMt SOCK_DGRAMtAF_INET6tAF_UNIXtallttcpttcp4tudptudp4tinettinet4tinet6ttcp6tudp6tunixtusagestotal used free percenttswaps total used free percent sin soutt partitionsdevice mountpoint fstype optstiostatsKbytes_sent bytes_recv packets_sent packets_recv errin errout dropin dropoutsBread_count write_count read_bytes write_bytes read_time write_timetusersname terminal host startedtmeminfosrss vmstcputimess user systemtopenfilespath fdt connections2fd family type local_address remote_address statustthreadsid user_time system_timesreal effective savedtgrouptios-read_count write_count read_bytes write_bytestionices ioclass valuetamountsvoluntary involuntary(;Rt __future__RR?R<R=RAR1tpsutil._compatRRRRR RR R%tobjectR&R;RItSTATUS_RUNNINGtSTATUS_SLEEPINGtSTATUS_DISK_SLEEPtSTATUS_STOPPEDtSTATUS_TRACING_STOPt STATUS_ZOMBIEt STATUS_DEADtSTATUS_WAKE_KILLt STATUS_WAKINGt STATUS_IDLEt STATUS_LOCKEDtSTATUS_WAITINGtsocketRSRTRUtgetattrRVRWt conn_tmaptupdatet nt_sysmeminfotnt_swapmeminfot nt_diskinfot nt_partitiont nt_net_iostattnt_disk_iostattnt_usert nt_meminfot nt_cputimest nt_openfilet nt_connectiont nt_threadtnt_uidstnt_gidstnt_iot nt_ionicetnt_ctxsw(((s4/usr/lib64/python2.6/site-packages/psutil/_common.pyts€