Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC)

MOSC Banner

DTRACE: Argument to nfsv4:::op-remove-start ?

edited May 19, 2015 10:04AM in Oracle Solaris Performance, Panics, Hangs, and Dtrace (MOSC) 2 commentsAnswered

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.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center