Skip to main content

Swarmauri Psutil Tool.

Project description

Swarmauri Logo

PyPI - Downloads PyPI - Python Version PyPI - License PyPI - Version


Swarmauri Psutil Tool

A system monitoring tool that provides comprehensive system information using psutil library. This tool can gather information about CPU, memory, disk, network, and sensors.

Installation

pip install swarmauri_tool_psutil

Usage

Here's a basic example of how to use the PsutilTool:

from swarmauri.tools.PsutilTool import PsutilTool

# Initialize the tool
psutil_tool = PsutilTool()

# Get CPU information
cpu_info = psutil_tool("cpu")
print(cpu_info)  # Shows CPU times, usage percent, frequency, etc.

# Get memory information
memory_info = psutil_tool("memory")
print(memory_info)  # Shows virtual and swap memory details

# Get disk information
disk_info = psutil_tool("disk")
print(disk_info)  # Shows disk partitions, usage, and I/O counters

Want to help?

If you want to contribute to swarmauri-sdk, read up on our guidelines for contributing that will help you get started.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

swarmauri_tool_psutil-0.7.0.dev3.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_tool_psutil-0.7.0.dev3-py3-none-any.whl (8.3 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_tool_psutil-0.7.0.dev3.tar.gz.

File metadata

File hashes

Hashes for swarmauri_tool_psutil-0.7.0.dev3.tar.gz
Algorithm Hash digest
SHA256 9931d89dce846455d4f6656c8edea6c3a1837e593c901e1fbb0994275e8fd3f5
MD5 adef7c6922303e0bdf188cca11bd68f1
BLAKE2b-256 bc8a124f6a7e7cd3c23e51329c0daabd79c2c764b22dc1b66c65a7239e9efe7c

See more details on using hashes here.

File details

Details for the file swarmauri_tool_psutil-0.7.0.dev3-py3-none-any.whl.

File metadata

File hashes

Hashes for swarmauri_tool_psutil-0.7.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 d504ab91311ef71f3b7363411f21d7a9e7bf6512bfa4bd3b09d7e982f427c205
MD5 e8297463bc60f0bf518a08af548a7473
BLAKE2b-256 33ac5d7606cf9a21dc98772650f2a721f5ac48b3e31ad07e78b90840dd2f649d

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