Garayed.com  

Go Back   Garayed.com > Linux
FAQ Members List Calendar Search Today's Posts Mark Forums Read


Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-19-2007, 01:59 PM
spec
 
Posts: n/a
Default strace newbie

HI all, I ran an strace on a "hung" mysql connection:

write(1, "mysql> ", 7) = 7
read(0, "\33", 1) = 1
read(0, "[", 1) = 1
read(0, "A", 1) = 1
write(1, "show tables;", 12) = 12
read(0, "\r", 1) = 1
write(1, "\n", 1) = 1
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost isig icanon
echo ...}) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigaction(SIGINT, {0x8054d02, [INT], SA_RESTART}, {0x8064db3, [],
0}, 8) = 0
rt_sigaction(SIGTERM, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0
rt_sigaction(SIGQUIT, {0x8054d02, [QUIT], SA_RESTART}, {0x8064db3, [],
0}, 8) = 0
rt_sigaction(SIGALRM, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0
rt_sigaction(SIGTSTP, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0
rt_sigaction(SIGTTOU, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0
rt_sigaction(SIGTTIN, {SIG_DFL}, {0x8064db3, [], 0}, 8) = 0
rt_sigaction(SIGWINCH, {SIG_DFL}, {0x80649a0, [], 0}, 8) = 0
times({tms_utime=0, tms_stime=1, tms_cutime=0, tms_cstime=0}) =
-580542992
fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
read(3, 0x8d00440, 16384) = -1 EAGAIN (Resource temporarily
unavailable)
fcntl64(3, F_SETFL, O_RDWR) = 0
write(3, "\f\0\0\0\3show tables", 16) = 16
read(3,

the show tables never outputs anything

would anyone be so kind as to give a line by line explanation of this
strace in english?

ty
Frank

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 03:38 PM.




LinkBacks Enabled by vBSEO 3.0.0 © 2007, Crawlability, Inc.