Using Solaris source code + DTrace

Brian Leonard wrote an excellent blog post about how to use DTrace, how to show details about specific probes, and then using the source code in conjunction with his findings to understand exactly what was happening within that probe.  if you’re starting to deep dive into DTrace, this is an excellent article for learning these crucial steps!

Serve out content over HTTP from your cwd immediatly

Ever want to immediatly serve content from a specific directory over HTTP, but didn’t want to bother messing with httpd.conf or other webserver configiurations?

If you’ve got Python installed, this is a snap.  Execute python with the SimpleHTTPServer module, using port 8080 so there isn’t a need to elevate privs to root.

$ python -m SimpleHTTPServer 8080
Serving HTTP on 0.0.0.0 port 8080 …

Sure enough, pointing a browser to the IP address :8080 of the box hits my home directory listing.  Super easy, super fast, super simple!

I use this to serve content to my PS3.  The PS3 doesn’t support NFS or CIFS, so to download content to the hard drive, the best method is by pulling it over HTTP with the embedded web brower.   On my MacBook, I change into the directory containing whatever media I want to transfer, fire up HTTP, and suck it down to the hard drive on the PS3.  Nice!

Package not found support in Fedora 12

I’ve been a long time reader of arstechnica, and really dig their technology reviews. I just came across their Ars takes a first look under the hood of Fedora 12 article, and was stoked when I read the following:

“PackageKit, the package management framework, has also received some intriguing enhancements in Fedora 12. A new customization for the bash shell will detect when the user attempts to run a command from a package that is not installed and will offer to automatically install the package. This is not fully integrated yet, but users who want to test it can install the Packagekit-command-not-found package.”

I am rather stoked that the Fedora developers decided to implement this! Killer job arstechnica on the article, and my sincere thanks goes out to the Fedora developers for implementing this!

Concert Review: AC/DC

It seems like just yesterday my best friend Dan told me about AC/DC, and put the Back in Black album in his CD player. I was floored by the music I was hearing, especially “Hells Bells”, “Givin The Dog A Bone” and my personal all time favorite AC/DC tune, “Back In Black.” Well, I was fortunate enough to get to see AC/DC perform live this week, and what an AMAZING experience!

The band came out in their typical attire (Brian Johnson in a cutoff shirt, Angus Young in his well known shorts and tie, etc.), and they sounded clear, focused and energized from the minute they started playing their instruments! The opening song “Rock N’ Roll Train” sounded amazing, and their stage presence absolutely floored me (Angus still has his classic kick and strut!).

The biggest surprise of the evening was the song “Whole Lotta Rosie,” which had one of the coolest backdrops of any song I’ve ever heard (you need to go see them to understand what I’m talking about). In addition to “Rock N’ Roll Train,” the band also played their big hits including “Back In Black,” “TNT,” “Dirty Deeds Done Dirt Cheap,” Hells Bells,” “Highway to Hell,” and “For those about to rock (we salute you)” live and in their entirety!

Now if I had to rank the show on a one to ten scale, I would definitely have to say the show went to eleven. It ranks in my top ten, which given the number of shows I’ve attended, is a hard feat to muster. So if the guys from AC/DC come across this short concert review, we here at Prefetch salute you (I say this literally, since I just picked up one of their live albums and a cool t-shirt)!!

Solaris SNMP agent updated to net-snmp version 5.4.1

I just saw that the opensolaris net-snmp software was updated to version 5.4.1:

Author: Vijay HN
Repository: /hg/onnv/onnv-gate
Latest revision: 739325d040fb9f332a2ae9e196de38e06f1ec81b
Total changesets: 1
Log message:
LSARC 2008/355 System Management Agent (SMA1.0) migration to Net-SNMP 5.4.1
6848323 ON package changes required for SMA to net-snmp migration

This is a welcome addition, and will provide admins with a number of new capabilities (e.g., disk monitoring) that aren’t available in the net-snmp 5.0.9 build that is currently part of Solaris!