FIX sort for some cpu topologies
This commit is contained in:
parent
8e973c0479
commit
ec1e22652f
|
@ -274,7 +274,8 @@ M.get_core_topology = function()
|
|||
pure.partial(gmatch_to_tableN, '(%d+),(%d+)')
|
||||
)
|
||||
local out =
|
||||
i_o.execute_cmd('lscpu -y -p=core,cpu | grep -v \'^#\' | sort -k1,1n')
|
||||
i_o.execute_cmd('lscpu -y -p=core,cpu | grep -v \'^#\' | sort -k1,1n -t,')
|
||||
print(out)
|
||||
return pure.fmap_maybe(f, out)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue