Need network adapter information in a c program
Platform : redhat ent linux 4
i am working on a c program in which i need some details which are listed below:
> network Adapter Description (name of the hardware).
> the link speed or the bandwidth of the connection.
> the current bandwidth under usage.
can anyone tell me where i can get a library that helps in getting these system information. i've already tried libgtop and libpcap but they dont provide the above mentioned information.also i am not allowed to write anything to the disk.
Last edited by keanu; 09-12-2007 at 08:57 AM.
Reason: better explaination of problem
|