Skip to main content

An usefull python module

Project description

System Monitor

System Monitor is a Python module that provides functionality for monitoring system resources and hardware information. It allows you to retrieve information about the CPU, GPU, storage, and other system components.

Installation

You can install the System Monitor module using pip:

Usage

Here's an example of how to use the System Monitor module:

from system_monitor import performance_monitor

# Get CPU model
cpu_model = performance_monitor.cpumodel()
print(f"CPU Model: {cpu_model}")

# Get GPU model
gpu_model = performance_monitor.gpumodel()
print(f"GPU Model: {gpu_model}")

# Get storage information
storage = performance_monitor.storage()
total_storage = storage.storagetotal()
used_storage = storage.storageused()
free_storage = storage.storageleft()

print(f"Total Storage: {total_storage}")
print(f"Used Storage: {used_storage}")
print(f"Free Storage: {free_storage}")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mymol-0.3.0.tar.gz (4.9 kB view details)

Uploaded Source

File details

Details for the file mymol-0.3.0.tar.gz.

File metadata

  • Download URL: mymol-0.3.0.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.4

File hashes

Hashes for mymol-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3ad612dcec1feff810789883a2b86cee1fedfdf3c71cef00b8d02eec7fbc01a2
MD5 b94a4ba29e0714969c4e0da655cca758
BLAKE2b-256 d45ed7f049f7af2c73ea363d8738ad3ba9aaba6452d5409eaa753f461fafda7b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page