I dunno if this is a good idea, but when I get bored on the job, I eat (I part-time in a bakery). Or if you are able to, take a walk around the office or read a magazine. If you can go online, visit some humor sites. Or do research on stuff you're interested in. In my last job, I would read up on stuff I was interested/curious about. I learned a bunch about home theater, firearms, Christianity, and other stuff. Maybe read philosophical/theological stuff if you are interested. Or go shopping online and find the best product/price ratio for computer parts, cell phone plan, or whatever. I hope you get some ideas from that.
If you can't go online, find a hobby or something. I learned how to use an abacus a really long time ago and if I was at my last job, I'd probably practice some. Or maybe learn to play an instrument if no one's around. I think the best way to use the time is to learn something "cool." Good luck on finding the best way to kill time!
http://www.howstuffworks.com is a pretty good site to read and learn about stuff.