memory usage

Kaushal Shriyan kaushalshriyan at gmail.com
Thu Jan 28 15:24:37 UTC 2010


On Thu, Jan 28, 2010 at 8:51 PM, sktsee <sktsee at tulsaconnect.com> wrote:
> On Thu, 28 Jan 2010 20:11:55 +0530, Kaushal Shriyan wrote:
>
>> Hi,
>>
>> I have the below entries in a file. The first column is time in secs
>> since epoch and the second column is memory usage in Gigs
>>
>> 1261901500: 7.0241442488e+09
>> 1261927850: 6.1331177687e+09
>> 1261954200: 6.6253775790e+09
>> 1261980550: 6.7891714050e+09
>> 1262006900: 6.4857346071e+09
>> 1262033250: 6.3970871424e+09
>> 1262059600: 6.0884974525e+09
>> 1262085950: 6.7245833719e+09
>> 1262112300: 6.6445741304e+09
>> 1262138650: 6.2659324617e+09
>>
>> is there a easy way to convert 1261901500 in a human readable format.
>>
>>
>
> Using the first item as an example
>
> For local time
> $ date -d @1261901500
> Sun Dec 27 02:11:40 CST 2009
Hi

I mean in the form of bash script. I am following
http://mywiki.wooledge.org/BashFAQ/070
Any example of bash code.

Thanks and Regards,

Kaushal




More information about the ubuntu-users mailing list