Solved

sudo cfagent -qkI

Posted on 2011-02-19
5
438 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
  • 2
  • 2
5 Comments
 
LVL 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) earned 250 total points
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
the explanations are takesn from http://linux.die.net/man/8/cfagent
0
 
LVL 117

Expert Comment

by:Andrew Hancock (VMware vExpert / EE MVE)
Comment Utility
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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
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…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

763 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now