Re: How to track hard drive seeks?(more info/questions)
On 23 Feb, Brian White wrote:
>> I attached strace to the update process and it is doing as it says,
>> sleeps for 5 seconds and then calls bdflush(). I can't watch bdflush
>> because it is a new process everytime.
>
> Have you tried strace with the "-f" option and friends (-o, -ff)?
>
strace -p <update pid> -f didn't trap the bdflush process. This is
the strace chunk of update that gets repeated every 5 seconds if anyone
is interested.
---- SIGALRM (Alarm clock) ---
<... sigsuspend resumed> ) = -1 EINTR (Interrupted system call)
sigreturn() = ? (mask now [ALRM])
time(NULL) = 888350666
sigaction(SIGALRM, {SIG_DFL}, NULL) = 0
alarm(0) = 0
sigprocmask(SIG_SETMASK, [], NULL) = 0
bdflush() = 0
sigprocmask(SIG_BLOCK, [ALRM], []) = 0
sigaction(SIGALRM, {0x40042568, [], 0}, {SIG_DFL}) = 0
time(NULL) = 888350666
alarm(5) = 0
sigsuspend([] <unfinished ...>
Brian
--
Mechanical Engineering servis@purdue.edu
Purdue University http://www.ecn.purdue.edu/~servis
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-user-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: