Map the Shift+F7 to displaying how many processes are currently running
-
Modify the "dmp.c" file (/usr/src/servers/is/dmp.c). Find the struct hook_entry.
Add one hook entry (e.g. {SF7, pscount_dmp, "Display how many processes are running" }) into it.
-
Modify the "dmp_kernel.c" file (/usr/src/servers/is/dmp_kernel.c).
Add the pscount_dmp function into it. Add include "../pm/mproc.h".
-
Modify the "proto.h" file (/usr/src/servers/is/proto.h). Add "void pscount_dmp(void);" to it
-
cd /usr/src
-
make build
-
reboot
-
Try to press Shfit+F5, and Shift+F7 :)