User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: Pi Uptime

Mon Feb 04, 2013 8:38 pm

I'm glad you took my answer with the good grace it was intended :)

I have only ever run my Pi headless, and it hides behind my router, with power in one end, and ethernet out its... um.... errr.... "Pi hole" ?

So although I think it looks a bit janky having ports on all sides, it actually doesn't impact me, and overall, the Pi is a thing of beauty anyway.

Is powering via GPIO easy?

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Pi Uptime

Mon Feb 04, 2013 8:48 pm

its easy to power via the gpio BUT it bypasses the normal dc protection so a good regulated psu is required and you have to be careful, but so far so good here
pin 2 is 5+
pin 6 is ground
gpio-pinout.gif
gpio-pinout.gif (39.89 KiB) Viewed 3613 times
http://212.159.76.122:81/serendipity/

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: Pi Uptime

Mon Feb 04, 2013 9:01 pm

Oh, so just bang 5V on there and she is good to go.

But gotta be good power.

Is this more suitable to a bench setup where a decent regulated power supply already exists?

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Pi Uptime

Mon Feb 04, 2013 9:12 pm

i use a fairly cheap power supply made for cctv installs, only a few quid, and it will fit nicely into an enclosure hopefully a bit smaller than this one
http://www.ebay.co.uk/itm/330687475622? ... 1423.l2649
pi's are luckily cheap enough to have more than one, so makes playing a bit les risky
http://212.159.76.122:81/serendipity/

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Pi Uptime

Wed Feb 13, 2013 12:20 am

Screen Shot 2013-02-13 at 00.19.30.jpg
Screen Shot 2013-02-13 at 00.19.30.jpg (42.62 KiB) Viewed 3548 times
http://212.159.76.122:81/serendipity/

User avatar
SN
Posts: 1014
Joined: Mon Feb 13, 2012 8:06 pm
Location: Romiley, UK
Contact: Website

Re: Pi Uptime

Wed Feb 13, 2013 9:13 am

hee hee - this is becoming a 'whose gonna blink first competition!' :lol:
Steve N – binatone mk4->intellivision->zx81->spectrum->cbm64->cpc6128->520stfm->pc->raspi ?

User avatar
tonyhughes
Posts: 951
Joined: Wed Dec 26, 2012 3:46 am

Re: Pi Uptime

Wed Feb 13, 2013 6:59 pm

SN wrote:hee hee - this is becoming a 'whose gonna blink first competition!' :lol:
My uptime is bigger than your uptime, and I have a gold plated case.

:mrgreen:

adream
Posts: 23
Joined: Fri Jul 06, 2012 4:15 pm
Contact: Website

Re: Pi Uptime

Fri Feb 21, 2014 4:08 pm

Code: Select all

root@rasbian:~# uprecords
     #               Uptime | System                                     Boot up
----------------------------+---------------------------------------------------
->   1   354 days, 13:00:03 | Linux 3.6.11+             Mon Mar  4 03:07:57 2013
     2   113 days, 00:57:10 | Linux 3.2.27+             Tue Oct 16 22:04:41 2012
     3    19 days, 13:01:30 | Linux 3.2.27+             Thu Feb  7 12:53:10 2013
     4     1 day , 00:23:08 | Linux 3.6.11+             Sun Mar  3 02:44:27 2013
     5     0 days, 12:05:07 | Linux 3.2.27+             Thu Feb  7 00:47:44 2013
     6     0 days, 02:56:40 | Linux 3.6.11+             Sat Mar  2 21:30:25 2013
     7     0 days, 02:16:41 | Linux 3.6.11+             Sun Mar  3 00:27:24 2013
     8     0 days, 00:16:47 | Linux 3.2.27+             Wed Feb  6 21:16:37 2013
----------------------------+---------------------------------------------------
NewRec   241 days, 12:02:52 | since                     Tue Jun 25 05:05:06 2013
    up   488 days, 20:57:06 | since                     Tue Oct 16 22:04:41 2012
  down     3 days, 22:06:13 | since                     Tue Oct 16 22:04:41 2012
   %up               99.204 | since                     Tue Oct 16 22:04:41 2012
http://212.159.76.122:81/serendipity/

Ddanjovi
Posts: 3
Joined: Wed Feb 10, 2016 10:15 am

Re: Pi Uptime

Wed Feb 10, 2016 10:18 am

Just type top into your terminal to get the uptime.
I'm on 30 days so far with no problems to report. :)

User avatar
Offcenter
Posts: 184
Joined: Wed Jul 31, 2013 4:57 pm
Location: Northwestern New Jersey USA

Re: Pi Uptime

