Re: shell wrapper to set ioctls before & after a command execution?
- To: debian-amd64@lists.debian.org
- Subject: Re: shell wrapper to set ioctls before & after a command execution?
- From: Goswin von Brederlow <goswin-v-b@web.de>
- Date: Thu, 11 Jul 2013 15:03:25 +0200
- Message-id: <[🔎] 20130711130325.GA26521@frosties>
- In-reply-to: <CA+qYeyrmuqaOCome_hXBy9XDcLusSEYouof5Xh=Qf7GZURXcVw@mail.gmail.com>
- References: <alpine.DEB.2.10.1306061630310.644@capitanata.oa-cagliari.inaf.it> <CA+qYeyrmuqaOCome_hXBy9XDcLusSEYouof5Xh=Qf7GZURXcVw@mail.gmail.com>
On Thu, Jun 06, 2013 at 12:47:07PM -0400, Robert Goley wrote:
> That sounds like a good idea but you would need to blacklist the PIDs of
> the commands called from your backup script as well. Most likely, they are
> the processes opening all of the files to start with. You might want to
> look at using a python script for your backup script so you can more easily
> capture the PIDs of the executed commands.
That seems like a good place to use cgroups.
MfG
Goswin
Reply to: