uadmin man page on Xenix

Man page or keyword search:  
man Server   1130 pages
apropos Keyword Search (all sections)
Output format
Xenix logo
[printable version]



     UADMIN(S)		      XENIX System V		     UADMIN(S)

     Name
	  uadmin - Administrative control

     Syntax
	  #include <sys/uadmin.h>

	  int uadmin (cmd, fcn, mdep)
	  int cmd, fcn;
	  char *mdep;

     Description
	  uadmin provides control for basic administrative functions.
	  This system call is tightly coupled to the system
	  administrative procedures and is not intended for general
	  use.

	  The commands available as specified by cmd are:

	  A_SHUTDOWN
	       The system is shut down.	 All user processes are
	       killed, the buffer cache is flushed, and the root file
	       system is unmounted.  The action to be taken after the
	       system is shut down is specified by fcn.	 If mdep is
	       non-null, then it points to a superblock to be written
	       to the disk.

	       Values of fcn for this cmd are:

	       AD_HALT	 Halt the processor.

	       AD_BOOT	 Reboot the system.

	       AD_IBOOT	 Interactive reboot, prompt for system name.

	  A_REBOOT
	       The system stops immediately without any further
	       processing.  The action to be taken next is specified
	       by fcn as above.

	  A_REMOUNT
	       The buffer cache is invalidated and the superblock is
	       read in again.  This should only be used during the
	       startup process.

	  A_SETCONFIG
	       Some internal systemwide kernel state as specified by
	       fcn is set to a value as specified by mdep.

     Page 1					      (printed 8/7/87)

     UADMIN(S)		      XENIX System V		     UADMIN(S)

	       Values of fnc for this cmd are:

	       AD_BOOTPANIC   If mdep is 1, system
			      panics cause the
			      system to reboot.	 If
			      mdep is 0, the system
			      waits for a keystroke.

     Diagnostics
	  Upon successful completion, the value returned depends on
	  cmd as follows:

		      A_SHUTDOWN	       Never returns.
		      A_REBOOT		       Never returns.
		      A_REMOUNT		       0

	  Otherwise, a value of -1 is returned and errno is set to
	  indicate the error.

	  uadmin fails if the effective user ID is not super-user
	  [EPERM].

     Notes
	  AD_BOOT and AD_IBOOT do the same thing.

     Page 2					      (printed 8/7/87)

[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server Xenix

List of man pages available for Xenix

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