A comprehensive dynamic tracing framework originating from the Solaris Operating Environment.

learn more… | top users | synonyms

7
votes
2answers
5k views

What's in my ZFS ARC and L2ARC caches?

I have a simple ZFS setup at home, four disks mirrored, 8GB ram and 120GB Intel X25-M SSD for L2ARC. I ran zpool add poolname cache cXtXdX then generated load and eagerly tracked the warming process ...
5
votes
3answers
813 views

DTrace limited on Centos/Fedora

I wanted to work on a problem on a Centos 6 box. I ran dtrace and it failed. It doesn't accept -n or -l or -P or any command line options. It claims to ONLY accept -h, -G, -C, -I, -s, and -o. I ...
5
votes
3answers
2k views

Enable dtrace without sudo on Mac OS X?

How do I enable users to use dtrace on Mac OS X. I am trying to do the equivalent of strace on Linux, and I don't like running applications with elevated privileges. UPDATE Ok, the best I can tell. ...
4
votes
2answers
1k views

Understanding iotop (DTT) output in Solaris

When running DTT iotop on a write heavy Solaris 10 server, which runs multiple zones with MySQL daemons installed, I get the following output: UID PID PPID CMD DEVICE MAJ MIN D ...
2
votes
1answer
356 views

How to trace file access with dtrace on solaris

I would like to find out how can I trace (show) file access on Solaris. I already found the dtrace toolkit in a hope that voptrace will fit the bill. I ran it with voptrace -t /my/path if I ls or cat ...
2
votes
1answer
41 views

iostat taking lot of time to return

I have a solaris 10 server with a lot of SAN disks (close to 1000 across all paths). iostat -En takes close to 5 min to return. Is there a way to figure out what is causing the delay? truss hasn't ...
2
votes
6answers
454 views

Strange IP address showing up with OS X ssh

I was futzing around with DTrace on Mac OS X and found the following script that prints out information about connections being established: $ cat script.d syscall::connect:entry { printf("...
2
votes
0answers
429 views

Dtrace Oracle show high fsflush on solaris 10

Solaris 10 - Oracle 11G in a zone Running mpstat , i've noticed that one CPU was at 100% used every 5 seconds for 5 seconds while all other CPU were fine, in used but nicely spread. 1 0 0 0 ...
1
vote
4answers
3k views

Sniffing packets of specific binaries / apps / process id?

Is there a way to associate packets with executing binaries? I would be open to traditional sniffing methods or even dtrace for that matter. I have a specific issue on a system with very high ...
1
vote
1answer
963 views

How do I find what processes (with args) are being run on OS X (Leopard) during a period of time?

I am trying to find out what processes a particular process is exec'ing on an OS X machine (including arguments). I have not used DTrace before, but thought it should be trivial. After looking ...
1
vote
1answer
77 views

Prevent NexentaStor analytics page from timing out

NexentaStor has a handy profiling interface that serves as a front to certain dtrace scripts. It's handy for monitoring realtime IOPS or I/O throughput of the appliance. Unfortunately, this interface ...
1
vote
1answer
607 views

How to run truss with piped command in Solaris

How to run a truss command with piped output? eg. # truss -leDo /tmp/truss.out tar cvf - dirs/ | gzip -1 > archive.tar.gz I get only the "tar" output in truss, not from gzip!
1
vote
1answer
226 views

Printing variable sized binary data from reads and writes with dtrace

I'm trying to print out the binary buffers of some read() and write() calls with dtrace. The problem with just using printf() and %s is that the string is terminated at null bytes. (\000) There is ...
1
vote
0answers
516 views

Can DTrace help find cause for tcp connection reset on Solaris 10 x86?

I'm running performance tests on a web application hosted on a Glassfish cluster. Each cluster instance is hosted on a separate Solaris 10 zone and the http traffic is load balanced between the ...
0
votes
1answer
597 views

How to get nfsv3* DTrace scripts working on OpenIndiana?

From here http://wikis.sun.com/display/DTrace/nfsv3+Provider on OpenIndiana the DTrace scripts: nfsv3io.d nfsv3ops.d are failing with: probe description nfsv3:::op-* matches an unstable set of ...
0
votes
2answers
482 views

How to find files with top io on solaris ZFS?

I have a Solaris 10 ZFS based NFS server. The physical disks are more or less at their maximum io rates. Performance is very bad - so we will add spindles. The NFS solely serves as storage for ...
0
votes
1answer
133 views

Can dtrace print human readable sizes?

Is there a way to get DTrace printf output Bytes in human readable format GB, TB, ... ? For example here: #!/usr/sbin/dtrace -s #pragma D option quiet dtrace:::BEGIN { trace("Tracing... ...
0
votes
0answers
68 views

Dtrace not displaying stacks on Mac

I'm on OSx Yosemite and i'm playing with Node.js CPU profiling. However i can't get DTrace to display the stack traces. I'm suspecting a problem with jstack/ustack. So if i do a DTrace at 97Hz: sudo ...
0
votes
0answers
27 views

Why is server refusing new connections?

One of our proprietary closed source server applications sometimes stops accepting new connection from remote nodes on its server port. Remote nodes that are already connected work fine. Any new ...
0
votes
1answer
271 views

How well does Cocoa allow auditing of I/O to USB, FireWire and optical media on a Mac?

I have a client who wants us to lock down the Mac laptops we're using to access his data. He wants an audit of all files read and written from removable media (USB, FireWire, optical). I have a ...
0
votes
1answer
220 views

Enable DTrace on Solaris 10 using NIS group

Anyone know how to enable DTrace on Solaris 10 box, based on a NIS group. I am hoping to save some time rather than enabling Dtrace one by one for each user in the group by putting it in the /etc/...