<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi Jegan, <br>
<br>
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.<br>
<br>
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.<br>
<br>
Best regards,<br>
<br>
Leonardo Garcia<br>
<br>
On 02/13/2013 05:16 AM, Jeganathan.T wrote:<br>
</div>
<blockquote cite="mid:4D435B38FED5433B8CCA34CAA16721E7@jeganPC"
type="cite">
<div dir="ltr">
<div style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE:
12pt">
<pre><font face="Calibri">HI Team ,</font></pre>
<pre><font face="Calibri">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.</font></pre>
<pre><font face="Calibri">The CSV files contains all the information's except date.Kindly help me to include the current date in the CSV file.</font></pre>
<pre> </pre>
<pre><font face="Calibri">Regards</font></pre>
<pre><font face="Calibri">Jegan.T</font></pre>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
virt-tools-list mailing list
<a class="moz-txt-link-abbreviated" href="mailto:virt-tools-list@redhat.com">virt-tools-list@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/virt-tools-list">https://www.redhat.com/mailman/listinfo/virt-tools-list</a></pre>
</blockquote>
<br>
</body>
</html>