Displaying 20 results from an estimated 1000 matches similar to: "Network Latency"
2012 May 09
6
"file not found" under high-contention
Hello,
For several years I've been experiencing
an intermittent Samba error when running
a very intense, highly parallel build/compile
jobset.
A file is reported as "not found" even though
it most certainly exists and re-running the
compile jobset always succeeds.
Samba version is 3.6.4 running on CentOS 5.8
with 64-bit kernel 2.6.18-308.4.1.el5. Windows
side is 64-bit Window
2006 Jul 07
2
Probe ID changes
OK, I''ve been fritzing around with something I noticed last night,
thinking that I understood what was going on, but now it''s getting
confusing again.
A system that has been running for a couple of months had a hole in the
probe ID list near the end in the middle of the fbt probes. And then a
couple of syscall probes were stuck in the hole. It looked like this:
...
40311
2007 Aug 29
6
How do I look up syscall name
I''m using a fbt probe where I get a system call id as an argument, how do I look up the name of it? At the moment I''m post-processing the output using /etc/name/to_sysnum but that doesn''t feel right :)
cheers,
/Martin
--
This message posted from opensolaris.org
2011 Apr 06
2
Limiting dtrace depth
If I use a simple dtrace script such as this:
fbt::somefunc:entry{self->trace=1;}
fbt::somefunc:return{self->trace=0;}
fbt:::entry{}
fbt:::return{printf("%lx", arg1);}
then it will descend to whatever depth is necessary
If I want to limit it to say 3 functions deep, how can I do that?
The quick answer I want to use is to do "self->depth++" on each entry
and then
2006 Jun 30
2
Qs. on fbt::copystr: probe
Hi all,
I have questions about something I observed just now:
1) on AMD64, S10u1:
# dtrace -n ''fbt::copystr:entry{printf ("%p\n", args[0]);}'' -c /bin/pwd
dtrace: invalid probe specifier fbt::copystr:entry{printf ("%p\n",
args[0]);}: in action list: index 0 is out of range for fbt::copystr:entry
args[ ]
but
# dtrace -n ''fbt::copystr:entry{printf
2007 Dec 25
6
what is differenct between syscall::write:entry fbt::write:entry
what is differenct between syscall::write:entry fbt::write:entry
are the two probe fires at the same place.
--
This message posted from opensolaris.org
2007 Jul 11
5
Error trying to count return points in functions.
Whilst trying out some D to get an insight into what is the most
common reason for a given function to return, I have bumped
into an error I don''t understand.
The first take on what I was trying to do was:
# dtrace -n ''fbt:ip:ip_input:return{@home[arg0] = count();}''
and all was well. The next step was:
# dtrace -n
2008 Mar 07
9
question about WINEPREFIX
I wanted to ask to the wine experts something about WINEPREFIX or the crossover bottles...
how does the concept of "bottles" compares/differs with the concept of application virtualization (http://en.wikipedia.org/wiki/Application_Virtualization) used by VMware's Thinstall (http://www.thinstall.com/products/virtualization_suite.php) (aside for the .exe container*) and
2008 May 14
3
tcptop_snv connp->conn_tcp != connp->conn_proto_priv.cp_tcp
Tried to start up tcptop_snv on snv87 x86 and got
<i>dtrace: failed to compile script /dev/fd/11: line 168: conn_tcp is not a member of struct conn_s</i>
Line 288 has this line:
<i>this->tcpp = (tcp_t *)this->connp->conn_tcp;</i>
which, after looking at line 168 of <a
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
2007 Nov 20
6
How to dereference a pointer to a pointer
Hi. I would like to print out a field of a vnode, but the argument to
the function is of type vnode_t **.
If I set "this->vpp" to arg2 in an entry function to zfs_lookup(), I''d
like to retrieve the value of one of the fields of *(this->vpp) in the
return function. Something like the below (but the syntax below is not
right):
printf("zfs_lookup:
2007 May 11
3
what files are being used from a NFS server perspective
I''m curious to know what files are being used from a NFS server
perspective. I''m unable to trace the client because it is in the boot
phase. Looking at the io provider, I believe it does not allow you to
look at what files are being requested. That would lead me to the fbt
provider. Does anyone know what fbt provides the file handle for NFS
client request on the NFS
2006 Jul 10
5
Definition of "anchored" and "unanchored" probes
Referring to the DTrace manual:
"Module If this probe corresponds to a specific program location,
the name of the module in which the probe is located. This name is
either the name of a kernel module or the name of a user library.
Function If this probe corresponds to a specific program location,
the name of the program function in which the probe is located."
and then ...
1997 Mar 22
2
"Secure" tftpd source for Linux?
I''ve been poking around my system, and realized that having a tftp server
would be handy. (I''m working with cisco routers, which have the capability to
up and download configuration images via tftp.)
However, I''m not content with the usual tftpd that comes with Linux. The
whole "specify each directory you want" scheme is cock-eyed to me. I''d
prefer
2008 Sep 09
1
DTrace and shared memory id
Hello all,
I saw this question about a year back in the archive[1], but with no
final answer.
I would like to trace shmget calls and also get the id of the shared
memory segment.
That script looked like[2], but we dont get the id since arg1 is the
errno value.
How do i access the shm id, i would need this to debug a customer
problem but i don''t have time to learn it the hard
2007 Mar 10
4
Functions that cannot be traced by FBT under x86
Hi All:
In Solaris Dtrace User Guide, page 218, it says,
"Functions that do not create a stack frame on x86 systems cannot be
instrumented by FBT."
Then what are these functions?
What characteristics do they have?
Regards
TJ
2009 Mar 09
2
FBT Provider
Is there a list anywhere of the DTrace FBT provider calls for each version of Solaris since the Nevada build that hosed the DTrace Toolkit. I have no issue with rewriting what I need, but I am hoping to stave off having to look at all the source code to find everything. I know there is a new provider under development, but I need to be able to program DTrace routines for all the updates in
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 Jan 22
9
VNIC, non-global zone, dhcp & dns
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Bitstream Vera Sans"><br>
Hello,<br>
<br>
I am trying to have dns <b>automatically</b> configured through
2006 May 08
13
monitoring tcp writes
i''m using the following probe to calculate how many bytes are being written by tcp write calls, by process and total:
fbt:ip:tcp_output:entry
{
this->tcpout_size = msgdsize(args[1]);
@tcpout_size[execname] = sum(this->tcpout_size);
@tcpout_size["TOTAL_TCP_OUT"] = sum(this->tcpout_size);
}
I run this probe for N seconds.
I suppose that if i get the