How to implement the Linux 'top command' style UI using JAVA?
And How to run jar in server side itself, and i can see the state of the program after i log in SSH.
You could give this a try. I'm assuming that you're looking for an ASCII terminal UI toolkit... which I'd recommend, because terminal codes are rather painful to write by hand.