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 ?

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.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.