First of all, I just need to view the outcome of vnstat -t
continually. This command terminal output looks like this:
I tried using a tool called "Argos". I created an Argos script to display the terminal output value as following:
#!/bin/bash
echo "$(vnstat -t)"
But it looks like this:
However, I need to track daily internet usage (download & upload). Is there any way to do this?
答案1
migh it be that vnstat
reduces the output when it detects that a pipe is used?
Try using this:
#!/bin/bash
vnstat -t
as your "Argos script" - does that remedy your "problem"?