Doug’s palindrome of the day
Seeing as how today is PI day I found this particulary good, but requires you to drop the last ‘e.’
I prefer pie
Seeing as how today is PI day I found this particulary good, but requires you to drop the last ‘e.’
I prefer pie
I’m stuck in an all day conference call of a sick person telling us what we already know, so I might as well get around to posting about the trip I just got back from. All around it was a great trip. I enjoyed Tempe but the workshop itself was more management than technical so that was a bummer but I made some good contacts and had plenty of side conversations. Some points though:
So it was a good trip. I was completely exhausted Saturday night when I got back to Albany, but with my love of live music I went straight to Mahoney’s to see Replica. Just a couple more days of not working on projects then I fly down to Orlando for another conference.
That’s right A/C. I walked into my hotel room tonight, and the priorities were 1.) turn on A/C 2.) Scan for wireless networks. I guess more to follow but I’ve been traveling for 12-13 hours so I’m going to go relax.
I had this weird problem at work back in December that I thought I’d share. I had noticed that when I started new gnome-terminals, my prompts read:
I have no name!@urbs-19979
Now that’s weird, but I ignored it since the machine was working and I was in a series of meetings. However, when I started trying to ssh into other systems I was getting told
You don’t exist, go away!
At this point I verbally told my laptop “You don’t tell me no” which caused some weird looks but people moved on just fine. Since the problem was now getting in my way I had to look into it. After a while I had realized that by adding a username to my ssh commands (through -l user or user@host) I could use ssh again. This caused me to think something was wrong with /etc/passwd, and I was right. My user couldn’t read /etc/passwd, fixed the permissions and all was well. I forget what I did to muck up /etc/passwd, but I’m sure if I had been using vipw like you’re supposed to I wouldn’t have had this problem…..but then again I would have missed out on the great gems that programmers leave in their programs.
I’ve got a list of tools I think are cool or useful, so I’m going to start sharing my thoughts of them here….isn’t that the point? So today’s tool is iftop. It can be used to display bandwidth usage on an interface. If you can’t figure out what it does based on the name, their description of the tool lays it out well:
iftop does for network usage what top(1) does for CPU usage. It listens to network traffic on a named interface and displays a table of current bandwidth usage by pairs of hosts. Handy for answering the question “why is our ADSL link so slow?”.
Small and simple tool, what’s not to like. Real good for those times that you know something is eating traffic but don’t know what. Check out screenshots of iftop at http://www.ex-parrot.com/~pdw/iftop/.
Update: While perusing through logs it is clear that people find this page because they are looking for information on how to read iftop output. Looking back at this post I clearly stiffed everybody on that aspect of things, and have wanted to post an update on how to interpret what’s going on in iftop. Luckily Techthrob.com took care of that far better than I would be able to do, so go check out his article How to Monitor Network Traffic in Linux.