Server IP : 192.158.238.246 / Your IP : 18.223.125.111 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/__pycache__/ |
Upload File : |
� Ѝig� � � � 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.11-1.el8.x86_64/opt/cloudlinux/venv/lib/python3.11/site-packages/lvestats/lib/snapshot.py�__init__zSnapshot.__init__ s'