SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
cp using all cpu time
Author Message
Post cp using all cpu time 
Hi,

I noticed that the cp command, invoked by rsnapshot uses all available
cpu time, which makes the system almost unusable. This happens during
the 'cp -al' command which is, imho, not time-critical. Is it possible
to 'nice' cp to a lower priority? Or should I change the perl code for
that?

Thanks,
Adriaan Peeters



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Post cp using all cpu time 
Hi Adriaan,

If you need the feature right now, you can just modify the perl code
directly. It should be in the gnu_cp_al() subroutine or somewhere in
that neighborhood. I'm assuming you're using GNU cp, otherwise you might
just want to nice rsnapshot directly.

I'm hoping to modify/extend the config file syntax in the future, which
will allow a lot more options to be added to rsnapshot. This seems like
it would be a good one :)

-Nathan

Hi,

I noticed that the cp command, invoked by rsnapshot uses all available
cpu time, which makes the system almost unusable. This happens during
the 'cp -al' command which is, imho, not time-critical. Is it possible
to 'nice' cp to a lower priority? Or should I change the perl code for
that?

Thanks,
Adriaan Peeters



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss





-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
rsnapshot-discuss mailing list
rsnapshot-discuss < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rsnapshot-discuss

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB