Skip to content

Commit a175758

Browse files
authored
Update Readme.md
1 parent dfbed4b commit a175758

File tree

1 file changed

+13
-7
lines changed

1 file changed

+13
-7
lines changed

cpu tempearture/Readme.md

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,31 @@
1-
# Package/Script Name
1+
# CPU Temperature
22

33
This python script is used to get cpu temperature
44

55
- psutil (process and system utilities) is a cross-platform library.
66
- It is used for retrieving information on running processes and system utilization (CPU, memory, disks, network, sensors) in Python.
77

8-
## Detailed explanation of script, if needed
8+
## Explanation of the script
99

10-
- install psutil using( pip install psutil)
11-
- Use inbuilt function "sensors_temperatures()" to measure temperature of CPU
10+
- Using psutil library's inbuilt function "sensors_temperatures()" to measure temperature of CPU
1211

1312
## Setup instructions
1413

1514
- Clone the repo to your machine
16-
- head over to the required(Cpu Temperature folder)
17-
- run the script(python temp.py)
15+
- Head over to the required folder (Cpu Temperature folder)
16+
- Install psutil using
17+
```bash
18+
pip install psutil
19+
```
20+
- Run the script
21+
```bash
22+
python temp.py
23+
```
1824

1925
## Output
2026

2127
<img src="https://raw.githubusercontent.com/gavinlyonsrepo/raspberrypi_tempmon/master/screenshots/main_screen.jpg">
2228

23-
## Disclaimers, if any
29+
## Disclaimer
2430

2531
This does not work on a windows machine

0 commit comments

Comments
 (0)