From the first I get "1301274733" and from the second I get "1301299358"
Regards,
Saurabh
-----Original Message-----
From: Keith Chadwick [mailto:chadwick_at_fnal.gov]
Sent: Tuesday, March 29, 2011 10:39 AM
To: Saurabh Agarwal; squid-users_at_squid-cache.org
Subject: [squid-users] RE: Squid Up Time is shown as negative
From the looks of your output, it appears to be a counter wrapping issue.
If you are using RHEL or RHEL compatible distribution, what do the
following commands return?
cat /proc/stat | grep btime | awk -F ' ' '{print $2}'
and
date +"%s"
The first should list the system boottime in seconds from the UNIX epoch,
the second should list the current epoch time.
-Keith.
At 10:28 AM +0530 3/29/11, Saurabh Agarwal wrote:
>Resending since earlier mail text got poorly mixed.
>
>Hi All
>
>I am using Squid-2.7.Stable7. The cachemgr info using "squidclient
>-h ip mgr:info" is showing uptime as negative. Below is the output
>from cachemgr. All other output is right and is being shown as +ve.
>
>Resource usage for squid:
> UP Time: -49193.139 seconds
> CPU Time: 0.525 seconds
> CPU Usage: -0.00%
> CPU Usage, 5 minute avg: 0.00%
> CPU Usage, 60 minute avg: 0.00%
> Process Data Segment Size via sbrk(): 2372 KB
> Maximum Resident Size: 0 KB
>
>
>Can someone tell what could be the issue here?
>
>Regards,
>Saurabh
>
>-----Original Message-----
>From: Saurabh Agarwal
>Sent: Tuesday, March 29, 2011 10:27 AM
>To: squid-users_at_squid-cache.org
>Subject: Squid Up Time is shown as negative
>
>Hi All
>
>I am using and using Squid-2.7.Stable7. squidclient -h ip mgr:info
>shown uptime as negative. Below is the output from cachemgr. All
>other output is right and is being shown as +ve.
>
>Resource usage for squid:
> UP Time: -49193.139 seconds
> CPU Time: 0.525 seconds
> CPU Usage: -0.00%
> CPU Usage, 5 minute avg: 0.00%
> CPU Usage, 60 minute avg: 0.00%
> Process Data Segment Size via sbrk(): 2372 KB
> Maximum Resident Size: 0 KB
>
>
>Can someone tell what could be the issue here?
>
>Regards,
>Saurabh
Received on Tue Mar 29 2011 - 05:14:50 MDT
This archive was generated by hypermail 2.2.0 : Tue Mar 29 2011 - 12:00:02 MDT