lm_sensors to MySQL Script

August 31st, 2010 02:39am Mkava No comments

Author: Matt Kava
Dependencies: lm_sensors utility (The lm_sensors package includes a collection of modules for general SMBus: access and hardware monitoring.) Website: http://www.lm-sensors.org/
Created on: Fedora Core 13, v3.1.2 of lm_sensors
License: Creative Commons License Use it and share it.

The Purpose: Log information directly from the utilities output into a MySQL table using bash. No real reason for the script other than “Can I do it?” and “I wonder if I can analyse/graph the data later..”. This is not going to be supported. What you see is what you get.

The Script:

Read more…

Categories: DevBlog Tags: , ,

It’s Sunday… right?

August 29th, 2010 11:31pm Mkava 2 comments

So tomorrow is college again. Classes started last Monday and I only had to swap one class for the same class but with a new professor and time (Saturdays… bleh!). Either way, should be a good semester and hopefully I have plenty of time get some stuff during the semester, unlike the last 4 or 5. Like on Friday night and tonight, I wrote and finished a bash script that parses and logs (into a MySQL table) sensor information related to temperature of my CPU, system, and my fan speed. Which I think is awesome as it works and is setup to run as a cronjob for every */30 * * * * *. =] It was fun doing some shell programming again, after not doing much So hopefully once I have some data, I can start graphing the information into something neat and possibly useful.

Besides that, spent Saturday at my girlfriend’s parents for her dad’s birthday (he’s only 45.. my mom turns 55 later this year with my dad not too far behind..) and got back at nearly 2am. Was a ton of fun heading out there to see them and pester their kittens/cats. And today my girlfriend and I biked around the city the bit. Went to Pancheros for an awesome burrito, and then to a couple movies afterwards (Airbender /sucks/ and Prince of Persia: Sands of Time is pretty awesome throughout [nice visuals, good PoP feel, good stunts, good story surprisingly]). So all in all, fun weekend and… NO TAEKWONDO THIS WEEK!! WOOOOOO! =D

Anywho, back to the grindstone in the morning. Whee..

All-Day Gaming, What Fun!

August 15th, 2010 02:21pm Mkava No comments

Had a bunch of folks over yesterday for all day gaming. Well, sorta. First people starting getting in around 4 or so, when the event on my Google Calendar that I shared with everyone was noon to midnight+. =P Either way, people started showing up and we started playing Halo 3 while I made some awesome home-made pizza (started the dough at like 2 so it’d be ready to go in the oven at 5). Making pizza took longer than I thought but when you have two pizzas coming that are literal mounds of toppings and goodness, you can’t rush it. Either way, after pizza we really set into playing.

Tons of Halo 3 was played. Some off-and-on gaming was done by folks who weren’t playing Halo at the time. Eventually around 11:30pm we got 6 computer rigs together for Rise of Nations. 3 v 3 gets a bit hectic, especially for the folks whoever never played a RTS like RoN before. Either way, it was a lot of fun. Especially when Cody didn’t have a missile shield and everyone kept dropping nukes on his head.. even people on his team. It’s amazing what a little nuking can do the the Armageddon counter… going quickly to zero. Game 2 ended the same way but with only 4 people playing in a Free-For-All game. 30 minutes of people and most people were ready to start development of the last tech and start attacking each other. Using the turn-and-burn tactic with nukes isn’t as effective as it could be, especially when its Nuclear ICBMs and not just the normal missiles. Things seem to die in a much larger area with those ICBMs. Hrm. With everyone calling it good at 4:30am, it was a fun 12 hours plus of gaming, and totally worth it. Looking forward to the next one in probably a half month, this time hopefully on campus though. =)

I may put some photos up soon, if I can get them off my only camera (my phone…). Not too many but enough to warrant a little effort.

People who came: Zach, Cody, D, S, Drew, Sam (and his girlfriend Amanda), Joe (even though he just hung out and didn’t game much), and obviously myself. Hope everyone had fun eating my awesome pizza and playing games with friends. Even Amanda who really looked like she didn’t want to be hanging out with a bunch of geeky gamers. =D

Until next time.

GNU Screen Scrollback Buffer HOW-TO

July 28th, 2010 04:45pm Mkava No comments

Found this how-to about using the scrollback in GNU screen. Incredibly useful feature, a bit danty to play with at first, but with a little work, it’s easy and solid to use. Hit the link below for the awesome article. =)

GNU Screen: Working with the Scrollback Buffer
Categories: Linux-related Tags: ,

Moved Today

July 19th, 2010 08:00pm Mkava No comments

Moved today. Hopefully by now, I am all moved in and on my way back to my parents to return my dad’s truck. Also, I hopefully didn’t get wet when moving.. except for jumping in the pool.

So yay for new apartment.

And.

Scheduled posts.

Categories: Everyday Happenings Tags: , ,