[12:30:32] <MrFrost> Maybe stupid question but how to update document in MongoDB using one terminal command? I need to connect to database find document using "name" field and update one of its fields with new value.
[13:48:05] <talmobi> MrFrost: from the mongo shell or a one-liner from like bash?
[13:50:36] <talmobi> MrFrost: mongo --eval 'db.test.update( { "name": "foo" }, { $set: { "bar": "zoo" }} )' something like that
[13:54:49] <jim87> Hello! I'd like to know when a background indexing has finished. I'd usually top and grep, but in this case it's a remote server and I can't do this trick. Do you have any hint, i.e. querying the mongod about its current CPU usage / running tasks? Thanks :)
[14:21:16] <MrFrost> talmobi: yes, thanks I will check it
[18:11:51] <hbf> SeLinux stops mongod access to /proc/net/(snmp,netstat). audit2allow suggests "allow mongod_t proc_net_t:file read". Should I do that?