An open API service indexing awesome lists of open source software.

https://github.com/thomastjdev/flask_system_information

on flask application for monitoring system information. Network connections, uptime, logins, processes, etc.
https://github.com/thomastjdev/flask_system_information

Last synced: 8 months ago
JSON representation

on flask application for monitoring system information. Network connections, uptime, logins, processes, etc.

Awesome Lists containing this project

README

          

System Information
==================

These bash scripts gather system information and the python script parses it to HTML accessible output.

Author
------

- ThomasTJ (TTJ)

License
-------

* MIT

Credit
------

* Bash files origin from Linux Dash, (c) 2014 afaqurk (slightly modified)

Requirements
------------

Flask
Shlex
Python (only tested on python >= 3)

Installation
------------

- Clone folder with git

OR

- Copy content to folder (no specific name is required)

Use
---

The purpose of the software is to generate HTML output from system information to use on a HTML webpage. It's developed and tested on a Raspberry Pi 3.

1. Run the **app.py**
2. The python scripts executes the bash files in the **bash** folder and grabs the output
3. The python scripts formats the output to html
4. **app.py** then serves this data using flask

Features
--------

Please check out the folder **bash** to view the different system information scripts.

How to
------

Run:
python app.py

Browse:
127.0.0.1:5003/system_info

Todo
----

* Remove HTML formatting from script and change output to list []. The HTML formatting should be done more generic in another function.