!7 // works with certain versions of vnstat. Try apt-get install vnstat module EstimatedMonthlyTrafficPercentage > DynBigNumber { start { doEvery(0.0, 10*60.0, r { if (getMonthlyTrafficLimit() == 0) setValue("Please set traffic limit"); if (!isOnPATH('vnstat)) setValue("vnstat not installed"); else setValue(regexpReplaceWithNothing(",\\d+", parse_vnstat(backtick('vnstat)).thisMonthEstimated)); }); } afterVisualize { componentPopupMenuItem(label, "Set traffic limit...", r setLimit); } enhanceFrame { internalFramePopupMenuItem("Set traffic limit...", r setLimit); } void setLimit enter { inputText("Monthly traffic limit (GB, 0 for unknown)", str(getMonthlyTrafficLimit()), voidfunc(S s) { setMonthlyTrafficLimit(parseLong(s)); }); } }