Solved

sudo cfagent -qkI

Posted on 2011-02-19
5
480 Views
Last Modified: 2012-05-11
can somebody please give me explaination of this command ? whta does it do ?
thanks
0
Comment
Question by:aashee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 122

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 250 total points
ID: 34935283
sudo - The sudo command is a program that allows users to run programs with the security privileges of another user normally the superuser or root.

cfagent runs on every host and parses one file (or file-set), the configuration of the host is checked against this file and, if desired, any deviations are fixed. cfagent reads a configuration file called cfengine.conf in a directory pointed to by the environment variable CFINPUTS. cfagent performs host integrity and security checks as well as installing and repairing system configuration.

-q (--no-splay)
    Switch off host splaying (sleeping).

-k (--no-copy)
    Do not copy/image any files.

-l (--traverse-links)
    Normally cfagent does not follow symbolic links when recursively parsing directories. This option will force it to do so.

0
 

Author Comment

by:aashee
ID: 34935290
hanccoka,great explaination .
can you please explain about cfagent and cfengine a bit more in detail please.
thanks a lot
0
 
LVL 6

Expert Comment

by:loopfinity
ID: 34935296
hi linux commands man pages really help you when you have difficulties.

just type ---> man cfagent

it will list detailed information about command with its options.
here the options expression
-q (--no-splay)
    Switch off host splaying (sleeping).

-k (--no-copy)
    Do not copy/image any files.
-l (--traverse-links)
    Normally cfagent does not follow symbolic links when recursively parsing directories. This option will force it to do so.
0
 
LVL 6

Assisted Solution

by:loopfinity
loopfinity earned 250 total points
ID: 34935300
the explanations are takesn from http://linux.die.net/man/8/cfagent
0
 
LVL 122
ID: 34935319
cfengine is a language based system specifically designed for testing and configuring unix-like systems attached to a TCP/IP network. You can think of cfengine as a very high level language -- much higher level than Perl or shell. A single statement can result in many hundreds of links being created, or the permissions of many hundreds of files being set. The idea of cfenginge is to create a single file or set of configuration files which will describe the setup of every host on your network.

cfagent runs on every host and parses one file (or file-set), the configuration of the host is checked against this file and, if desired, any deviations are fixed. cfagent reads a configuration file called cfengine.conf in a directory pointed to by the environment variable CFINPUTS. cfagent performs host integrity and security checks as well as installing and repairing system configuration.

http://linux.die.net/man/8/cfagent

0

Featured Post

Get proactive database performance tuning online

At Percona’s web store you can order full Percona Database Performance Audit in minutes. Find out the health of your database, and how to improve it. Pay online with a credit card. Improve your database performance now!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question