From 7f48aca014f6d730e2855bb4b59f25b8ba1e7073 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 14 Dec 2015 10:24:58 +0000 Subject: Finish assignment 4 --- CamilStaps-s4498062-Assignment-4/ex3/ex3 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'CamilStaps-s4498062-Assignment-4/ex3') diff --git a/CamilStaps-s4498062-Assignment-4/ex3/ex3 b/CamilStaps-s4498062-Assignment-4/ex3/ex3 index ad3d8a7..2af6409 100644 --- a/CamilStaps-s4498062-Assignment-4/ex3/ex3 +++ b/CamilStaps-s4498062-Assignment-4/ex3/ex3 @@ -5,3 +5,5 @@ b I didn't find anything in the logs. This seems to be because chmods aren't logged. The OS could monitor chmods, and log many chmods on the same file / restrict the number of chmods on the same file within some time frame. + The programs do consume a lot of CPU, which could be detected. This is because they employ busy waiting. We could reduce CPU usage by adding `sleep` instructions in the busy loops. + -- cgit v1.2.3