is there any possibility to track number of open files, which are used while Kamailio handle new calls? So far, I tried to use script in bash and start the script using watch
command
FILES=$(ls -l '/proc/'$(pidof kamailio)'/fd' | wc -l)
echo $FILES >> FILES.txt
I got this kind of result:
ls: cannot access '1809' : No such file or directory
ls: cannot access '1808' : No such file or directory
ls: cannot access '1807' : No such file or directory
.
.
.
ls: cannot access '1795/fd' : No such file or directory