LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] IPVSADM Output to Webpage

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] IPVSADM Output to Webpage
From: chris barry <Christopher.Barry@xxxxxxxxxx>
Date: Tue, 05 Feb 2008 15:44:54 -0500
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@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> 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.






<Prev in Thread] Current Thread [Next in Thread>