Hi All,
I'm new to this forum. This is my first question. I'm trying to automate the status related information in our environment. So this is how the output would be.
SEGMENT SERVER PORT1 PORT2 PORT3 PORT4 PORT5
ACS acscsa01 up up up up up
All I'm interested is the first line, which i woud save in some sample.txt
so my sample.txt file would be.
more sample.txt
ACS acscsa01 up up up up up
Having the desired details in the file, Will take each filed from the file
FILED1=ACS
FILED2=acssca01 etc..
And the same would be done for the other 40 servers acssca01-40.
Once i have that i want to send the data through mail in the tabular format as below.
SEGMENT| SERVER PORT1 PORT2 PORT3 PORT4 PORT5
ACS acscsa01 UP UP UP UP UP
FCS acscsa02 UP UP UP UP UP
XCS acscsa03 UP UP UP UP UP
I'm able to get the desired output with out the tabular structure. But, wnat to learn how this to be done.
Would really appreciate if you can refer to link or book for using the html in unix.
Appreciate your response.
---------- Post updated at 01:22 PM ---------- Previous update was at 01:02 PM ----------
Appreciate quick response.