--

I did not get your point at this, devision by 2 to make it per second? I wanted to get result in Meba Bytes so I have done below things

round(int(meas_2['netdev']['INTERNET_tx'], base=16) / 1024 / 1024)

it works perfect, I have tested by downloading 100 Mega Bytes file.

At least division by 2 is not giving me correct result.

Sorry if I am wrong, explain me, thanks, by the way nice article. I have used this script on Raspberry Pi.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

--

--

Siddhpura Amitkumar
Siddhpura Amitkumar

Written by Siddhpura Amitkumar

📱 Android Engineer, 📝 Writer, 💻 Open Source Contributor, Techie, IoT, Interactive Projects, ☁ AWS, Google Cloud, Firebase, Python, React.

No responses yet

Write a response