Hello all,
I recently got a MINIX book and have started to read over it I am up to
chapter 4 and there is a question I would like help with.

The book is "The MINIX book, Operating Systems: Design and
Implementation 3rd Edition" (if any of you guys have it) the question
is number 39 on page 480. It seems interesting, but I have no idea
where to start. It is asking how to take chmem and make a new command
called showmem to display the current memory allocation of its
arguments. Any help would be much obliged.