-
Notifications
You must be signed in to change notification settings - Fork 73
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding dmidecode support in server-info for better view of memory sub…
…system (#178) * Added(server-info): reminder about installation pcituils and dmidecode. * Added(server-info): using dmidecode memory data file (type, speed and size). for -show and -rate * Added(test-data): server-info archive from cheapest vscale CentOS 7 * Added(assessor): Grade by known values * Fixed(test-data): server-info show expected output changed * Refactoring(dmi): parser complexity fighting * Refactoring(parsers): provide optional simplier way of initialisation for any Parser-based class * Incremented version #37
- Loading branch information
1 parent
81d35b8
commit 2bf2cb1
Showing
31 changed files
with
321 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ def read(*paths): | |
|
||
setuptools.setup( | ||
name='netutils-linux', | ||
version='2.5.2', | ||
version='2.6.1', | ||
author='Oleg Strizhechenko', | ||
author_email='[email protected]', | ||
license='MIT', | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,9 @@ cpu: | |
'6': '0' | ||
'7': '0' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth0: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,9 @@ cpu: | |
'0': '0' | ||
'1': '0' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth1: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,7 +28,9 @@ cpu: | |
'2': '0' | ||
'3': '0' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth6: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,7 +32,9 @@ cpu: | |
'6': '0' | ||
'7': '0' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth0: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -39,7 +39,9 @@ cpu: | |
'8': '0' | ||
'9': '1' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth1: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -40,7 +40,9 @@ cpu: | |
'8': '0' | ||
'9': '0' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
em2: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,9 @@ cpu: | |
'8': '0' | ||
'9': '1' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth1: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,7 +26,9 @@ cpu: | |
'0': '0' | ||
'1': '1' | ||
disk: null | ||
memory: null | ||
memory: | ||
devices: null | ||
size: null | ||
net: | ||
eth1: | ||
buffers: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
processor : 0 | ||
vendor_id : GenuineIntel | ||
cpu family : 6 | ||
model : 79 | ||
model name : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz | ||
stepping : 1 | ||
microcode : 0x1 | ||
cpu MHz : 2199.986 | ||
cache size : 25600 KB | ||
physical id : 0 | ||
siblings : 1 | ||
core id : 0 | ||
cpu cores : 1 | ||
apicid : 0 | ||
initial apicid : 0 | ||
fpu : yes | ||
fpu_exception : yes | ||
cpuid level : 13 | ||
wp : yes | ||
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon rep_good nopl eagerfpu pni pclmulqdq vmx ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm rdseed adx smap xsaveopt arat | ||
bogomips : 4399.97 | ||
clflush size : 64 | ||
cache_alignment : 64 | ||
address sizes : 40 bits physical, 48 bits virtual | ||
power management: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/sys/block/vda/queue/rotational:1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# dmidecode 3.0 | ||
Getting SMBIOS data from sysfs. | ||
SMBIOS 2.4 present. | ||
|
||
Handle 0x1000, DMI type 16, 15 bytes | ||
Physical Memory Array | ||
Location: Other | ||
Use: System Memory | ||
Error Correction Type: Multi-bit ECC | ||
Maximum Capacity: 512 MB | ||
Error Information Handle: Not Provided | ||
Number Of Devices: 1 | ||
|
||
Handle 0x1100, DMI type 17, 21 bytes | ||
Memory Device | ||
Array Handle: 0x1000 | ||
Error Information Handle: 0x0000 | ||
Total Width: 64 bits | ||
Data Width: 64 bits | ||
Size: 512 MB | ||
Form Factor: DIMM | ||
Set: None | ||
Locator: DIMM 0 | ||
Bank Locator: Not Specified | ||
Type: RAM | ||
Type Detail: None | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
Ring parameters for eth0: | ||
Pre-set maximums: | ||
RX: 256 | ||
RX Mini: 0 | ||
RX Jumbo: 0 | ||
TX: 256 | ||
Current hardware settings: | ||
RX: 256 | ||
RX Mini: 0 | ||
RX Jumbo: 0 | ||
TX: 256 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
driver: virtio_net | ||
version: 1.0.0 | ||
firmware-version: | ||
expansion-rom-version: | ||
bus-info: 0000:00:03.0 | ||
supports-statistics: no | ||
supports-test: no | ||
supports-eeprom-access: no | ||
supports-register-dump: no | ||
supports-priv-flags: no |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
CPU0 | ||
0: 24 IO-APIC-edge timer | ||
1: 10 IO-APIC-edge i8042 | ||
6: 3 IO-APIC-edge floppy | ||
8: 1 IO-APIC-edge rtc0 | ||
9: 0 IO-APIC-fasteoi acpi | ||
10: 0 IO-APIC-fasteoi virtio2 | ||
11: 0 IO-APIC-fasteoi uhci_hcd:usb1 | ||
12: 15 IO-APIC-edge i8042 | ||
14: 0 IO-APIC-edge ata_piix | ||
15: 0 IO-APIC-edge ata_piix | ||
24: 0 PCI-MSI-edge virtio1-config | ||
25: 607727 PCI-MSI-edge virtio1-req.0 | ||
26: 0 PCI-MSI-edge virtio0-config | ||
27: 6070473 PCI-MSI-edge virtio0-input.0 | ||
28: 17 PCI-MSI-edge virtio0-output.0 | ||
NMI: 0 Non-maskable interrupts | ||
LOC: 45350286 Local timer interrupts | ||
SPU: 0 Spurious interrupts | ||
PMI: 0 Performance monitoring interrupts | ||
IWI: 4143286 IRQ work interrupts | ||
RTR: 0 APIC ICR read retries | ||
RES: 0 Rescheduling interrupts | ||
CAL: 0 Function call interrupts | ||
TLB: 0 TLB shootdowns | ||
TRM: 0 Thermal event interrupts | ||
THR: 0 Threshold APIC interrupts | ||
DFR: 0 Deferred Error APIC interrupts | ||
MCE: 0 Machine check exceptions | ||
MCP: 3760 Machine check polls | ||
ERR: 0 | ||
MIS: 0 | ||
PIN: 0 Posted-interrupt notification event | ||
PIW: 0 Posted-interrupt wakeup event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
NAME MODEL | ||
vda |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
21474836480 vda | ||
21473771008 / vda1 |
Oops, something went wrong.