Giter Site home page Giter Site logo

quarj0 / system-response-analyzer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 37 KB

System Response Analyzer is a Python tool that measures the response time of a given URL and provides system information such as CPU and memory usage, available disk space, network statistics, and OS update status.

Home Page: https://github.com/hacks-and-codes/System-Response-Analyzer

License: MIT License

Python 100.00%
analyzer analyzers system-responses system-response system-response-analyzer

system-response-analyzer's Introduction

System-Response-Analyzer

A Python script for measuring system response times, checking for OS updates, and monitoring system metrics.

Table of Contents

Installation

Cloning the Repo git clone https://github.com/hacks-and-codes/System-Response-Analyzer

You can install System Response Analyzer using pip: pip install -r requirements.txt pip install system-response-analyzer

Features

  • Measure response time for a given URL or IP address.
  • Check for available OS updates and upgrade options.
  • Monitor CPU and memory usage.
  • Monitor disk usage.
  • Monitor network traffic (KB sent and received).

Prerequisites

  • Python 3.x
  • Requests library (install via pip install requests)
  • Psutil library (install via pip install psutil)
  • Tabulate library (install via pip install tabulate)

Usage

  1. Clone the repository to your local machine.
  2. Install the required dependencies (see Prerequisites section).
  3. Run the script by executing python system_analyzer.py [URL].
  4. Follow the on-screen instructions.

Getting Started

  1. When you run the script, it will prompt you to enter a URL or IP address to measure system response time if you didn't specify one as an argument.
  2. It will then check for available OS updates and ask if you want to update only if there are updates available.
  3. After that, it will display CPU and memory usage, disk usage, and network traffic metrics.

Examples

Measure response time for a website: Enter the URL to measure response time: example.com

Measure response time for an IP address: Enter the URL to measure response time: 192.168.0.1

Measure response time for the local host: Enter the URL to measure response time: localhost

Measure response time for the local host: Enter the URL to measure response time: 127.0.0.1

Dependencies

System Response Analyzer depends on the following Python packages:

  • requests
  • psutil
  • tabulate

Contributing

Contributions are welcome! If you have suggestions, bug reports, or want to add new features, please open an issue or submit a pull request.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.