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

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

Hibernate criteria by a list of natural ids -

ios - Lagging ScrollView with UIWebview inside -