my problem is as such...
I am establishing a telnet session to an IP using telnetlib module. I read the free memory on the board using telnet.write("free\n").
after this i call a system command 'snmpwalk' to walk the MIBs of the IP above.
I again need to establish the session and read the free memory on that IP.
what I observe is, the system command(snmpwalk) is executed before the telnet.write.
what can be done to maintain the flow as mentioned above??