this post was submitted on 24 Oct 2023
2 points (100.0% liked)

Self-Hosted Main

502 readers
1 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

For Example

We welcome posts that include suggestions for good self-hosted alternatives to popular online services, how they are better, or how they give back control of your data. Also include hints and tips for less technical readers.

Useful Lists

founded 1 year ago
MODERATORS
 

Hello Selfhosters!!,

I am using Raspberry Pi to selfhost many things and looking for ways to track my data usage (what is the total transfer over period of months). So that I can choose right plan for my broadband connection.

Appreciate your help.

top 2 comments
sorted by: hot top controversial new old
[โ€“] [email protected] 1 points 11 months ago
[โ€“] [email protected] 1 points 11 months ago

I just have a cron job that runs "ifconfig | logger" once a week. When I want to know how much data has been sent or received, I subtract the RX bytes or TX bytes from the appropriately timestamped entries and divide by the time difference. Easy-peasy.