Skip to main content

porthole

Simple server reporting cpu and disk usage of os.

Prerequistes.

Linux environments. Python 2.7 and above.

How to use.

Using pip

---pypi distribution will be ready soon.

Manual setup

Download distributes and extract and run.

tar -xvf porthole-0.0.1.tar
cd porthole-0.0.1
python -m porthole.script serve

Server

Run porthole server to OS which desired to be monitored.

pip

porthole serve -host [host/default:""] -p [port/default:8000]

Manual setup

python -m porthole.script serve -host [host/default:""] -p [port/default:8000]

Client

Fetch response

Fetch

porthole fetch -d [destination]
#OR
python -m porthole.script fetch -d [destination]

Test

Test

porthole test -e [expr] -s [source] -d [destination]
#OR
python -m porthole.script test -e [expr] -s [source] -d [destination]

Help

porthole -h
#OR
python -m porthole.script -h

Release files for porthole-cmd 0.0.1

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

Source distribution (sdist)

Source distribution for porthole-cmd 0.0.1
File Size Uploaded
porthole-cmd-0.0.1.linux-x86_64.tar.gz 9.1 kB Details

Release files / porthole-cmd-0.0.1.linux-x86_64.tar.gz

Download URL porthole-cmd-0.0.1.linux-x86_64.tar.gz
Size 9.1 kB
Tags Source
SHA-256 checksum
How to use checksums
495f70391a535ea94217ed37d1048b3a1898d08c31b913f5a2a1908202997606
BLAKE2b-256 checksum
How to use checksums
a376c59f5c9c704618a7517d5c668ca8dbb80b6e08b2fbcdbcc70e7611f08d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.5.2

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file

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