Saving nettop output to file (mac)

I am trying to save nettop output from my terminal to a text file (possibly .csv), what I want to do is to highlight different values, in particular, I want to track bytes coming from (so that I can reference this file in another application ) I am not very well versed in bash scripts, but I believe that the right script could do such things, or is there a better way?

+4
source share
1 answer

You can redirect the output of any terminal program to a file using the symbol >. in the terminal try:nettop > output.txt

nettop output.txt. nettop , : nettop | tee output.txt

"" "tee", .

0

All Articles