Use "strace -p <pid> -f -rT -o strace.out" to see what the process and its children spend time on.
On 7 December 2014 at 03:39, Shlomo Solomon <shlomo.solo...@gmail.com> wrote: > I tried running ps -A before clicking, a few times during the 4 minute > wait and after the GUI started. I then used diff to compare. The only > change I found during the wait was an additional kworker/2:0 (there > were already over 20 kworker processes running). Could this be > significant? I haven't yet run strace as you suggested. > > When the GUI started, I found a MageiaUpdate process and an additional > drakrpm-update process (for a total of 2). I assume the first one is > responsible for the periodic check if new updates are available. > > On Fri, 5 Dec 2014 00:10:06 +0200 > shimi <linux...@shimi.net> wrote: > > > On Thu, Dec 4, 2014 at 8:06 PM, Shlomo Solomon > > <shlomo.solo...@gmail.com> wrote: > > > > > Since upgrading from Mageia 3 to Mageia 4, when I get a > > > notification that updates are available, I click on it but Software > > > Package Update starts only after exactly a 4 minute delay. > > > > > > Any ideas why? > > > > > > > > > > > Maybe it is waiting on some lock file? Package managers has this > > tendency... > > > > Does it really start after 4 minutes, or does it just start showing > > the UI after 4 minutes? See if new process has been created. If > > there's a new process, try to strace -f -p <pid> to see what it is > > waiting on (you probably want to suffix this command with > > [ >update.strace 2>&1 ] as the output will probably become quite > > large. Also you should run this as root if the process launched is > > not in your own UID) > > > > -- Shimi > > > > -- > Shlomo Solomon > http://the-solomons.net > Sent by Claws Mail 3.11.1 - KDE 4.12.15 - LINUX Mageia 4 > > > _______________________________________________ > Linux-il mailing list > Linux-il@cs.huji.ac.il > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il > -- <http://au.linkedin.com/in/gliderflyer>
_______________________________________________ Linux-il mailing list Linux-il@cs.huji.ac.il http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il