status of interfaces - ifstated and more

2010-09-01 Thread sven falempin
Hello, I am looking for a simple way to check interfaces states, I just read ifconfig, netstat and ifstated manpages. So i may use ifstated to upda

Re: status of interfaces - ifstated and more

2010-09-01 Thread sven falempin
( gmail shorcut :( ) to update a file with status of interfaces. it looks like a 'hack'. So ifstated is event driven (and monitor changes), how should my script check the current state of an interfaces ? without parsing the output of ifconfig who often changes. regards. 2010/9/1 sven falempin

Re: status of interfaces - ifstated and more

2010-09-01 Thread Kevin Chadwick
On Wed, 1 Sep 2010 11:57:46 +0200 sven falempin sven.falem...@gmail.com wrote: ( gmail shorcut :( ) to update a file with status of interfaces. it looks like a 'hack'. So ifstated is event driven (and monitor changes), how should my script check the current state of an interfaces ?

Re: status of interfaces - ifstated and more

2010-09-01 Thread sven falempin
2010/9/1 sven falempin sven.falem...@gmail.com @michal - I don't want to regularly launch a command: i'm looking for a command that answer interface status. Like the ifconfig status. @chadwick - Yes the ifconfig output may be parsed but it may change, (for example the trunk interfaces output