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 1.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pilot_linux-1.1.0.tar.gz | 9.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pilot_linux-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 18.0 kB
Release files / pilot_linux-1.1.0.tar.gz
| Download URL | pilot_linux-1.1.0.tar.gz |
|---|---|
| Size | 9.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43cf9bb2ab56dd25747d5a5abf64ad4c1b9e59084abe06c5dd5a91cc1a493bff
|
|
BLAKE2b-256 checksum How to use checksums |
441fd4b0ef9acc90c378670a43f8c708f003c3b88bea4576f9105e98af407311
|
| 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-1.1.0-py3-none-any.whl
| Download URL | pilot_linux-1.1.0-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d7f461c0bdebb616aad579bf41f5eeadaac9aafbf2a96524bc52be0675dd879d
|
|
BLAKE2b-256 checksum How to use checksums |
ade260412e50e58ba8db281a1af5a003b3ef948a99b89fe2758f893fba835410
|
| 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 1.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.