tcl - how to calculate buffsize of a output in bytes? -



tcl - how to calculate buffsize of a output in bytes? -

router show command output execeeds 1000 lines...i trying capture in buffer.,i not sure of buffersize (which passed argument)

how calculate

i captured ouput in variable , checked string bytelength

expect1.11> puts [string bytelength $ram] 836942

but passing buffersize 1200000 not capturing 3/4th output.., tired of increasing on , over.,, way other way calculate buffersize

tcl

Comments

Popular posts from this blog

web services - java.lang.NoClassDefFoundError: Could not initialize class net.sf.cglib.proxy.Enhancer -

Accessing MATLAB's unicode strings from C -

javascript - mongodb won't find my schema method in nested container -