| Server IP : 89.117.53.150 / Your IP : 216.73.216.11 Web Server : Apache System : Linux server2.hostofiraq.site 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64 User : iscmbt-kufa-atu ( 1014) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /lib/python3/dist-packages/psutil/tests/__pycache__/ |
Upload File : |
o
���a�P � @ s� d Z ddlZddlZddlZddlZddlZddlmZ ddlmZ ddlmZ ddlm Z ddl
mZ ddl
mZ dd l
m
Z
dd
l
mZ ddl
mZ ddl
mZ dd
l
mZ ddl
mZ ddl
mZ er~ddlmZ e� Ze�� dkr{ed�r{dndZndZdZdd� Zdd� Ze�e d�G dd� de
��Ze�e d�G dd� de
��Ze�e d�G dd� de
��Ze�e d�G d d!� d!e
��Ze�e d"�G d#d$� d$e
��Z e!d%kr�dd&l"m#Z# e#e$� dS dS )'z$Tests specific to all BSD platforms.� N)�BSD)�FREEBSD)�NETBSD)�OPENBSD)�HAS_BATTERY)�TOLERANCE_SYS_MEM)�PsutilTestCase)�retry_on_failure)�sh)�spawn_testproc)� terminate)�unittest)�which)�getpagesize�museTFc C sh t d| �}tr||�d�d d� }ntstr#||�d�d d� }zt|�W S ty3 | Y S w )zmExpects a sysctl command with an argument and parse the result
returning only the value of interest.
zsysctl z: � N�=� )r
r �findr r �int�
ValueError)�cmdline�result� r �7/usr/lib/python3/dist-packages/psutil/tests/test_bsd.py�sysctl- s
�r c C s>