how to check number of opened handles
In windows systems, I can check number of opened handles by a process, by simply enabling "hanles" column in taskmanager.
Is there anything similar(command or GUI) in linux, by which I can check number of opened handles by a process? Actually I have created an application, and I want to check if any resource is leaking! |
Code:
ls /proc/whateverprocessnumberyouwant/fd | wc -l Code:
ls -l /proc/whateverprocessnumberyouwant/fd |
Great! Thanks.
|
All times are GMT -5. The time now is 04:35 AM. |