Skip to main content

What's wrong with my linux? A LLM based tool to diagnose linux problems.

Project description

wwwml PyPI version Release Building Code style: black

What's wrong with my linux? A LLM based tool to diagnose linux problems.

Install

pip install -U wwwml

Set environment variable in your ~/.bashrc, ~/.zshrc, etc.

export OPENAI_API_KEY=sk~XXXXXXXX

Or, to use Azure OpenAI endpoint, set following environment variable:

export OPENAI_API_KEY=XXXXXXXXXX
export OPENAI_API_BASE=https://XXXXXX.openai.azure.com/
export OPENAI_API_TYPE=azure
export OPENAI_API_VERSION=2023-07-01-preview
# Use a deploymetn of gpt-3.5-turbo or gpt-4 with version 0613 or later
export WWWML_DEPLOYMENT=gpt-35-turbo-16k

Usage

python -m wwwml
# or
wwwml

Dependency

This tool currently call following command to get system information

  • sysstat
    • iostat
    • mpstat
    • vmstat

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

wwwml-0.3.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

wwwml-0.3.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: wwwml-0.3.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for wwwml-0.3.0.tar.gz
Algorithm Hash digest
SHA256 b57eec4dde83fe2b042443286a06a8be4c114e17b539c7104919f40fb12f4688
MD5 69134375186407f775dc7e05dcbd4161
BLAKE2b-256 8eda6501f2edc9910e0fa077119c4232afb8610456f067a2ae25600687f69a60

See more details on using hashes here.

File details

Details for the file wwwml-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: wwwml-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for wwwml-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6da9a20d6169e1048f50f17204593fc6b24598092d15463035a75b3e208815c2
MD5 88078b1f8c9c101c450e3567b1b749fa
BLAKE2b-256 c604a5a42ae34a2a0e50b4e4688c3c49d773b1ae93062690febf0c2b951973ec

See more details on using hashes here.

Supported by

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