Is it possible to monitor the memory without using any system call in Linux , C language? -
is possible monitor memory (memory watcher) without using system call in linux , c language? beginner in c , have searched lot couldn't find solution except using system calls like:
meminfo , top system calls.
so question is, can access memory , information process , usage of memory each without system call? please help.
on linux, can information reading files in /proc. reading files require making system calls, don't have worry since c library functions open() , read() make system calls you.
read on /proc filesystem, experiment catting files shell, when ready use in c, google tutorial on how read files in c using standard library.
Comments
Post a Comment