You are here

How Long Would a Raspberry Pi Last on AA Batteries?

UPDATE !   I have recently redone the testing with a new method that proved succesful.  Please go to the my new posting How to Test a Raspberry Pi Powered by Alkaline AA Batteries   I really love the Raspberry Pi.  It’s a great platform for someone with limited electronics experience, but much PC experience. When I start to wonder about what kind of invention i would like to make with the RPi, I gravitate to autonomy.  That is, designing a device with the Raspberry Pi centrally, and some peripherals that…

Read More

CACTI Tuning – Script to Monitor Cacti Polling Time

Update 2017!  Review my article then see https://github.com/patrickscottbest/hammerOID my new script that generates this graph automatically for you. One of the most critical points when tuning Cacti is to consider the duration of the polling cycle. It’s important to reduce the amount of time the polling cycle takes for a number of reasons Short polling cycle times result in more avialability of the processor on the system to perform other tasks, such as serving graphs and web pages to the clients Consistently short polling times indicate a lean and trim polling…

Read More

A Quick rundown on the History of Apple Processors

This article is written for a friend of mine who needs the run-down on what’s been going on with processors and Macs. 1)     First Macs had motorola “68k” processors in the old days (until 1995 or so).  68000, 680020 030 040 etc….  This was back in the day when speed in MHz meant everything. This processor was also used for other types of computers (Amiga) that had a similar user interface. 2)     Then the introduction of “PowerPC” processors in 1996.  These were at first 32-bit processors that didn’t just push…

Read More

Handy UNIX Commands – An Ongoing Collection

Mostly solaris, probably similar on other *nix sytems…. Disk Stats $ iostat -xnct 5 tty         cpu tin tout  us sy wt id 3   42  45  1  0 54 extended device statistics r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w  %b device 0.4    3.8   11.6   23.5  0.0  0.0    2.1    1.1   0   0 c1d0 0.0    0.0    0.0    0.0  0.0  0.0    0.0    0.0   0   0 c0t0d0 tty         cpu tin tout  us sy wt id 187  180  54  4  0 43 extended device statistics r/s    w/s   kr/s   kw/s wait actv wsvc_t asvc_t  %w …

Read More

Using AWK – print only phone numbers out of unstructured, unreliably columnised lines

Sorry about the g33ky post, but i was looking for an example of how to use awk for this circumstance.  There’s probably another text-manipulation cli app to do the job, but i just wanted to use awk for this one. Note: Solaris awk is known to be buggy. us the xpg4 version on all solaris boxes, or the “match” function wont work. 1 line of data set example: 20081210 133924638-0500 mmsrb owmmsrelay 193 46 46 Info;MMSRelayTxnLog(220/101)193:46:lc=Op ct=owmmsrelay op=MMBox_view.REQ ms=4.63 uid=114944517818131292 size=0 SrvcID=MMS AppID=”Openwave MMS Relay” AppHost=10.33.233.131 AppPort=8088 MsgID=AElADNwAEADBAC4KIe6D OrigIF=WEB RcptIF=WEB…

Read More