Displaying 3 results from an estimated 3 matches for "pr_psargs".
Did you mean:
pr_args
2008 Oct 23
1
query re memory profiling
Hi
I have a Dtrace script ( attached ) which examines memory usage, using
fbt:genunix:anon_resvmem:entry & return
On my T2000 it totals the 65k pages being reserved by my application,
printing out the total in bytes.
Seems to work well, tested with a small app that malloced < 65 K,
malloced 200M and mmapeed a 16M file and it appeared to get things correct.
Could I just get a second pair
2008 Oct 01
5
ustack()s of SIGSEGV''ed programs
Hi all,
I am trying to write a D script which would print ustack() for every
program in the system receiving SIGSEGV. All the stacks printed in
trap()/sigtoproc() context do not have meaningful symbols.
The following solves the problem to some degree but I''d much rather have
a self-contained D script.
dtrace -w -n ''fbt:genunix:sigtoproc:entry/arg2 == 11/ {
2007 Jan 10
13
[DTrace] how to get socket read size
...tion of how the args work if i''m missing something
Thanks
James Dickens
information relied on:
from socketsize.d
/*
** Process Socket Write
*/
fbt:sockfs:so_update_attrs:entry
/arg1 == 1/
{
/* fetch details */
this->size = arg3;
cmd = (string)curpsinfo->pr_psargs;
/* store details */
@Size[pid,cmd] = quantize(this->size);
}
from src/src/uts/common/fs/sockfs/socksubr.c
void
so_update_attrs(struct sonode *so, int flag)
_______________________________________________
DTrace mailing list
DTrace@opensolaris.org
https://www.opensolaris.org/m...