š» Software
individual cpu % in 'top' output
Freshabout 2 months ago
Mar 15, 202614624 viewsConfidence Score0%
0%
Problem
Usually to view individual cpu % we press '1' in the interactive mode of top. However I am not able to figure out the logic to get the same output in batch mode i.e, I am redirecting this output to a file to view it later and stuff like that, so I need the batch mode. Is it possible? Installing a sā¦
Error Output
top -n1b
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix ā Awaiting Verification
Fix for: individual cpu % in 'top' output
Low Risk
In interactive top, switch to individual CPU % by typing , then write the current configuration to a file by typing . This will create . Now, will output per-CPU % as well. You may need to copy the file and change permissions if your script runs as ā¦
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix