summarylogtreecommitdiffstats
path: root/nethogst.sh
diff options
context:
space:
mode:
authorMahor12212021-03-17 17:39:13 +0330
committerMahor12212021-03-17 17:39:13 +0330
commit2b7d86f35c49cae87d2a6ddfaa49c30231bbee29 (patch)
treef81cfa8cde423952cf5ad7f201aeb64036e5c2e3 /nethogst.sh
downloadaur-nethogs-parser-git.tar.gz
Initial commit
Diffstat (limited to 'nethogst.sh')
-rwxr-xr-xnethogst.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/nethogst.sh b/nethogst.sh
new file mode 100755
index 00000000000..98d3c49e7e0
--- /dev/null
+++ b/nethogst.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec /usr/bin/nethogs -t > var/lib/nethogs/$(/usr/bin/date +%Y-%m-%d_%H-%M-%S).log