Wed Feb 10, 2016 6:12 pm

My Pi B+ running my website is at 308 days.
My Pi 2 just running Midori on the desktop is at 104 days.
George in New Jersey.
(learning a little bit every day.)
(and darned confused most of the time!)

User avatar
rpdom
Posts: 18162
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Pi Uptime

Wed Feb 10, 2016 6:29 pm

Ddanjovi wrote:Just type top into your terminal to get the uptime.
I'm on 30 days so far with no problems to report. :)
Or type "uptime" to not have to bother with the constant output from "top" :)

Code: Select all

rpdom@raspi4:~$ uptime
 18:28:43 up 43 days,  9:35,  1 user,  load average: 0.32, 0.19, 0.14

User avatar
RaTTuS
Posts: 10748
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Pi Uptime

Thu Feb 11, 2016 7:59 am

or install uptimed

Code: Select all

sudo apt-get update && sudo apt-get install -y uptimed
then you just

Code: Select all

uprecords
     #               Uptime | System                                     Boot up
----------------------------+---------------------------------------------------
     1   387 days, 02:56:48 | Linux 3.2.0-26-generic    Tue Sep 17 10:16:03 2013
     2   125 days, 20:13:18 | Linux 3.2.0-26-generic    Thu Oct  9 13:20:55 2014
     3   122 days, 01:56:31 | Linux 3.2.0-26-generic    Wed Jul 18 09:56:22 2012
     4   110 days, 15:22:33 | Linux 3.2.0-26-generic    Sat Nov 17 17:56:51 2012
->   5   105 days, 22:31:53 | Linux 3.13.0-61-generic   Wed Oct 28 09:25:28 2015
     6    89 days, 21:55:44 | Linux 3.2.0-26-generic    Thu May 23 13:02:07 2013
     7    86 days, 03:29:31 | Linux 3.2.0-26-generic    Mon May 18 09:33:57 2015
     8    82 days, 05:35:34 | Linux 3.2.0-26-generic    Thu Feb 12 08:40:16 2015
     9    76 days, 02:37:50 | Linux 3.2.0-26-generic    Fri Mar  8 09:22:30 2013
    10    76 days, 01:19:09 | Linux 3.13.0-61-generic   Thu Aug 13 09:04:33 2015
----------------------------+---------------------------------------------------
1up in     4 days, 16:50:41 | at                        Tue Feb 16 00:48:00 2016
no1 in   281 days, 04:24:56 | at                        Fri Nov 18 12:22:15 2016
    up   1304 days, 12:58:2 | since                     Mon Jul 16 12:10:04 2012
  down     0 days, 07:48:55 | since                     Mon Jul 16 12:10:04 2012
   %up               99.975 | since                     Mon Jul 16 12:10:04 2012
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

tofflock
Posts: 14
Joined: Mon Mar 05, 2012 11:53 am

Re: Pi Uptime

Sat Aug 27, 2016 11:38 am

My humble mailserver (I know it can't be verified, but it gives me a warm feeling knowing I can depend on it!)

Code: Select all

fmail@mailgate ~ $ uptime
 12:26:00 up 560 days, 9 min,  2 users,  load average: 0.00, 0.01, 0.10

BeJay
Posts: 32
Joined: Mon Aug 06, 2012 1:52 pm
Location: Western Australia

Re: Pi Uptime

Wed Apr 18, 2018 1:50 pm

Genuine Pi v1 running my radio mod server:
pi@pimachine ~ $ uptime
21:40:03 up 1676 days, 2:59, 1 user, load average: 1.02, 1.07, 1.12

pi@pimachine ~ $ uprecords
uptimed: no useable database found.
# Uptime | System Boot up
----------------------------+---------------------------------------------------
-> 1 1676 days, 03:15:2 | Linux 3.6.11+ Sun Sep 15 18:40:04 2013
----------------------------+---------------------------------------------------
NewRec 1676 days, 03:15:2 | since Sun Sep 15 18:40:04 2013
up 1676 days, 03:15:2 | since Sun Sep 15 18:40:04 2013
down 0 days, 00:00:00 | since Sun Sep 15 18:40:04 2013
%up 100.000 | since Sun Sep 15 18:40:04 2013

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 28358
Joined: Sat Jul 30, 2011 7:41 pm

Re: Pi Uptime

Wed Apr 18, 2018 2:06 pm

Wow! Have passed on to the bosses - that's amazing!
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

BeJay
Posts: 32
Joined: Mon Aug 06, 2012 1:52 pm
Location: Western Australia

Re: Pi Uptime

Mon Apr 23, 2018 1:34 pm

Still going strong! :)

Return to “Beginners”