A linux kernel module and a userspace program that communicates with it. (for Operating Systems class)
Call program like:
os2-get -p <PID>
Sends info to the kernel, returns what the kernel module prints.
Call program like:
os2-get -d <name>
Sends info to the kernel, returns what the kernel module prints.
Errors out.