This project aims to provide a comprehensive solution for remotely monitoring systems and servers. The application accurately monitors processes running at every instance, network usage, CPU usage, memory usage, and disk usage. One of the key features is the ability to detect abnormal processes and provide a direct kill link for quick intervention.
The system is designed to be OS-independent, ensuring flexibility and compatibility across different operating systems.
-
Install the required dependencies using the following command:
pip install -r requirements.txt
-
Navigate to the backend application and run the bash script:
bash execute.sh
Alternatively, you can run the individual scripts:
fetch_process.py
kill.py
monitor_sys.py
-
Record your system's data by running the script
recordpc.py
inside the./backend/dataset
directory:python recordpc.py
-
Once you obtain the CSV file named
result_statistics.csv
, move it to the main directory. -
Deploy the frontend application by pushing all code to GitHub. Then, go to the Streamlit Community Cloud, deploy the
ui.py
file, and make the application live. -
Ensure to add
config.json
(your Firebase authentication JSON) with real-time database activation.
-
Monitoring:
- Run the backend scripts to monitor system processes and resource usage.
-
Data Recording:
- Record system data using
recordpc.py
to generateresult_statistics.csv
.
- Record system data using
-
Frontend Deployment:
- Deploy the frontend application by pushing code to GitHub and using Streamlit Community Cloud.
- Accurate monitoring of processes and resource usage.
- Quick detection of abnormal processes with a direct kill link.
- OS-independent design for broad compatibility.
Contributions to this project are welcome. Please follow these guidelines:
- Fork the repository.
- Create a new branch for your feature or bug fix.
- Make your changes and commit them with clear messages.
- Create a pull request, detailing the changes and improvements.