Useful Utilities? 22
kberkit asks: "I've just started as a Web designer/Swiss-army-knife, In the crash course of my travails, I've come across some nifty online tools:
traceroute to find out what route and how long my Web pages are taking to load to outside servers; DNS lookup, to figure out what IP address a page is coming from; and online HTML validators to make sure my code is clean. I'm sure this is old hat to a lot of Slashdotters, but I'd be interested in knowing what other online tools others would suggest for us poor schleps who find ourselves expected to work miracles with little budget for proper software." For those of you who like traceroute and ping, may I recommend mtr as a supplement for your toolbox? What other small utilities have you all found useful in your day-to-day work lives?
Re:traceroute under Linux (Score:2)
The simplest thing to do would be symlinking it into
some utils... (Score:2)
Another one is pngcrush - if you're creating png graphics, they're probably not as small as they could be - pngcrush will optimize the compression without messing with the # of colours in the graphic. Nice.
Another useful thing is to get a BUNCH of browsers, really old ones, too, for testing. I test from Navigator 2.x through the current, and MS IE 3.x through the current. With MS IE, that requires either multiple partitions or multiple machines - 3.x and 4.x don't install onto the same machine *sigh*. Also - don't forget Windows & Macs! Macs are very different, especially in how they render fonts, so test on Macs (Nav & IE there, too!). I had one site that wigged-out _only_ on Nav 4.5 for Mac. Weird. And scripting can get strange on different versions of IE - once had a site's javascript break _only_ on a particular version of IE 3.x for Windows _NT_ only. Strange strange strange.
You would do very well to code for XHTML rather than HTML - it forces you to get into good coding habits since it's rather particular (to put it mildly) about what's valid and what isn't. XHTML supposedly works down to second generation browsers.
Another good thing to test with is 'Bobby' - this is a program that tests for accessibility (for those with disabilities). Most of the web is an accessibility nightmare, unfortunately.
Okay, that's it - sorry no URLs right now...
A great site performance tool (Score:2)
Only thing, the domain name is misleading, as you don't get a traceroute but a measure of the time it took for a page to completely load.
Its great to compare and check webhosts and such. You find one with a great bunch of features but check it a few times during the day and find that their connectivity is pretty shoddy, now you know why the price was too good to be true.
Re:traceroute under Linux (Score:1)
-rwxr-xr-x 1 root root
chmod if it doesn't
Re:traceroute under Linux (Score:1)
If traceroute is in /usr/sbin and that is not in your PATH (type "echo $PATH" to check it), you can add that directory with this command: export PATH=$PATH:/usr/sbin
But if you didn't know that, you also don't know about .profile and other details of your shell.
traceroute under Linux (Score:1)
Re:my .02 dollars (Score:2)
Oh, sorry, they put me, without asking, on an "opt-in" news headline list, where they get revenue for every clickthrough. And even better, I can sign people up for it and get money for their clickthroughs! Feh. And when I contacted them, they of course told me that since I had given them my e-mail in 1997 (where the require it on every order [one.net]), that they had put me on their "marketing" list. And since I was a customer, it couldn't be spam!
So beware of doing business with Group42.
My favorites (Score:4)
Given that you're posting around here, I'm guessing you have a Linux box handy. Here are some of my favorite sysadmin tools:
As far as non-sysadmin stuff goes, here are some of my other favorites:
And if there are particular tasks that have you stumped, come back and ask again. 'Round these parts, we have big toolboxes.
Re:traceroute under Linux (Score:2)
While the later part of this statement is true and solutions have been suggested by other posters the former part is not true. traceroute does have to be run as root. On most distros it is installed as a suid program. To my knowledge this is safe since it is a well tested program without any expliot problems.
_____________
Re:traceroute under Linux (Score:1)
my .02 dollars (Score:3)
The dictionary and gifoptimizer.com are the ones I use the most.
--
Spelling by m-w.com [m-w.com].
A stopwatch (Score:2)
Here' an article on site optimization [lycos.com] I wrote a couple of years ago.
Re:traceroute under Linux (Score:1)
First, check the path where your traceroute executable resides; normally /usr/bin or /usr/sbin (sometimes, although rare, it can be found in /sbin).
If you can't find it, try locate traceroute.
If traceroute still refuses to work, check that /etc/resolv.conf is world-readable (as root, chmod a+r /etc/resolv.conf) - as it may be having difficulties resolving hostnames to IP addresses!
"Hmmmm.... They have the Internet on computers now ?" - Homer Simpson
Syntax Highlighting Code Editor (Score:2)
I can't count the number of times (in HTML or in any other language) I've accidentally left off the closing part of something (a tag, a comment, whatever) and inadvertantly nullified half of the file. Syntax highlighting is remarkably effecitve at preventing this and making you more productive overall (e.g. questions of "is that the right way to spell that reserved word" are moot when it's a different color when it's right).
On windows, my favorite programmer's editor ($20, 30 day trial shareware) is EditPlus [editplus.com]. Small, fast, incredibly featureful and easy to extend. On Unix, Vim [vim.org] is the way to go (small, fast, simple interface you could learn in 10 minutes, syn coloring, etc.). If you're connecting into a remote unix machine to edit your code, check to make sure (ask the admins if need be) that your terminal emulator on the client machine is et right to support color (e.g. xterm-color for the $TERM variable).
If you're using windows and want a good free SSH and SCP (like a secure, network aware version of cp(unix)/copy(dos)), check out PuTTY SSH [greenend.org.uk]. Putty supports setting the TERM variable on login like I mentioned above. You can also use SSH to "tunnel" other applications over the encrypted stream (like FTP, checking mail, rsync, CVS, X11, etc etc.), but that's beyond the scope of this post (see the docs or do a web search).
--
Why traceroute, like ping, runs suid root. (Score:2)
Tetris on drugs, NES music, and GNOME vs. KDE Bingo [pineight.com].
utils (Score:1)
but sam spade by blighty design has always been quite helpful for the ip side
The HTML validators on the W3 site are quite good,
fp!
ICQ# : 30269588
"I used to be an idealist, but I got mugged by reality."
Re:My favorites (Score:3)
Cricket [slashdot.org] - pretty much the same as mrtg, but a lot more advanced, based on rrdtool, in my opinion a lot more powerful then mrtg and easier to manage
NTOP [ntop.org] a sniffer with a web interface, check out one of the newer snapshots. REALLY useful, probably one of the most useful programs i have ever come around(network admin wise) both are web based
IPSquint! (Score:3)
"You're still having IP conflict problems? See if you can Ping anything. Hmmm. Is it a Windows box? Run IPConfig - anything unusual? OK, try IPSquint; it's a bit more powerful. You've not got it installed? Odd."
Cue some Moe the Barman style fun as one of the developers goes on the hunt for a mythical app called IPSquint. .
my favorites.... (Score:1)
First, who said you need a big budget for "proper software"?
I don't know how many people think of it but I've become very comfortable editing html over a telnet session with vi[m]. SSH with compression turned on is even better then telnet.
Also, sed, ps, find, grep are great little utils. I recently relized I could write quick shell scripts on the command line like this:
$ for x in `ls *.html`; do echo $x; done
I know that is very simple but it gives you an idea where to start.
Leknor
Tools on an ISP's site (Score:1)
JMeter! (Score:1)
Thanks (Score:1)