Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > Uptime app that uploads uptime to Internet

Uptime app that uploads uptime to Internet
Thread Tools
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 24, 2003, 08:53 PM
 
I'm looking for an application that captures your uptime information (not from Terminal, as I don't want the uptime command executing constantly), then uploads it a page on the Internet, and it is refreshed whenever someone accesses that page. I'd prefer if it were customizable (how it is displayed).

If anyone knows of an app that does anything remotely similar to what I'm talking about, please reply.

Also, I have used Snapperhead but that gathers the uptime not including sleep, so it isn't the true uptime.
     
Dedicated MacNNer
Join Date: Dec 2001
Location: Promised Land
Status: Offline
Reply With Quote
Jan 24, 2003, 11:15 PM
 
Originally posted by Justin Hancock:
I'm looking for an application that captures your uptime information (not from Terminal, as I don't want the uptime command executing constantly), then uploads it a page on the Internet, and it is refreshed whenever someone accesses that page. I'd prefer if it were customizable (how it is displayed).

If anyone knows of an app that does anything remotely similar to what I'm talking about, please reply.

Also, I have used Snapperhead but that gathers the uptime not including sleep, so it isn't the true uptime.
Try the latest beta of ChangeDesktop 2.4 (http://sourceforge.net/projects/changedesktop/).

It has pretty much the same functionality as SnapperHead (+ a lot more) and gets the uptime from the Darwin kernel.

Check out my sig for an example.
G5 2.5 DP/2GB RAM/NVidia 6800 Ultra
PowerBook Al 1Ghz/768MB RAM
6gb Blue iPod Mini
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 25, 2003, 12:03 AM
 
Originally posted by someone_else:
Try the latest beta of ChangeDesktop 2.4 (http://sourceforge.net/projects/changedesktop/).

It has pretty much the same functionality as SnapperHead (+ a lot more) and gets the uptime from the Darwin kernel.

Check out my sig for an example.
How can I edit the output of the page? E.g. mine is http://12.230.18.238:5000...how can I make it so it only exports the uptime?
(Last edited by Justin Hancock; Jan 25, 2003 at 12:24 AM. )
     
Dedicated MacNNer
Join Date: Dec 2001
Location: Promised Land
Status: Offline
Reply With Quote
Jan 25, 2003, 12:45 AM
 
Originally posted by Justin Hancock:
How can I edit the output of the page? E.g. mine is http://12.230.18.238:5000...how can I make it so it only exports the uptime?
The page template is stored in the Application bundle in Contents/Resources/ChangeDesktopDaemon.app/Contents/Resources/page.txt.

You can edit this file in any text editor. Just add HTML comments around any lines you don't want to show in the browser. Note, it is VERY, VERY imortant that you don't delete any thing in this file, just comment it out. An HTML comment is formatted as such:
Code:
<!-- This is a comment that won't show in the browser. -->
HTML comments can span multiple lines.

HTH.

Edit: Forgot to mention. Make sure you only comment out lines between the <body> and </body> tags. Otherwise the HTML won't display correctly.
G5 2.5 DP/2GB RAM/NVidia 6800 Ultra
PowerBook Al 1Ghz/768MB RAM
6gb Blue iPod Mini
     
Mac Enthusiast
Join Date: Dec 2000
Location: Germany
Status: Offline
Reply With Quote
Jan 25, 2003, 12:58 AM
 
Try the latest beta of ChangeDesktop 2.4
this one is nice too!
     
Fresh-Faced Recruit
Join Date: Dec 2002
Status: Offline
Reply With Quote
Jan 25, 2003, 01:18 AM
 
Originally posted by someone_else:
The page template is stored in the Application bundle in Contents/Resources/ChangeDesktopDaemon.app/Contents/Resources/page.txt.

You can edit this file in any text editor. Just add HTML comments around any lines you don't want to show in the browser. Note, it is VERY, VERY imortant that you don't delete any thing in this file, just comment it out. An HTML comment is formatted as such:
Code:
<!-- This is a comment that won't show in the browser. -->
HTML comments can span multiple lines.

HTH.

Edit: Forgot to mention. Make sure you only comment out lines between the <body> and </body> tags. Otherwise the HTML won't display correctly.
Thanks, I'll try that in a bit
     
   
Thread Tools
Forum Links
Forum 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
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 12:11 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2