Not able to print the variable in which popen result of a remote m/c is stored.
Code:
port2_result=os.popen('ipmitool raw 0x3a 0x11 0x2a 0x6f 0x00 8').read()
this is the expression i've written in a script after calling a procedure to establish SSH connection to a remote machine. the same thing works for local machine but after ssh, it's giving the variable as '[ ]'. the ssh procedure is as follows: