Kbase P110767: How many file handles is my application using?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  11/24/2008 |
|
Status: Verified
GOAL:
How many file handles is my application using?
FACT(s) (Environment):
Linux Intel
UNIX
Progress/OpenEdge Product Family
FIX:
1) Start the application
2) Load all the procedures or files typically in use by the program
3) Find the PID number of the process
4) Run the following system command in a different shell on the machine:
lsof -p <pid number> | wc -l
The number output by the above command is how many file handles are in use by the program.
This is only the total in use at the stage the lsof is run.
Using other procedures of the program could invoke more file handles at a later stage within the program.