1

First of all, I just need to view the outcome of vnstat -t continually. This command terminal output looks like this:

Output

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:

Argos output

I need this type of view: enter image description here

However, I need to track daily internet usage (download & upload). Is there any way to do this?

Destroy666
  • 5,299
  • 7
  • 16
  • 35
Sahan
  • 11
  • 1
  • Side note: [What is wrong with `echo $(stuff)`?](https://superuser.com/q/1352850/432690) – Kamil Maciorowski May 19 '23 at 15:19
  • Please replace all linked images with its text. [There](https://stackoverflow.com/help/formatting) you will find information on how to format your question with Markdown. – Cyrus May 19 '23 at 20:35
  • [link](https://cloud.githubusercontent.com/assets/2702526/21953508/7463004c-da5f-11e6-99e1-b8db1167c071.gif) _**i need this type of view**_ – Sahan May 23 '23 at 10:22

1 Answers1

0

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"?

Hannu
  • 8,740
  • 3
  • 21
  • 39
  • https://cloud.githubusercontent.com/assets/2702526/21953508/7463004c-da5f-11e6-99e1-b8db1167c071.gif i need this type of view – Sahan May 23 '23 at 10:18