Skip to content

Mistra1n/Process_monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Process monitor

This project consists of a Python process monitor that uses the psutil module to display information about running processes. Additionally, demonstrate how to run two Python processes inside a Docker container.

ℹ️ Technologies used

  • Docker
  • Python

ℹ️ How to use?

# Clone the repository
$ https://github.com/Mistra1n/Process_monitor.git

# Enter the repository
$ cd Process_monitor/

# Open a terminal and run
$ docker-compose up --build

Project Structure

  • main.py: Main Python file that lists information about processes.
  • server.py: Python file responsible for a test server.
  • start.sh: Startup script that starts both processes inside the Docker container.
  • Dockerfile: Docker configuration file to create the container image.
  • docker-compose.yml: Docker Compose configuration file to make it easier to run both processes.

Usage

After running docker-compose up --build, the container will be started and the server.py and main.py processes will run inside the container. You can access information about processes through the main.py file or other services within the same Docker environment.

Developer

......soon video

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published