Expanded CPU thread pairings

This commit is contained in:
bergware
2016-08-05 23:26:40 +02:00
parent 3e6abdd1db
commit 4104d071c2
+1 -1
View File
@@ -39,7 +39,7 @@ Title="System Devices"
> This displays a list of CPU thread pairings.
<pre><?=preg_replace('/(\d+)[-,](\d+)/','cpu $1 <===> cpu $2', shell_exec("cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu"))?></pre>
<pre><?=preg_replace(['/(\d+)[-,](\d+)/','/(\d+)\b/'], ['$1 <===> $2','cpu $1'], shell_exec("cat /sys/devices/system/cpu/*/topology/thread_siblings_list | sort -nu"))?></pre>
**USB Devices**