|
|
GeekTool - Ideas of using it
Beside using it to display some log files and uptime, I also use it to monitor the availability of the different servers (POP3, Mail, HTTP, etc) I need to be up all the time. When all "lights" are green then everything is ok, if a light turns red then I need to check that particular server.
GeekTool - Ideas of using it
What command do you use to display your external IP? Is it ifconfig? If so, what command line options do you supply? I couldn't get ifconfig to do this for me, which is why I'm asking.
GeekTool - Ideas of using it
To get your external IP when using a router, you need to get it from outside (a few websites provides such a service) or use your access to your router (much harder to simply get only the IP).
This is the code I use to get my external IP:
It would be also possible to make a little script to use the output of http://www.showmyip.com/simple/ but remember that they limit you to 300 requests per day.
I hope this helps.
GeekTool - Ideas of using it
I've made myself a little shell script to show me useful status information (date, quote-of-the-day, battery charge, uptime, CPU temperature, disk usage, and now external IP (thanks Gfx!)) Note that battery status and CPU temp use external programs, and I'm not sure if they're redistributable - I'm pretty sure I grabbed them out of some Konfabulator widgets or something, if you want to try to find them. Also, QOTD just reads a file that I created by calling fortune in a cron job, so set that up if you want to use it. Anyway, here's the script:
By the way, the little box characters are escape characters; they denote ANSI color escape codes, which don't work in GeekTool. The easiest thing would just be to delete them.
GeekTool - Ideas of using it
i would like to use this script, but i don't have /usr/local/bin/battery and /usr/local/bin/tempSensor here
GeekTool - Ideas of using it
I like the idea of the icons (green = up) for servers and such, I used ping x.x.x.x but that did not have the desired effect. Nor could I get the icons to appear, care to share your secret here? |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:HintsNo new hintsComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.05 seconds |
|