Hello!
I've been pondering a while with SSH.NET library. I'm trying to create an application which connects to server through ssh, launches a program that gives continuous output in a way that the output can be updated to my program in real time.
a good example of a program whose output I'd like to collect would be linux Top command which gives real time information of system status http://linux.about.com/od/commands/l/blcmdl1_top.htm
I've managed to get input and output working with streams so far but the truly asynchronous collecting of output is beyond my reach.
Now I've tried to find similar subjects from discussions forums to no avail. So my question is does the library support this kind of case at all? Or do I have to resort to some kind of polling if I want to make this kind of functionality? If someone knows how to do this kind of functionality or a library/tool for this I'd really appreciate if you could point me to the right direction.
Thank you in advance!
I've been pondering a while with SSH.NET library. I'm trying to create an application which connects to server through ssh, launches a program that gives continuous output in a way that the output can be updated to my program in real time.
a good example of a program whose output I'd like to collect would be linux Top command which gives real time information of system status http://linux.about.com/od/commands/l/blcmdl1_top.htm
I've managed to get input and output working with streams so far but the truly asynchronous collecting of output is beyond my reach.
Now I've tried to find similar subjects from discussions forums to no avail. So my question is does the library support this kind of case at all? Or do I have to resort to some kind of polling if I want to make this kind of functionality? If someone knows how to do this kind of functionality or a library/tool for this I'd really appreciate if you could point me to the right direction.
Thank you in advance!