Skip to main content

Swarmauri Psutil Tool.

Project description

Swamauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_tool_psutil


Swarmauri Tool Psutil

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.9.0.dev3.tar.gz (7.7 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.9.0.dev3-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_psutil-0.9.0.dev3.tar.gz
Algorithm Hash digest
SHA256 b05efce7b273ff49c3d4f6fccca61bb2c1fe5e9ba33b9e39d77013816c6e8344
MD5 5fcdbce51ef9ea12c543b28ea8f2ea69
BLAKE2b-256 1b6939ad7b575cbb6d262d61f38895cb13079b5d666601a9765626f1cb57ebfe

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for swarmauri_tool_psutil-0.9.0.dev3-py3-none-any.whl
Algorithm Hash digest
SHA256 e4689464faac72a9c9324244f35a68741dd52b81227cf6b438284e784860ae37
MD5 f0f90788f32dad542ca0d4555ae56594
BLAKE2b-256 4ed7c2716a8a67b054eb8037137d5474a8b8155e3c7e6663d60b441fcd96d13a

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