8 lines
209 B
Text
8 lines
209 B
Text
|
#!/bin/bash
|
||
|
|
||
|
#numCPU=$(grep processor /proc/cpuinfo | wc -l)
|
||
|
numKernelThreads=$(ps aux | awk '{if($11~/^\[/){print $11}}' | wc -l)
|
||
|
|
||
|
#echo "- system.cpucount $numCPU"
|
||
|
echo "- proc.kernel.num $numKernelThreads"
|