Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community!
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.Start your free trial
Console Foundations - Processes
I'm stuck at the following point (about 3:58 in video):
1) treehouse ~$ top; 2) ?; 3) F; 4) press key (not specified which key); 5) F - shows "*K %CPU = CPU usage" marked 6) N - shows "*N =%MEM = memory usage (RES) marked; 7) enter.
At this point, I see my new sorting list, but I can't go back to the menu to select "a" to change sort to PID column. How to I go back & forth between the menu and the sorted list? You don't mention which key can or should be pressed to toggle between the menu & the sorted list.
Each time you are in the listing screen you can press F to bring up the sort screen.
So on entering top you can press F then a to sort by Process ID (PID) Once this is showing you can press F then k to sort by Percentage CPU (%CPU) as it was when you started. Each time you press the F option you can choose a new sort.
Hope that makes sense.
I completed this assignment successfully.