I am currently trying to use Plink to run a few commands on a linux server to monitor a couple of things on it such as the disk space, memory, cpu usage.
I have the commands that I want to use but I want to format the output that I get to something a little friendlier to read.
This is the commands I am using inside my batch file.
FOR /F "" %%G IN (C:\Users\username\Desktop\ip_list.txt) DO "C:\Program Files\PuTTY\plink.exe" -ssh -batch username@%%G -pw password "hostname; df | fgrep '/dev/'; free -h; top -bn2 | grep 'Cpu(s)';"
and here is the output that i get
Basically, I would like to just add some lines in between the individual command outputs to make this a tiny bit easier to read. Is this possible without writing the output to a text file?