Skip to content

Commit 8a3c9b5

Browse files
author
İsmail Taşdelen
authored
update readme
update readme
1 parent 2ba5015 commit 8a3c9b5

File tree

1 file changed

+104
-2
lines changed

1 file changed

+104
-2
lines changed

README.md

Lines changed: 104 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,104 @@
1-
# PyCPU
2-
Central Processing Unit Information Gathering Tool
1+
#### PyCPU - Central Processing Unit Information Gathering Tool
2+
3+
With this tool you can access detailed information of your processor information. You can also check the security vulnerability based on the current processor information of the processor you have used.
4+
5+
#### Programming Languages :
6+
7+
* BASH
8+
9+
#### System :
10+
11+
* Linux
12+
13+
#### What is CPU ( Central Processing Unit ) ?
14+
15+
A central processing unit (CPU) is the electronic circuitry within a computer that carries out the instructions of a computer program by performing the basic arithmetic, logic, controlling and input/output (I/O) operations specified by the instructions.
16+
17+
#### RUN
18+
19+
```
20+
root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git
21+
root@ismailtasdelen:~# cd PyCPU
22+
root@ismailtasdelen:~/PyCPU# python PyCPU.py
23+
```
24+
25+
#### What's on the tool menu ?
26+
27+
```
28+
[1] CPU All Information Gathering
29+
[2] Default Information Gathering
30+
[3] CPU Vulnerability Check
31+
[4] Exit
32+
```
33+
34+
all_cpu() --> call the function. actually this function is`cat /proc/cpuinfo` running the code in the system. we can access all information.
35+
36+
```
37+
processor : 0
38+
vendor_id : GenuineIntel
39+
cpu family : 6
40+
model : 69
41+
model name : Intel(R) Core(TM) i5-4210U CPU @ 1.70GHz
42+
stepping : 1
43+
microcode : 0x1c
44+
cpu MHz : 1700.062
45+
cache size : 3072 KB
46+
physical id : 0
47+
siblings : 4
48+
core id : 0
49+
cpu cores : 2
50+
apicid : 0
51+
initial apicid : 0
52+
fpu : yes
53+
fpu_exception : yes
54+
cpuid level : 13
55+
wp : yes
56+
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm epb tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 avx2 smep bmi2 erms invpcid xsaveopt dtherm ida arat pln pts
57+
bugs :
58+
bogomips : 4788.92
59+
clflush size : 64
60+
cache_alignment : 64
61+
address sizes : 39 bits physical, 48 bits virtual
62+
power management:
63+
......
64+
```
65+
66+
The cpu_info() function shows some simple cpu information.
67+
68+
```
69+
vendor_id : GenuineIntel
70+
model name : Intel(R) Core(TM) i5-4200U CPU @ 1.60GHz
71+
microcode : 0x24
72+
cpu MHz : 2446.218
73+
cpu MHz : 2574.107
74+
cpu MHz : 2294.998
75+
cpu MHz : 2295.091
76+
cache size : 3072 KB
77+
```
78+
79+
The cpu_vulncheck() function performs the vulnerability check on the computer you are running.
80+
81+
```
82+
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf
83+
```
84+
85+
#### Cloning an Existing Repository ( Clone with HTTPS )
86+
87+
```
88+
root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git
89+
```
90+
91+
#### Cloning an Existing Repository ( Clone with SSH )
92+
93+
```
94+
root@ismailtasdelen:~# git clone https://github.com/ismailtasdelen/PyCPU.git
95+
```
96+
97+
#### Contact :
98+
99+
```
100+
Mail : ismailtasdelen@protonmail.com
101+
Linkedin : https://www.linkedin.com/in/ismailtasdelen
102+
GitHub : https://github.com/ismailtasdelen
103+
Telegram : https://t.me/ismailtasdelen
104+
```

0 commit comments

Comments
 (0)