Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
lvestats
/
lib
/
__pycache__
[ HOME ]
Exec
Submit
File Name : snapshot.cpython-311.pyc
� ֈ9h� � � � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z mZ dZdZ ee � � Z G d� de� � Zed� � � ZdS ) � N)�contextmanager)�List�Optionalz/var/lve/snapshotsz .snapshotc � � e Zd ZdZdd�Zd� Zed� � � Zd� Zd� Z d� Z d � Zd � Zd� Z d� Zd � Zd� Zd� Zed� � � Zedd�� � Zed� � � ZdS )�Snapshotad This class is responsible for loading and saving snapshot files for the interval The files will be saved in a format of: /var/lve/snapshots/[uid]/dump_time.snapshot dump_time is the timestamp/integer The directories /var/lve/snaphosts/[uid] and the dump files itself will be owned by user They will not be readable by other users. � c �T � || _ || _ t j d� � | _ d S )Nzlib-snapshot)� compresslevel�incident�logging� getLogger�log)�selfr r s ��/builddir/build/BUILDROOT/lve-stats-4.2.13-1.el8.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/snapshot.py�__init__zSnapshot.__init__ s'