This commit is contained in:
Alexander Popov 2023-05-01 10:29:37 +03:00
parent 58989ade54
commit a3d2d299f4
Signed by: iiiypuk
GPG Key ID: E47FE0AB36CD5ED6
1 changed files with 7 additions and 0 deletions

View File

@ -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/<dev>/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).