{ "name": "nethogs", "version": "0.9.0", "summary": "NetHogs: network bandwidth per process", "category": "network", "license": "GPL-2.0-or-later", "homepage": "https://github.com/raboof/nethogs", "source": { "url": "https://github.com/raboof/nethogs/archive/refs/tags/v0.9.0.tar.gz", "sha256": "5961bef2155c05695d2fe7e79aa11194981b5afd1cad9bf1f259c7f30d5487c3" }, "watch": {"kind": "github-tag", "repo": "raboof/nethogs", "tag_regex": "^v([0-9]+(?:\\.[0-9]+)+[a-z]?[0-9]*)$"}, "deps": [ "libpcap", "ncurses" ], "env_packages": [], "static": true, "nss": true, "check": "sbin/nethogs -V 2>&1 | first && if [ -n \"$HOST\" ]; then echo \"nethogs: capture not run in a cross build (qemu-user lacks the ethtool ioctl libpcap asks for)\"; else t=$(mktemp -d) && { (for i in $(seq 1 80); do (exec 3<>/dev/tcp/127.0.0.1/9) 2>/dev/null; sleep 0.1; done) & p=$!; } && { sbin/nethogs -a -t -c 2 -d 1 lo >\"$t/o\" 2>&1; kill \"$p\"; wait \"$p\" 2>/dev/null; has Refreshing <\"$t/o\"; }; fi" }