[virt-tools-list] Reg:Date option in virt-top
Leonardo Augusto Guimarães Garcia
lagarcia at linux.vnet.ibm.com
Wed Feb 13 14:01:36 UTC 2013
Hi Jegan,
To the best of my knowledge and from what I could grab from virt-top
manual page, there is no way of including the current date in virt-top
output. The purpose of virt-top is to show an instantaneous picture of
the virtual-machine states. That's why the date is not shown: the date
of the output is the current system date.
What I would suggest to you is that, as you are calling virt-top from a
script and exporting its output to a CSV file, you can rename your CSV
file to the time it was generated. Or you can get the time of file
creation with stat command.
Best regards,
Leonardo Garcia
On 02/13/2013 05:16 AM, Jeganathan.T wrote:
> HI Team ,
> Currently am using the virt-top command to collect all the vm's history running in multiple hosts.I am running as a script mode and save a CSV file.
> The CSV files contains all the information's except date.Kindly help me to include the current date in the CSV file.
>
> Regards
> Jegan.T
>
>
> _______________________________________________
> virt-tools-list mailing list
> virt-tools-list at redhat.com
> https://www.redhat.com/mailman/listinfo/virt-tools-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130213/ef3279ae/attachment.htm>
More information about the virt-tools-list
mailing list