View Single Post
Old 07-26-2013, 08:42 AM   #1
met67
Connoisseur
met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.met67 can program the VCR without an owner's manual.
 
Posts: 78
Karma: 165868
Join Date: Jan 2012
Device: Nook Touch
Running strace on Kobo

I've been asked more info on how I run strace on Kobo to gather infos on nickel (see here), so I'll open a new, dedicated, thread.

In order to run strace, you need to have telnet/ftp or ssh access to your kobo, you can find more info on this several threads here in MobileRead.

First step is to download strace.zip from this post and extract the strace executable from the archive.

Next put strace in your Kobo, e.g. in /root (you can use ftp for this).

Now you must flag the command as executable, by using this command from telnet:
Code:
chmod +x /root/strace
In order to use strace, you must launch a new executable or attach to a running process. Since nickel should be already running on your Kobo, you can find its pid with the 'ps' command:
Code:
ps | grep nickel
Suppose that the process id of nickel is 510, you can run strace on it with
Code:
/root/strace -p 510
If you are interested only in file operations, you can use the '-e' option of strace like this:
Code:
/root/strace -e trace=file -p 510
strace has a lot of other options, you can find them in its man page

Hope this helps.
met67 is offline   Reply With Quote