Hello Everybody,

I was recently looking some code ... The person who wrote the code was using the ping command to send some data to the google.com and then he recovered some statistics from mdev ... This link contains the source code I am referring to ...

My question is I am unable to understand the significance of mdev here ... I ran the mdev command on my Ubuntu and the command is taking forever to come back ...

Can anybody explain the significance of mdev ?

7 Years
Discussion Span
Last Post by Momerath

The author of that code is just trying to return the last line of the ping output. They figured that mdev only occurs in the line they want data from, so that was a good thing to grep.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.