Posted by Enzo Canuzzi on 10/24/06 12:42
Hi,
> Any thoughts? I'd prefer not to have to run the script as root,
> incidentally. I realize I could run as root and then just parse the
> output of ifconfig, but I assume there's a more intelligent way to go
> about what I'm trying to do.
You can read in the /proc files. Try for example $cat /proc/net/dev.
[Back to original message]
|