Ch. 4.3 lesson 2 Flashcards
How to get a listing of all running processes ?
“top”
“top - m”
Sorts processees by memory usage
“top -N”
Sorts processees by PID
“top -T”
Sorts processees by running time
“top -P”
Sorts processees by CPU usage
How to switch to descending order ?
-R
How to get static process information ?
“ps”
“ps -f”
Shows full format listing
What are the contents of “/proc” ?
Numbered subdirectory with every running process using their PID
Command to view collective number representing system load ?
“uptime”
Where are log files typically stored ?
“var/log”
What directory stores system and application data ?
/var/log/messages
Command to print the ring buffer ?
“dmesg”
Command to print file type ?
“file”
Command to show a listing of last logged in users ?
“last”