LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 12-13-2010, 12:24 PM   #1
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 10 (Buster) x64
Posts: 3,863

Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Question How do I calculate the hours usage per day over a certain period?


Hi.

Not exactly a Linux question but I did not know where else to ask.

Between the dates 21-June-2007 to 12-December-2010 there are 1270 days.
If the total cumulative time a hard drive has been active is 344 days (found this via Disk Utility in Ubuntu 10.10) since it was bought 1270 days ago. What is the average usage hours per day?

Thanks.
 
Old 12-13-2010, 12:39 PM   #2
djtoltz
Member
 
Registered: Nov 2003
Location: Eastern North Carolina, USA
Distribution: Mandrake
Posts: 51

Rep: Reputation: 20
If the hard drive usage is telling you that the hard drive has been in use for 344 24 hour days, then it has been in use for 344*24 hours or 8256 total hours. If you want to know the average per day over 1270 days, just divide the # of hours (8256) by the number of days (1270), which would be about 6.5 hours/day.
 
1 members found this post helpful.
Old 12-14-2010, 03:18 AM   #3
linustalman
Senior Member
 
Registered: Mar 2010
Location: Ireland
Distribution: Debian 10 (Buster) x64
Posts: 3,863

Original Poster
Rep: Reputation: 422Reputation: 422Reputation: 422Reputation: 422Reputation: 422
Cheers djtoltz.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Calculate the hours difference b/n timezones in C/C++ sreeni_dd Programming 2 04-12-2012 02:14 AM
bash: time difference and calculate the mid day of the day? frenchn00b Programming 3 05-03-2009 02:03 PM
How many hours a day on your computer? DanTaylor General 24 04-05-2006 08:45 PM
How many hours a day???????? JrLz General 15 04-13-2004 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration