From a3d2d299f4c1c47a36825abb377363e1e8914b75 Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Mon, 1 May 2023 10:29:37 +0300 Subject: [PATCH] vnstats --- content/posts/2022/get_send_server_bytes.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/content/posts/2022/get_send_server_bytes.md b/content/posts/2022/get_send_server_bytes.md index 8a9794b..9da879f 100644 --- a/content/posts/2022/get_send_server_bytes.md +++ b/content/posts/2022/get_send_server_bytes.md @@ -1,6 +1,7 @@ --- title: "🧮 Как определить сколько сервер передал байт в месяц" date: 2022-10-12T00:30:14+03:00 +lastmod: 2023-05-01T10:29:10+03:00 draft: false tags: [linux, tips] --- @@ -19,3 +20,9 @@ tags: [linux, tips] ```sh cat /sys/class/net//statistics/tx_bytes ``` + +## Решение 2: vnStat + +Если надо на постоянной основе такое считать +— рекомендую [vnstat](https://wiki.archlinux.org/title/vnStat_(%D0%A0%D1%83%D1%81%D1%81%D0%BA%D0%B8%D0%B9)) +[\[1\]](https://www.linux.org.ru/forum/admin/16813249?cid=16823352).