Skip to content

metatoaster/psrv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

psrv

Simple web utility to serve up a system's statistics using psutil. This can be referred to as ps service or process and service remote viewer. This is a basic demo proof of concept that really aims to showcase how Python backends and JavaScript frontends can be integrated together.

This demo may be installed using the following commands into a Python virtual environment:

$ git clone https://github.com/metatoaster/psrv.git
$ cd psrv
$ pip install -e .[dev,webpack,scss]
$ calmjs npm --install -i -D psrv[dev,webpack,scss]
$ python setup.py build
$ psrv-demo

Connect a web browser to http://localhost:8000 and a simple page showing the current CPU and memory utilization for the current machine will be visible with updates done by polling the status endpoint every three seconds (defined in the JavaScript code in this module).

About

A simple basic psutil web front end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published