AnonSec Shell
Server IP : 85.193.89.191  /  Your IP : 3.139.67.78
Web Server : Apache
System : Linux 956367-cx40159.tmweb.ru 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : bitrix ( 600)
PHP Version : 8.1.27
Disable Function : NONE
MySQL : OFF  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/979/cwd/lib/python2.7/site-packages/vdo/statistics/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     

Current File : /proc/979/cwd/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyc
�
.�t_c@s�dZddlTddlTddlTdefd��YZdefd��YZdefd��YZd	efd
��YZdefd��YZd
S(s�
  Copyright (c) 2018 Red Hat, Inc.

  This program is free software; you can redistribute it and/or
  modify it under the terms of the GNU General Public License
  as published by the Free Software Foundation; either version 2
  of the License, or (at your option) any later version.
  
  This program is distributed in the hope that it will be useful,
  but WITHOUT ANY WARRANTY; without even the implied warranty of
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  GNU General Public License for more details.
  
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  02110-1301, USA. 
i����(t*tBioStatscBseZdd�ZRS(RcKsStt|�j|td�td�td�td�td�gdd|�dS(NtreadtwritetdiscardtflushtfuatprocRoottvdo(tsuperRt__init__tUint64Field(tselftnametkwargs((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
s				(t__name__t
__module__R
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRstReadCacheStatscBseZdd�ZRS(RcKsGtt|�j|td�td�td�gdddd|�dS(NtaccessesthitstdataHitstlabelPrefixs
read cacheRR(R	RR
R(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
)s
		(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR(stMemoryUsagecBseZdd�ZRS(RcKsJtt|�j|td�td�td�td�gdd|�dS(Nt	bytesUsedt
peakBytesUsedtbiosUsedtpeakBioCountRR(R	RR
R(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
4s			(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR3stIndexStatisticscBseZdd�ZRS(RcKs�tt|�j|td�td�td�td�td�td�td�tdd	d
�tdd	d�g	d
d|�dS(NtentriesIndexedt
postsFoundt
postsNotFoundtqueriesFoundtqueriesNotFoundtupdatesFoundtupdatesNotFoundtcurrDedupeQueriestlabelscurrent dedupe queriestmaxDedupeQueriessmaximum dedupe queriesRR(R	RR
RtUint32Field(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
Bs							(RRR
(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRAstKernelStatisticscBs#eZdd�ZdZd�ZRS(R'cKs�tt|�j|tddt�tddt�td�tddddd	�td
dd�tddd
�td�td�tddt�tddd�tddd�tddd�tddd�tddd�tddd�tddd�td dd!�td"dd#�td$dd%�td&dd'�td(dd)�td*dd+�td,dd-�t	d.�t
d/dd0�td1�gd2d3d4d5|�dS(6NtversiontdisplaytreleaseVersiontinstancetfiveTwelveByteEmulationR$s512 byte emulationtderiveds-'on' if ($logicalBlockSize == 512) else 'off'tcurrentVIOsInProgresss#current VDO IO requests in progresstmaxVIOss#maximum VDO IO requests in progresstdedupeAdviceTimeoutstflushOuttlogicalBlockSizetwriteAmplificationRatiosnround(($biosMeta["write"] + $biosOut["write"]) / float($biosIn["write"]), 2) if $biosIn["write"] > 0 else 0.00tbiosInRsbios int
biosInPartialsbios in partialtbiosOutsbios outtbiosMetas	bios metatbiosJournalsbios journalt
biosPageCachesbios page cachetbiosOutCompletedsbios out completedtbiosMetaCompletedsbios meta completedtbiosJournalCompletedsbios journal completedtbiosPageCacheCompletedsbios page cache completedtbiosAcknowledgedsbios acknowledgedtbiosAcknowledgedPartialsbios acknowledged partialtbiosInProgresssbios in progresst	readCachetmemoryUsagesKVDO moduletindextprocFiletkernel_statsRR(R	R'R
R&tFalsetStringFieldRt
FloatFieldRRRR(RR
R((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR
Ys8				icCsXtt|�j|�}|jd�tjksE|jd�tkrTtd��n|S(NR(R*s!KernelStatistics version mismatch(R	R'tsampletgetStattstatisticsVersiontCURRENT_RELEASE_VERSION_NUMBERt	Exception(RtdeviceRI((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyRI�s-(RRR
RKRI(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyR'Xs+N(	t__doc__tFieldt
StatStructtVDOReleaseVersionsRRRRR'(((sC/usr/lib/python2.7/site-packages/vdo/statistics/KernelStatistics.pyt<module>s




Anon7 - 2022
AnonSec Team