Hacked By AnonymousFox

Current Path : /proc/thread-self/root/usr/lib64/python2.7/Demo/scripts/
Upload File :
Current File : //proc/thread-self/root/usr/lib64/python2.7/Demo/scripts/lpwatch.pyo

�
Afc@stddlZddlZddlZdZdZd�Zd�Zedkrpye�Wqpek
rlqpXndS(i����Ntpsci
cCst}ytjd}Wntjd}nXtjd}|r�xlt|�D]-\}}|d dkrN|d||<qNqNWn.tjjd�r�tjdg}n	tg}tjdd�j	�}xJt
r|}x%|D]}|t||�d	7}q�W|GHtj
|�q�WdS(
NtLOGNAMEtUSERiis-PtPRINTERtcleartrs
(t	DEF_DELAYtostenvirontsystargvt	enumeratethas_keytDEF_PRINTERtpopentreadtTruet
makestatusttimetsleep(tdelaytthisusertprinterstitnamet	clearhomettext((s,/usr/lib64/python2.7/Demo/scripts/lpwatch.pytmain
s(
		
cCs�tjd|dd�}g}i}d}d}t}d}d}	xl|D]d}
|
j�}t|�}t|�dkrK||ddkrK|dd!\}
}}|dd	!}t||d
�}||kr�t}n|s�||7}|d7}n||7}|	d7}	|j|d�\}}|d7}||7}||f||<qK|rK|ddkrK|
j�}
|
dkr�|d
}
n|
ddkr�|}
n|j	|
�qKqKW|	r�d|dd}
|	t|�kr�|
d|	7}
nt|�dkr|
d|j
�df7}
nV|
dt|�7}
|rt|dkrU|
d|7}
qt|
d|dd|f7}
n|j	|
�n|j�}|r�|j	d|f�ndj|�S(Nslpq -Ps 2>&1Riiitbytesii����itRanks
no entriess: idlei��s is ready and printings%d Ki�is
 (%d jobs)s for %ss
 for %d userss (%s first)s (%d K before %s)slpq exit status %rs: (ii(
RRtFalsetsplittlentintRtgettstriptappendtkeystclosetjoin(RRtpipetlinestuserst
aheadbytest	aheadjobstuserseent
totalbytest	totaljobstlinetfieldstntranktusertjobtfilesRtujobstubyteststs((s,/usr/lib64/python2.7/Demo/scripts/lpwatch.pyR)sd
&
	






	t__main__(	RR	RR
RRRt__name__tKeyboardInterrupt(((s,/usr/lib64/python2.7/Demo/scripts/lpwatch.pyt<module>s		9


Hacked By AnonymousFox1.0, Coded By AnonymousFox