Checking…. tomcat alive and kicking…..

Few dayz ago for one of my work on the freeBSD server, i wanted to check if the tomcat server was running. As in a live server, if the server is not running, whats the point of keeping the server? So i wanted to make sure if the tomcat is running from command-line and run if it is dead. But figuring out the aliveness of the tomcat was the hard part, rest was the shell script. One of my friend said, it will be hard one cause tomcat runs on JVM. I thought there much be a way, so i kept searching. At last, i got a widget which works something like a remote controller for the tomcat server.

Which can be found with name: Tomcat Collar 1.1

But the magic line was this one:
ps -w -A -w |grep "org.apache.catalina.startup.Bootstrap start"

if this returns you something, that means tomcat is alive and …. 🙂
i guess this might save someones wild searching time, like i did for several days.


Digital Library and Information Science

Today, i was searching for a cheap version of any bistable (e-ink) display based eBook device. Yes, i often get these kinda kera (some kinda thought which pops a light on your head, but not that important) to search and get an idea. I was checking if i can effort an eBook device so i can make use of some online ebooks in more flexible way. While i was searching the web, i came across a really cool site related to the title of this post (i bet till now you were scratching your head to get the idea what is the relation between my title and junkies i am posing). its Megan Fox’s site. Site contains a really cool presentation which is a bit off dated, but still holds good amount of info for anyone trying to get a idea over digital/non-digital Library and Information Science.

presentation can be found here.
New addition, same presentation with some extra info at the end of it in here.