fche changed the topic of #systemtap to: http://sourceware.org/systemtap; email systemtap@sourceware.org if answers here not timely, conversations may be logged
bendlas has joined #systemtap
scox has joined #systemtap
hpt has joined #systemtap
irker568 has quit [Quit: transmission timeout]
sanoj has joined #systemtap
pwithnall has joined #systemtap
pwithnall has quit [Ping timeout: 256 seconds]
slowfranklin has joined #systemtap
sanoj has quit [Ping timeout: 264 seconds]
pwithnall has joined #systemtap
sanoj has joined #systemtap
pwithnall has quit [Quit: pwithnall]
pwithnall has joined #systemtap
hpt has quit [Quit: leaving]
sanoj has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 264 seconds]
sanoj has joined #systemtap
mjw has joined #systemtap
wielaard has joined #systemtap
n_1-c_k has joined #systemtap
<n_1-c_k> Hi, running 3.1 on debian stable and trying out the network profile example at https://sourceware.org/systemtap/SystemTap_Beginners_Guide/useful-systemtap-scripts.html#nettopsect ...
mjw has quit [Quit: Leaving]
<n_1-c_k> ...it shows xmit_ numbers but recv_ is always zero. Is there any hope of modifying the script to correct? Or best to try a newer version of systemtap?
sanoj has quit [Ping timeout: 260 seconds]
wielaard is now known as mjw
scox has quit [Ping timeout: 264 seconds]
mjw has quit [Quit: Leaving]
mjw has joined #systemtap
mjw has quit [Client Quit]
mjw has joined #systemtap
wcohen has quit [Ping timeout: 255 seconds]
orivej has joined #systemtap
<fche> n_1-c_k, hi
<fche> the netdev.receive probe point needed porting to kernels >3.14
<fche> it's just a one-liner patch to one file; you can probably apply it to your own copy of prebuilt systemtap and go
<n_1-c_k> fche: thanks, I'll look
<fche> (this patch is in the fresh stap 3.3 release)
<n_1-c_k> fche: that worked for me - thanks!
<fche> great
<n_1-c_k> I'll venture to ask a followup question... I'm looking at the results of running that 'nettop' script while I get pages from a web server running there...
<n_1-c_k> The traffic uploaded from the server to send me the pages is shown as 'lighttpd', which is nice. But for the traffic going into the server...
<n_1-c_k> ...it's shown as belonging to 'swapper/0', which is a bit unexpected. Is there some way of having it show something about the receiving process, i.e. the web server?
<fche> I believe at the time the packet is received, there's no way to know which process it is destined to
<n_1-c_k> fche: ah...
orivej has quit [Ping timeout: 264 seconds]
<n_1-c_k> My knowledge of networking is modest but I wonder whether identifying the receiving port and matching that to a socket and then to the process owning the socket would reveal the receiver? But perhaps that's getting outside the realm of what systemtap can be expected to do?
<fche> it's possible but requires coordination of information that's not immediately available
<fche> so stap could do that - track bind/connect ops on a per-process basis
<fche> and match up incoming tcp/udp packets (at the device driver or firewall level) with them
<n_1-c_k> fche: oh! Then I hope someone cleverer than me will accomplish that :)
<n_1-c_k> I think that 'nethogs' must be doing something along those lines but it's interactive-only, it can't save to a log file (I think). I looked at its source code but struggle to make any sense of it.
<fche> aha
<fche> heh, it does it by scanning /proc/*/fd/* to find out what all the processes' filedescriptors are
<n_1-c_k> Yes, and that finds their sockets I think? Then it matches those to connections... somehow.. and uses libpcap for traffic.. somehow. I think.
<fche> very processing-heavy, but works
<n_1-c_k> fche, thanks for your help and comments.
<fche> np
wcohen has joined #systemtap
scox has joined #systemtap
brolley has joined #systemtap
gromero has joined #systemtap
orivej has joined #systemtap
sanoj has joined #systemtap
pwithnall has quit [Quit: pwithnall]
slowfranklin has quit [Quit: slowfranklin]
sanoj has quit [Ping timeout: 240 seconds]
slowfranklin has joined #systemtap
n_1-c_k has quit [Read error: Connection reset by peer]
n_1-c_k has joined #systemtap
slowfranklin has quit [Quit: slowfranklin]
gromero has quit [Ping timeout: 245 seconds]
gromero has joined #systemtap
slowfranklin has joined #systemtap
orivej has quit [Ping timeout: 260 seconds]
slowfranklin has quit [Quit: slowfranklin]
slowfranklin has joined #systemtap
slowfranklin has quit [Client Quit]
scox has quit [Ping timeout: 260 seconds]
orivej has joined #systemtap
scox has joined #systemtap
mjw has quit [Quit: Leaving]
wcohen has quit [Ping timeout: 260 seconds]
brolley has left #systemtap [#systemtap]
gromero has quit [Ping timeout: 240 seconds]
wcohen has joined #systemtap
irker534 has joined #systemtap
<irker534> systemtap: amerey systemtap.git:refs/heads/master * release-3.3-11-gca70fe9 / stap-exporter/USAGE stap-exporter/example1.stp stap-exporter/exporter.py: stap-exporter: initial commit http://tinyurl.com/y8wy5rhp
<irker534> systemtap: amerey systemtap.git:refs/heads/master * release-3.3-12-g1b5ebe3 / stap-exporter/USAGE stap-exporter/example1.stp stap-exporter/exporter.conf stap-exporter/exporter.py stap-exporter/scripts/example1.stp stap-exporter/scripts/example2.stp: stap-exporter: improve configurability, enable automatic session timeouts http://tinyurl.com/y9eyak5o
scox has quit [Ping timeout: 265 seconds]
scox has joined #systemtap
orivej has quit [Ping timeout: 264 seconds]
gromero has joined #systemtap
orivej has joined #systemtap