Link to home
Start Free TrialLog in
Avatar of mac_g
mac_gFlag for Saudi Arabia

asked on

Linux : how to view CPU info and its usage details

i would like to see a consolidated report of the CPU like

How many CPU's, Cores per Each.
utilization details in one-go command.

Can you please help me getting details
SOLUTION
Avatar of Mohamed Magdy
Mohamed Magdy
Flag of Egypt image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

the above command gives vast info.

However, I want to see only those details in 2 lines what I requested.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mac_g

ASKER

am getting below details for mpstat -p ALL 1
can you explain me  what each column signifies
---------------------------------------------------------
09:24:49 AM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
09:24:50 AM  all    0.00    0.25    0.00    0.00    0.00    0.00    0.00    0.00   99.75
09:24:50 AM    0    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
09:24:50 AM    1    0.00    0.99    0.99    0.00    0.00    0.00    0.00    0.00   98.02
09:24:50 AM    2    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00
09:24:50 AM    3    0.00    0.00    0.00    0.00    0.00    0.00    0.00    0.00  100.00

------------------------
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You know CPU clocks scale, then you have turbo mode once surplus cores get parked... And that percentile is not linear ...