Is your feature request related to a problem? Please describe.
as we know when using systeminformation to get CPU information like below:
const si = require('systeminformation');
// promises style - new since version 3
si.cpu()
.then(data => console.log(data))
.catch(error => console.error(error));
it will get response :
{
manufacturer: 'Apple',
brand: 'M1',
vendor: 'Apple',
family: '458787763',
model: '',
stepping: '2',
revision: '',
voltage: '',
speed: 2.4,
speedMin: 2.4,
speedMax: 2.4,
governor: '',
cores: 8,
physicalCores: 8,
performanceCores: 4,
efficiencyCores: 4,
processors: 1,
socket: 'SOC',
flags: '',
virtualization: true,
cache: { l1d: 131072, l1i: 65536, l2: 4194304, l3: null }
}
but how about 2 CPUs, what will return?
Describe the solution you'd like
I mean if it response a list, it will be more reasonable.
[
{
manufacturer: 'Apple',
brand: 'M1',
vendor: 'Apple',
family: '458787763',
model: '',
stepping: '2',
revision: '',
voltage: '',
speed: 2.4,
speedMin: 2.4,
speedMax: 2.4,
governor: '',
cores: 8,
physicalCores: 8,
performanceCores: 4,
efficiencyCores: 4,
processors: 1,
socket: 'SOC',
flags: '',
virtualization: true,
cache: { l1d: 131072, l1i: 65536, l2: 4194304, l3: null }
}
]
Is your feature request related to a problem? Please describe.
as we know when using
systeminformationto get CPU information like below:it will get response :
but how about 2 CPUs, what will return?
Describe the solution you'd like
I mean if it response a list, it will be more reasonable.