G''Day Folks,
I''ve just rewritten iosnoop so that uses command line arguments (I
caved
in and used a little Bourne shell for this - hence it''s lost
it''s ".d"
extension). It''s much more useful now.
# iosnoop -h
USAGE: iosnoop [-a|-A|-Degstv] [-d device] [-f filename]
[-m mount_point]
iosnoop # default output
-a # print all data
-A # dump all data, space delimited
-D # include time delta, us
-e # include device name
-g # include command arguments
-s # include start time, us
-t # include completion time, us
-v # include completion time, string
-d device # instance name to snoop
-f filename # snoop this file only
-m mount_point # this FS only
It also has it''s very own website of examples,
http://www.brendangregg.com/DTrace/iosnoop_example.html
which is linked from the main one anyway.
cheers,
Brendan
[Sydney, Australia]
_______________________________________________
DTrace mailing list
DTrace@opensolaris.org
https://www.opensolaris.org/mailman/listinfo/dtrace