Search Results

Search: Posts Made By: MadeInGermany
Forum: Solaris 05-17-2019
4,826
Posted By MadeInGermany
In an old script I have kstat -m cpu_info |...
In an old script I have
kstat -m cpu_info | nawk '$2=="on-line" {lcpu++} $1=="pg_id" && s[$2]++==0 {core++} END {print core?core+0:lcpu+0}'
Showing results 1 to 1 of 1

 
All times are GMT -4. The time now is 03:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy