[lvs-users] IPVSADM Output to Webpage

chris barry Christopher.Barry at QLogic.com
Tue Feb 5 20:44:54 GMT 2008


On Tue, 2008-02-05 at 15:25 -0500, Jason Ledford wrote:
> I am trying to create a script that will output ipvsadm to a html file so I can view the results without ssh.
> 
> When I do ipvsadm I get normal results,
> 
> If I do ipvsadm > test.html
> Test.html has the details of ipvsadm all on one line.  Does anyone have an alternative method for doing this?
> 
> Jason Ledford
> System Support Technician
> The Biltmore Company<http://www.biltmore.com/>
> One North Pack Square
> Asheville, NC 28801
> (828) 225-6127
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users at LinuxVirtualServer.org
> Send requests to lvs-users-request at LinuxVirtualServer.org
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users


write a script that outputs the header, body and pre start tags to
the .html file. then call ipvsadm and output to the same file with >>
instead of >.
then next in the script, write the closing tags.






Search lvs-users Archives
Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort

More information about the lvs-users mailing list