Tempo fa ho installato vnstat per monitorare il traffico internet su un portatile con questo hardware:
Codice: Seleziona tutto
:~$ inxi -Fmz # Fornisce i dati del Sistema Operativo e dell'hardware al momento in uso, compresi dati sulla RAM, ma senza dati personali.
System:
Kernel: 6.8.0-52-generic arch: x86_64 bits: 64
Desktop: LXQt v: 1.4.0 Distro: Lubuntu 24.04.1 LTS (Noble Numbat)
Machine:
Type: Laptop System: ASUSTeK product: X555YI v: 1.0
serial: <superuser required>
Mobo: ASUSTeK model: X555YI v: 1.0 serial: <superuser required>
UEFI: American Megatrends v: X555YI.702 date: 01/30/2019
Battery:
ID-1: BAT0 charge: 4.7 Wh (92.2%) condition: 5.1/37.3 Wh (13.5%) volts: 7.6
min: 7.6
Memory:
System RAM: total: 8 GiB available: 6.69 GiB used: 2.47 GiB (36.8%)
Array-1: capacity: 8 GiB slots: 2 modules: 2 EC: None
Device-1: Channel-A DIMM 0 type: DDR3 size: 4 GiB speed: 1600 MT/s
Device-2: Channel-A DIMM 1 type: DDR3 size: 4 GiB speed: 1600 MT/s
CPU:
Info: quad core model: AMD A8-7410 APU with AMD Radeon R5 Graphics bits: 64
type: MCP cache: L2: 2 MiB
Speed (MHz): avg: 999 min/max: 1000/2200 cores: 1: 1000 2: 1000 3: 998
4: 998
Graphics:
Device-1: AMD Mullins [Radeon R4/R5 Graphics] driver: radeon v: kernel
Device-2: AMD Jet PRO [Radeon R5 M230 / R7 M260DX Radeon 520/610 Mobile]
driver: radeon v: kernel
Device-3: Realtek USB Camera driver: uvcvideo type: USB
Display: x11 server: X.Org v: 21.1.11 driver: X: loaded: radeon
unloaded: fbdev,modesetting,vesa dri: radeonsi gpu: radeon
resolution: 1366x768~60Hz
API: EGL v: 1.5 drivers: kms_swrast,radeonsi,swrast
platforms: gbm,x11,surfaceless,device
API: OpenGL v: 4.5 vendor: amd mesa v: 24.2.8-1ubuntu1~24.04.1
renderer: KABINI (radeonsi LLVM 19.1.1 DRM 2.50 6.8.0-52-generic)
Audio:
Device-1: AMD Kabini HDMI/DP Audio driver: snd_hda_intel
Device-2: AMD FCH Azalia driver: snd_hda_intel
API: ALSA v: k6.8.0-52-generic status: kernel-api
Server-1: PipeWire v: 1.0.5 status: active
Network:
Device-1: Realtek RTL8723BE PCIe Wireless Network Adapter driver: rtl8723be
IF: wlp2s0 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet
driver: r8169
IF: enp3s0 state: down mac: <filter>
IF-ID-1: virbr0 state: down mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio driver: btusb type: USB
Report: hciconfig ID: hci0 state: up address: <filter> bt-v: 4.0
Drives:
Local Storage: total: 931.51 GiB used: 502.33 GiB (53.9%)
ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB
Partition:
ID-1: / size: 48.91 GiB used: 16.65 GiB (34.0%) fs: ext4 dev: /dev/sda6
ID-2: /boot/efi size: 1.25 GiB used: 39.4 MiB (3.1%) fs: vfat
dev: /dev/sda1
Swap:
ID-1: swap-1 type: file size: 512 MiB used: 0 KiB (0.0%) file: /swapfile
Sensors:
System Temperatures: cpu: 54.1 C mobo: N/A
Fan Speeds (rpm): cpu: 2700
GPU: device: radeon temp: 40.0 C device: radeon temp: 39.0 C
Info:
Processes: 225 Uptime: 3h 51m Shell: Bash inxi: 3.3.34
:~$
Codice: Seleziona tutto
:~$ X=3; vnstat -d $X # Mostra il traffico internet degli ultimi X giorni
enp3s0 / daily
day rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
2025-02-07 267,40 MiB | 16,77 MiB | 284,17 MiB | 27,59 kbit/s
2025-02-08 2,42 GiB | 64,26 MiB | 2,48 GiB | 246,65 kbit/s
2025-02-09 0 B | 0 B | 0 B | 0 bit/s
------------------------+-------------+-------------+---------------
estimated -- | -- | -- |
:~$
Come faccio per tenere monitorato sia il traffico su rete fissa, sia il traffico tramite WiFi?
Ringrazio sin d'ora per la risposta.