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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Comments
0 comments
Please sign in to leave a comment.