sometimes processor is written Processor in /proc/cpuinfo
This commit is contained in:
parent
a17a3ccf33
commit
dafa924c02
@ -141,7 +141,7 @@ fi
|
||||
# get cpu number
|
||||
__cpunum_Linux()
|
||||
{
|
||||
grep ^processor /proc/cpuinfo | wc -l
|
||||
grep ^[Pp]rocessor /proc/cpuinfo | wc -l
|
||||
}
|
||||
|
||||
__cpunum_FreeBSD()
|
||||
|
Loading…
x
Reference in New Issue
Block a user