Created
October 13, 2014 20:38
-
-
Save paulghaddad/e28d9ba24927c2ee061b to your computer and use it in GitHub Desktop.
Level Up 1: Can use htop / df / du to monitor system resources
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Demonstrate the command to check what the remaining disk space is on your laptop. Make sure to use the flag to make the output more readable. | |
df -h | |
2. Navigate to the your home directory, and demonstrate the command to see how much space that directory and each subdirectory takes on disk. | |
du ~ | |
du -d 2 ~ (for a depth of 2) | |
3. Demonstrate the command to see how much memory is currently being consumed on your laptop. Sort the running processes to see which is consuming the most resources. | |
htop | |
F6 (sort by) | |
Choose "RES" | |
4. Completed |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment