Welcome to the Pandora FMS Module Library

 
This is a library with modules, documentation and tools for Pandora FMS users, both public Open Source and Enterprise. Please use your support credentials (same as used to enter support/ticketing system) in the menu to your right. You will be granted access to a resourceful module library, such as Oracle, VMware, JBoss and others, ready to be used in production enviroments, with official professional support from Artica. If you do not own an enterprise account, you still can browse and download lots of modules, you can even register a free account and contribute with your own modules/tools for other public users.

Home > Operating Systems > Linux

Handles in Linux / Unix

Author: slerena Create in: 04/13/2013 Update in: 01/01/1970
Rating:
Module type : Local module


This simple module gives you opened handles in your SO, by using lsof tool (usually installed or available in the SO addons). Could be easily modified to search on a given process or user only.

Module data

module_begin
module_name Handles
module_type generic_data
module_exec lsof | wc -l
module_end

A modified version to show ONLY INET handles:

module_begin
module_name Handles_INET
module_type generic_data
module_exec lsof -i | wc -l
module_end