SCIENTIFIC-LINUX-USERS Archives

December 2007

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Adrian Sevcenco <[log in to unmask]>
Reply To:
Adrian Sevcenco <[log in to unmask]>
Date:
Mon, 24 Dec 2007 22:50:06 +0000
Content-Type:
multipart/signed
Parts/Attachments:
text/plain (1531 bytes) , smime.p7s (3177 bytes)
Troy Dawson wrote:
> Adrian Sevcenco wrote:
>> Hi! It seems that mc is not working.. after launching the mc the cursor
>> just stops and nothing happens. What can i do do debug whats going on?
>> Thank you!
>> Adrian
> 
> There is always strace
>   strace -o /tmp/mc.strace mc
> 
> You can then look at the strace file (/tmp/mc.strace) and see what it's
> stuck on.
> 
> Troy
Thanks for the tip ... in fact is something strange : i forgot about mc
and after ~45 seconds it appeared on the screen.
In trace file i see a lots of
time(NULL)                              = 1198533795
stat64("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2195, ...}) = 0
I run an strace -c but total seconds is 0.002628 which is very strange
as i count 45 second from command to GUI drawing.
this is from strace -c
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 86.68    0.002278         456         5           statfs64
...
...
------ ----------- ----------- --------- --------- ----------------
100.00    0.002628                  1605       169 total


also an strace -cf
% time     seconds  usecs/call     calls    errors syscall
------ ----------- ----------- --------- --------- ----------------
 91.57    0.054312         936        58        26 waitpid
...
...
------ ----------- ----------- --------- --------- ----------------
100.00    0.059310                  6280       921 total

What can i do more?
Thanks for your help!!

and not related :
/etc/X11/xinit/Xsession: line 15: unask: command not found



ATOM RSS1 RSS2