Forum: CFEngine Help
Subject: Re: CFEngine Help: Re: [ANNOUNCE] CFEngine Community 3.4.0beta2 is 
released
Author: lauwersw
Link to topic: https://cfengine.com/forum/read.php?3,27604,27648#msg-27648

Mikhail Gusarov Wrote:
-------------------------------------------------------
> > On comments vs handles thing -- I dont think
> comments show up in the output of verbose
> execution, which is why I use handles to document
> my policies.  This way, when I run a policy in
> verbose, I can see exactly what is going on and
> where.
> 
> Please file a bug report -- it is obviously an
> omission.

They definitely do in Nova (2.2.0):


# cf-agent -K -v 
...
nova>    =========================================================
nova>    processes in bundle update (1)
nova>    =========================================================
nova> 
nova> Observe process table with /bin/ps -eo 
user,pid,ppid,pgid,pcpu,pmem,vsz,pri,rss,nlwp,stime,time,args
nova> 
nova>     .........................................................
nova>     Promise's handle: update_processes_mongod
nova>     Promise made by: "mongod"
nova> 
nova>     Comment:  Monitor mongodb process
nova>     .........................................................
nova> 
nova>  ->  Found matching pid 31309
     (root     31309     1 31308  2.4 21.0 7314252 19 432076   8 Sep22 06:44:37 
/var/cfengine/bin/mongod --fork --quiet --logpath /dev/null --dbpath 
/var/cfengine/state --bind_ip 127.0.0.1 --nohttpinterface --nojournal 
--logappend)
nova>  -> No signals to send for mongod
nova>  -> No restart promised for mongod
nova> 
nova>     .........................................................
nova>     Promise's handle: update_processes_cf_serverd
nova>     Promise made by: "cf-serverd"
nova> 
nova>     Comment:  Monitor cf-serverd process
nova>     .........................................................
nova> 
nova>  ->  Found matching pid 31053
     (root     31053     1 31053  3.1  0.6 1076120 19 13380    4 Sep22 08:33:19 
/var/cfengine/bin/cf-serverd)
nova>  -> No signals to send for cf-serverd
nova>  -> No restart promised for cf-serverd
nova> 
nova>     .........................................................
nova>     Promise's handle: update_processes_cf_monitord
nova>     Promise made by: "cf-monitord"
nova> 
nova>     Comment:  Monitor cf-monitord process
nova>     .........................................................


_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to