11-11-2014 01:07 PM
I have been working with a TCL that opens a text file...
The problem is that the TCL did not close it...
So now when I do a sh file descriptors its full 127 instance of same file..
Is there a way to clear that cached info without rebooting the gw ?
Thanks LIsandro
Solved! Go to Solution.
11-11-2014 10:38 PM
Hi Lisandro,
If you are looking for file close below is the example.
Example :
set fh [open output.txt r]
set data [read $fh]
close $fh
You can close the call with command "call close"
Thanks,
Raghavendra
11-11-2014 10:38 PM
Hi Lisandro,
If you are looking for file close below is the example.
Example :
set fh [open output.txt r]
set data [read $fh]
close $fh
You can close the call with command "call close"
Thanks,
Raghavendra
12-02-2014 10:50 AM
I was out on Holiday thanks for you reply was happend was that I forgot to close some files and the file descriptor keep opened on the gw was I was looking was to delete that fiel descriptor without rebooting the gw... But finally we had to do that anyways..
Thanks for your reponse..
Regards
Lisandro
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide