Skip to content

Latest commit

 

History

History
41 lines (27 loc) · 1.05 KB

README.md

File metadata and controls

41 lines (27 loc) · 1.05 KB

Process Monitor

Overview

The Process Monitor is a Java application that displays information about the top 10 processes sorted by CPU usage. It uses the OSHI library to gather system information and display details such as process ID, type, CPU usage, memory usage, I/O usage, and whether the process is CPU-bound or I/O-bound.

Prerequisites

  • Java 21 or higher
  • Maven 3.6.0 or higher

Dependencies

The project uses the following dependencies:

  • OSHI (Operating System and Hardware Information)
  • SLF4J (Simple Logging Facade for Java)
  • Log4j (Logging framework)

These dependencies are defined in the pom.xml file.

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/process-monitor.git
    cd process-monitor
  2. Build the project using Maven:

    mvn clean install

Usage

You can download the file from this repository and run it from your PC or Mac locally.

  1. Go to green button that says "Code"
  2. "Download Zip"
  3. Extract and run ProcessMonitor.java on a prefered IDE.