Re: total uptime between shutdowns

2011-07-04 Thread Steve G.
What package does it come in - procps, rwho or both? 2011/7/4 Tom Rosenfeld > > Thanks I'll give it a try when I have some time to play. > > > > 2011/7/4 Ricardo F > >> Hello, >> >>You can use "tuptime" http://sourceforge.net/projects/tuptime/ it >> works well for count time between restar

Re: total uptime between shutdowns

2011-07-04 Thread Tom Rosenfeld
Thanks I'll give it a try when I have some time to play. 2011/7/4 Ricardo F > Hello, > >You can use "tuptime" http://sourceforge.net/projects/tuptime/ it works > well for count time between restarts and the number of total restarts. > > > Regards > > __

Re: total uptime between shutdowns

2011-07-04 Thread Ricardo F
Hello, You can use "tuptime" http://sourceforge.net/projects/tuptime/ it works well for count time between restarts and the number of total restarts. Regards ___ Linux-il mailing list Linux-il@cs.huji.ac.il

Re: total uptime between shutdowns

2011-02-01 Thread Tom Rosenfeld
Thanks for all your tips! I found that the information is basically available in 'last -x'. Below is a rough script I put together to estimate total times rounded to hours: Thanks, -tom #!/bin/bash # # Compute total hours machine has been running, minus time

Re: total uptime between shutdowns

2011-02-01 Thread Etzion Bar-Noy
Your solution will work, of course, only on a tidy shutdown. For unplanned shutdown (aka - power failure) it will not work. Ez On Tue, Feb 1, 2011 at 10:18 AM, Omer Zak wrote: > On Tue, 2011-02-01 at 10:00 +0200, Tom Rosenfeld wrote: > > Hi Guys, > > > > Is there a tool that will show me the to

Re: total uptime between shutdowns

2011-02-01 Thread Baruch Siach
Hi Omer, Tom, On Tue, Feb 01, 2011 at 10:18:41AM +0200, Omer Zak wrote: > 2. The 'uptime' command gives the uptime since last reboot. You may > want to add 'uptime >> /var/log/my_uptimes_log.txt' to the shutdown > script, and rotate & process, using a custom Perl script, > the /var/log/my_uptime_

Re: total uptime between shutdowns

2011-02-01 Thread Omer Zak
On Tue, 2011-02-01 at 10:00 +0200, Tom Rosenfeld wrote: > Hi Guys, > > Is there a tool that will show me the total uptime (availability) of a > machine between reboots? > That is, if the machine was up for 24 hours and then shutdown for an > hour and then up for 23 hours I want an answer of 47. >

Re: total uptime between shutdowns

2011-02-01 Thread Yedidyah Bar-David
On Tue, Feb 01, 2011 at 10:00:52AM +0200, Tom Rosenfeld wrote: > Hi Guys, > > Is there a tool that will show me the total uptime (availability) of a > machine between reboots? > That is, if the machine was up for 24 hours and then shutdown for an hour > and then up for 23 hours I want an answer of

Re: total uptime between shutdowns

2011-02-01 Thread shimi
2011/2/1 Tom Rosenfeld > Hi Guys, > > Is there a tool that will show me the total uptime (availability) of a > machine between reboots? > That is, if the machine was up for 24 hours and then shutdown for an hour > and then up for 23 hours I want an answer of 47. > > I need this for charge-back of

total uptime between shutdowns

2011-02-01 Thread Tom Rosenfeld
Hi Guys, Is there a tool that will show me the total uptime (availability) of a machine between reboots? That is, if the machine was up for 24 hours and then shutdown for an hour and then up for 23 hours I want an answer of 47. I need this for charge-back of departments using cloud computer which