Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/landscape/lib/__pycache__/jiffies.cpython-310.pyc
o

���cU�@sddlZdd�ZdS)�NcCs�td�}td�}|j}|j}	|�}t��}|dkrt�d�|�}td|�}|��}|��t�|d�t|��d�}	t|��d�}
t	|��d�}t	||	d�}t	||
d�}
||
krcn|�
d�|�
d�q|��|��|S)a�Returns the number of jiffies per second for this machine.

    A jiffy is a value used by the kernel to report certain time-based
    events.  Jiffies occur N times per second where N varies depending
    on the hardware the kernel is running on.  This function gets the
    uptime for the current process, forks a child process and gets the
    uptime again; finally, using the running time of the child process
    compared with the uptimes to determine number of jiffies per
    second.
    z/proc/uptimeTrz
/proc/%d/stat�g�?)�open�read�os�fork�_exit�close�waitpid�float�split�int�seek)�uptime1_file�uptime2_file�read_uptime1�read_uptime2�uptime1_data�pid�uptime2_data�	stat_file�	stat_data�seconds_uptime1�seconds_uptime2�
jiffie_uptime�jiffies1�jiffies2�r�7/usr/lib/python3/dist-packages/landscape/lib/jiffies.py�detect_jiffiess6


�r)rrrrrr�<module>s

Spamworldpro Mini