cgsnapshot man page on Mageia

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


CGSNAPSHOT(1)		       libcgroup Manual			 CGSNAPSHOT(1)

NAME
       cgsnapshot - generate the configuration file for given controllers

SYNOPSIS
       cgsnapshot  [-h]	 [-s] [-t] [-b file] [-w file] [-f output_file]	 [con‐
       troller] [...]

DESCRIPTION
       cgsnapshot generates the cgconfig compatible configuration file for the
       given  controllers.  If no controller is set, then cgsnapshot shows all
       mounted hierarchies.  The output is in the same format  as  the	cgcon‐
       fig.conf configuration file.

       -b file
	      Display only variables from the blacklist.  The default location
	      of the blacklist is /etc/cgsnapshot_blacklist.conf.   This  list
	      contains all variables which should be ignored by the cgsnapshot
	      If the variable is blacklisted, it will not be displayed.	 If it
	      is not present on the blacklist, the whitelist is checked.

       -h, --help
	      display this help and exit

       -f, --file
	      Redirect the output to output_file

       -s, --silent
	      Ignore all warnings

       -t, --strict
	      Do not display the variables which are not on the whitelist

       -w file
	      Set  the	blacklist  configuration file.	This list contains all
	      variables which should be displayed by cgsnapshot If  the	 vari‐
	      able is not blacklisted, the whitelist is checked.  If the vari‐
	      able is on the whitelist, it is displayed by cgsnapshot  If  the
	      variable	is not on the whitelist, the variable is displayed and
	      a warning message is produced.  By default the whitelist is  not
	      used.

	      The  warning message can be omitted using the -s, --silent flag.
	      If the -t, --strict flag is used, the variable which is  not  on
	      the whitelist is not displayed.

       controller
	      defines the controller whose hierarchies will be output

FILES
       /etc/cgsnapshot_blacklist.conf
	      default blacklist

       /etc/cgsnapshot_whitelist.conf
	      default whitelist

       /etc/cgconfig.conf
	      default libcgroup configuration file

SEE ALSO
       cgconfig.conf (5)

Linux				  2010-07-28			 CGSNAPSHOT(1)
[top]

List of man pages available for Mageia

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