Update README.md

This commit is contained in:
ParrotXray 2024-03-11 19:24:15 +08:00 committed by GitHub
parent 2b45d2bee3
commit f22ddf4ef4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -18,8 +18,8 @@ To run the Performance Monitor, you need to have the following Python libraries
- `pynvml` for NVIDIA GPU monitoring.
Install these dependencies using pip:
```
pip install psutil openpyxl pynvml
```sh=
pip install -r requirements.txt
```
## Installation
@ -32,7 +32,7 @@ Clone the repository or download the `PerformanceMonitor.py` script to your loca
```
python PerformanceMonitor.py <command>
```
Replace `<command>` with the command you wish to monitor (e.g., `python your_script.py`).
Replace `<command or PID number>` with the command you wish to monitor (e.g., `python your_script.py` or `55899`).
## Output
The script will create an Excel file named `Performance.xlsx` in the same directory, containing the performance metrics logged during the monitoring period.