Kbase P105269: How to know how many files are opened in a HP-UX system ?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/11/2009 |
|
Status: Verified
GOAL:
How to know how many files are opened in a HP-UX system ?
GOAL:
How many file handles are in use in a HP-UX system
GOAL:
How many file descriptors are in use with in a HP-UX system ?
FACT(s) (Environment):
HP-UX
Progress/OpenEdge Product Family
OpenEdge Category: Configuration
FIX:
Type the command:
sar -v <# of samples> <# seconds interval>
Example:
$ sar -v 1 5
This takes one sample of 5 seconds interval.
This command will produce output in the format:
16:45:12 text-sz ov proc-sz ov inod-sz ov file-sz ov
16:45:17 N/A N/A 131/276 0 476/476 0 420/800 0
This shows 420 out of 800 entries in the nfile table are in use.