moduload man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

moduload(2)							   moduload(2)

NAME
       moduload - unload a kernel module on demand

SYNOPSIS
DESCRIPTION
       allows processes with appropriate privilege to demand unload one or all
       unloadable modules from the running kernel.   A	module	is  considered
       unloadable  if it is not currently in use, if no module depending on it
       is currently loaded, and if the module is not being loaded or  unloaded
       from  the  kernel.  If module_id is set to 0 (zero), attempts to unload
       all unloadable modules, otherwise attempts to unload the module	speci‐
       fied by module_id.

   Notes
       is currently implemented as a macro.

   Security Restrictions
       is restricted to superuser processes or privileged processes.  A privi‐
       leged process requires the privilege to execute the system call.

       See privileges(5), for more information about the privilege.

RETURN VALUE
       On success, returns 0, otherwise it returns -1 and sets to indicate the
       error.

ERRORS
       fails if one or more of the following are true:

	      module_id	    does  not correspond to any valid currently loaded
			    kernel module.

	      The caller is not a superuser process or a privileged process.

	      There are outstanding references to the module, or modules  that
	      depend
			    on	this module are currently loaded, or profiling
			    is enabled, or the module is  in  the  process  of
			    being loaded or unloaded from the kernel.

	      The  Dynamically	Loadable Kernel Module feature is not initial‐
	      ized.

SEE ALSO
       kcmodule(1M), modload(2), privileges(5).

								   moduload(2)
[top]

List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net