Re: Reg:Date option in virt-top

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

_______________________________________________
virt-tools-list mailing list
virt-tools-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/virt-tools-list

[Index of Archives]     [Linux Virtualization]     [KVM Development]     [CentOS Virtualization]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite Forum]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]     [Video 4 Linux]

  Powered by Linux