Exercise
Enhance your skills and understanding with the help of the questions provided in this exercise!
We'll cover the following...
In this exercise, we’ll just learn about a few useful tools to examine virtual memory usage on Linux-based systems. This will only be a brief hint at what is possible; you’ll have to dive deeper on your own to truly become an expert (as always!).
#include<stdio.h> int main() { printf("hello, world\n"); return 0; }
Questions
-
The first Linux tool you should check out is the very simple tool
free
. First, typeman free
and read its entire manual page; it’s short, don’t worry! -
Now, run
free
, perhaps using some of the arguments that might be useful (e.g.,-m
, to display memory ...