So I've been trying to run the following command to check the consumption by the firefox process.
top -b | grep "firefox"
Now I can see the desired output in terminal for it. But now when I try to export it to a file, I'm not able to. The command I'm running is:
top -b | grep "firefox" >> filename or top -b | grep "firefox" > filename
Please help.