mirror of
https://github.com/smxi/inxi.git
synced 2024-11-17 00:31:19 +00:00
up bug fix for branch one
This commit is contained in:
parent
da08950acc
commit
cc85ccbce5
33
inxi
33
inxi
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
########################################################################
|
||||
#### Script Name: inxi
|
||||
#### version: 0.9.8-b1-t1
|
||||
#### version: 0.9.8-b1-t2
|
||||
#### Date: 3 February 2009
|
||||
########################################################################
|
||||
#### SPECIAL THANKS
|
||||
|
@ -1587,32 +1587,11 @@ get_cpu_ht_multicore_smp_data()
|
|||
else {
|
||||
type = "SMP"
|
||||
}
|
||||
# if ( 1.1 == 1 ){print "yes"}else{print "no"}
|
||||
|
||||
# if ( physical_cpu_count == 1 ) {
|
||||
# if ( physical_cpu_count == core_count ) {
|
||||
# type = "HT" # this is more than likely a P4 w/HT or an Atom 270
|
||||
# }
|
||||
# else {
|
||||
# if ( core_count == num_of_cores && core_count == num_of_processors) {
|
||||
# type = "MCP"
|
||||
# cores = core_count
|
||||
# }
|
||||
# else {
|
||||
# type = "HT" # this is i7 or Atom 330 or some Xeons
|
||||
# cores = core_count
|
||||
# }
|
||||
# }
|
||||
# }
|
||||
# else {
|
||||
# type = "SMP"
|
||||
# processors = physical_cpu_count
|
||||
#
|
||||
# if ( num_of_cores > 1 ) {
|
||||
# type = "SMPMC" # processors could be both MCP and SMP
|
||||
# cores = core_count
|
||||
# }
|
||||
# }
|
||||
}
|
||||
# make sure to handle up cpus too
|
||||
else {
|
||||
core_count = 1
|
||||
physical_cpu_count = 1
|
||||
}
|
||||
print type " " physical_cpu_count " " core_count
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue