Skip to main content

PilotShell

PILOT is an interactive, light-weight Linux Monitoring & Troubleshooting Shell designed to assist system administrators in diagnosing system performance, running services, and storage health.

Features

  • Interactive CLI Environment: Implements a full command loop built on top of cmd.Cmd.
  • Disk Health Monitoring: Instantly track partition utilization with configurable usage warning thresholds.
  • Process Profiling: Quickly locate and trace system processes by application name, tracking memory and CPU metrics.
  • Systemd Service Inspection: Seamlessly query, search, and detail active and inactive services directly from the prompt.
  • JSON Telemetry Report: Keeps a persistent structure of all checks compiled during the active diagnostic session.

Installation

Install directly from PyPI:

pip install pilotshell

Quick Start

Launch the pilot terminal environment using the global command-line shortcut:

pilot

Once inside the interactive environment, view available monitoring tools:

=================================================
 PILOT - Linux Monitoring & Troubleshooting Shell
 Type 'help' to see commands. Type 'exit' to quit.
=================================================
pilot> help

Example Commands

Check filesystem status with an explicit warning threshold (e.g., alert at 75% capacity):

pilot> disk --threshold=75

Running PILOT as Root

PILOT can be installed system-wide and run by both normal users and the root user. On some Linux systems, /usr/local/bin may be missing from root's PATH.

1. Verify the Installation

which pilot
ls -l /usr/local/bin/pilot

2. Fix pilot: command not found for Root

Switch to the root user:

sudo -i

Add /usr/local/bin to the current root shell's PATH:

export PATH="/usr/local/bin:$PATH"

Verify that the command is available:

command -v pilot
pilot

Expected command location:

/usr/local/bin/pilot

3. Make the PATH Fix Permanent

For the root user's Bash shell, run:

echo 'export PATH="/usr/local/bin:$PATH"' >> /root/.bashrc
source /root/.bashrc

Verify:

command -v pilot

4. Troubleshooting

If the command is still unavailable, run:

ls -l /usr/local/bin/pilot
head -n 1 /usr/local/bin/pilot
python3 --version

If the command is found but produces a Python error, check that the Python interpreter and PILOT package referenced by the executable are available.

Note: Run PILOT as root only when elevated privileges are needed for system diagnostics. Review any suggested administrative commands before executing them.

License

Distributed under the Apache License 2.0. See the LICENSE file for more details.

Metadata

Release files for pilot-linux 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pilot-linux 0.1.0
File Size Uploaded Provenance
pilot_linux-0.1.0.tar.gz 9.3 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for pilot-linux 0.1.0
File Interpreter ABI Platform
pilot_linux-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.7 kB

Release files / pilot_linux-0.1.0.tar.gz

Download URL pilot_linux-0.1.0.tar.gz
Size 9.3 kB
Tags Source
SHA-256 checksum
How to use checksums
831493431c07c7791c147999b88caafa3426bcb0a64953bd6613decad1de891b
BLAKE2b-256 checksum
How to use checksums
0abc3f12a799fd3ff74adfaaae11b90db91c872fff12ac50909a712d0101a203
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Release files / pilot_linux-0.1.0-py3-none-any.whl

Download URL pilot_linux-0.1.0-py3-none-any.whl
Size 8.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1ce9134d28c43b77b2e949212e0a5b20277f70dfd685c8fa8da418d7ff1c300e
BLAKE2b-256 checksum
How to use checksums
68c0ea2aa3e4118f39a720e69579a5c00fcbafa836e965cf879d0e18b0adbf67
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.15

Security for pilot-linux 0.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page