#!/bin/bash numKernelThreads=$(ps aux | awk '{if($11~/^\[/){print $11}}' | wc -l) echo "- proc.kernel.num $numKernelThreads"