search for: socketsnoop

Displaying 2 results from an estimated 2 matches for "socketsnoop".

2007 Jan 10
0
[DTrace] socketsnoop.d - TCP by PID
G''Day Folks, Well, I had a weekend home in Sydney while inbetween flights and have knocked out a few programs. (I''ve been programming for 23 hours straight, so if there is something really dumb in one my scripts then please excuse me :) # socketsnoop.d UID PID DIR SIZE CMD 0 19886 W 64 ssh mars 0 19886 R 80 ssh mars 0 19915 W 0 finger @mars 0 19915 W 2 finger @mars 0 19915 R 633 finger @mars 0 19915 R 0 finger @mars 0 19886 W 64 ssh mars 0 19886...
2007 Jan 10
13
[DTrace] how to get socket read size
Hi i''m trying to write my first dtrace script apparently i bit off a bit more than i can chew, i want to track io over sockets, i found your socketsize.d that gave me how to track writes, but i''m at a loss how to track reads, frankly i don''t see how your write tracker works because it uses a probe in a function that only takes two arguments but you grab size of write