How to get Information from kernel
Hi all ,
I am going to develop the linux agent , this linux agent will run on the target machine , periodically it will extract information from target machine (The information are memory availability, process running on the server , port information, etc..) and send to the NMS (Network Monitoring System). how to extract this information from linux kernel using (c/c++) and linux system calls. Thanks, Barani |
Hi -
Actually, you probably don't even need to make any special system calls, or use any particular language. Most of what you're looking for is available from the Linux "/proc" filesystem. You can read it any way you want (in any language you prefer), then send it to your NMS in whatever format is most convenient (open a socket, create an XML file - anything at all!) Google for "linux proc filesystem" - you should find lots of info. Good luck .. PSM |
Hi,
Using linux /proc file system how to get the system disk space usage like functionality of the df -h shell command. Thanks Barani |
Discussion continues here:
http://www.linuxquestions.org/questi...g-proc-692457/ |
All times are GMT -5. The time now is 02:23 PM. |