Query: modstat
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
modstat(2) System Calls Manual modstat(2)NAMEmodstat() - get information for a dynamically loaded kernel moduleSYNOPSISDESCRIPTIONallows processes to get information for dynamically loaded kernel modules. For processes with appropriate privilege, it fills in all the elements of the structure, specified by stbuf, with the information available for the given module identifier module_id. For nonprivileged processes, fills in all information except the address and size of the module object file sections in memory (ms_base, ms_size, ms_bss, ms_bss_size). If the value of get_next_module is TRUE, returns the information for the next module whose identifier is greater than or equal to mod- ule_id. Any module_id associated with a registered module may be queried by The and definitions are: Notes is currently implemented as a macro. Security Restrictions For nonprivileged processes, returns all module information except address and size of module object file sections in memory. To retrieve all information of the module including the address and size of the module object file sections in memory using the process must be a supe- ruser process or a privileged process with privilege. See privileges(5) for more information about the privilege.RETURN VALUEreturns one of the following values: Success. Failure. It sets to indicate the error.ERRORSsets to one of the following values if the corresponding condition is detected. module_id does not match any loaded or registered module when get_next_module is FALSE or module_id is greater than the identifier for any loaded module when get_next_module is TRUE. The Dynamically Loadable Kernel Module feature is not initialized.SEE ALSOkcmodule(1M), modload(2), privileges(5). modstat(2)
Related Man Pages |
---|
modstat(8) - netbsd |
modstat(2) - linux |
modstat(2) - mojave |
modstat(2) - osx |
modstat(2) - centos |
Similar Topics in the Unix Linux Community |
---|
Dynamically loading a module |
kernel module |
module loaded during the start up |