EnglishFrenchSpanish

OnWorks favicon

cgsnapshot - Online in the Cloud

Run cgsnapshot in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command cgsnapshot that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


cgsnapshot - generate the configuration file for given controllers

SYNOPSIS


cgsnapshot [-h] [-s] [-t] [-b file] [-w file] [-f output_file] [controller] [...]

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 cgconfig.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 variable is not blacklisted, the whitelist
is checked. If the variable 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

ENVIRONMENT VARIABLES


CGROUP_LOGLEVEL
controls verbosity of the tool. Allowed values are DEBUG, INFO, WARNING or ERROR.

Use cgsnapshot online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    PostInstallerF
    PostInstallerF
    PostInstallerF will install all the
    software that Fedora Linux and others
    doesn't include by default, after
    running Fedora for the first time. Its
    easy for...
    Download PostInstallerF
  • 2
    strace
    strace
    The strace project has been moved to
    https://strace.io. strace is a
    diagnostic, debugging and instructional
    userspace tracer for Linux. It is used
    to monitor a...
    Download strace
  • 3
    gMKVExtractGUI
    gMKVExtractGUI
    A GUI for mkvextract utility (part of
    MKVToolNix) which incorporates most (if
    not all) functionality of mkvextract and
    mkvinfo utilities. Written in C#NET 4.0,...
    Download gMKVExtractGUI
  • 4
    JasperReports Library
    JasperReports Library
    JasperReports Library is the
    world's most popular open source
    business intelligence and reporting
    engine. It is entirely written in Java
    and it is able to ...
    Download JasperReports Library
  • 5
    Frappe Books
    Frappe Books
    Frappe Books is a free and open source
    desktop book-keeping software that's
    simple and well-designed to be used by
    small businesses and freelancers. It'...
    Download Frappe Books
  • 6
    Numerical Python
    Numerical Python
    NEWS: NumPy 1.11.2 is the last release
    that will be made on sourceforge. Wheels
    for Windows, Mac, and Linux as well as
    archived source distributions can be fou...
    Download Numerical Python
  • More »

Linux commands

Ad