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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file porthole-cmd-0.0.1.linux-x86_64.tar.gz.
File metadata
- Download URL: porthole-cmd-0.0.1.linux-x86_64.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
495f70391a535ea94217ed37d1048b3a1898d08c31b913f5a2a1908202997606
|
|
| MD5 |
5335456b86a7dfc37f0196c4be41c255
|
|
| BLAKE2b-256 |
a376c59f5c9c704618a7517d5c668ca8dbb80b6e08b2fbcdbcc70e7611f08d07
|