I want to track "rmdir" executed over NFS by a client, to determine
which client is doing a particular rmdir.
I believe this will show on the server with the dtrace probe
nfsv4:::op-remove-start
args[0]->ci_remote will give me the client
args[1]->noi_curpath will give me the parent directory
and I believe args[2]->target should be the actual name of the file (a
directory in this case) that is being removed.
More precisely args[2] is of type
struct REMOVE4args
{
component4 target;
};
typedef utf8str_cs component4
However, I don't know how to deal with a utf8str_cs in a dtrace script.
I know the directory name is of course ascii.
-------------------------------------------
dtrace-discuss
Archives: https://www.listbox.com/member/archive/184261/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184261/25769126-e243886f
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769126&id_secret=25769126-8d47a7b2
Powered by Listbox: http://www.listbox.com