Questions tagged [dtrace]

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

DTrace is a comprehensive dynamic tracing framework for the Solaris Operating Environment; it provides a powerful infrastructure to permit administrators, developers, and service personnel to concisely answer arbitrary questions about the behavior of the operating system and user programs.

DTrace can be used to get a global overview of a running system, such as the amount of memory, CPU time, file-system and network resources used by the active processes. It can also provide much more fine-grained information, such as a log of the arguments with which a specific function is being called, or a list of the processes accessing a specific file.

(Source: http://en.wikipedia.org/wiki/Dtrace)

25 questions
1
vote
1 answer

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 times out after a few minutes leaving a blank…
ewwhite
  • 194,921
  • 91
  • 434
  • 799
1
vote
2 answers

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 XenServer Hypervisors. I want to know which VM disks…
Roman
  • 372
  • 1
  • 7
  • 19
1
vote
0 answers

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 instances by a F5 BigIp load balancer. The problem…
Ola Mattsson
  • 15
  • 1
  • 3
1
vote
4 answers

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 traffic. Sniffing "all" packets and filtering them is…
ylluminate
  • 1,001
  • 2
  • 15
  • 29
1
vote
1 answer

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!
M_1
  • 363
  • 2
  • 10
1
vote
1 answer

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 sister question re: finding a commercial app for…
0
votes
0 answers

Is there anyway to log all system calls with DTrace?

I installed DTrace on Ubuntu by the following command: sudo apt-get install systemtap-sdt-dev Is there anyway to log all system calls with DTrace (it is possible by auditd but it crashes after 20 minutes)?
Iman
  • 103
  • 1
  • 3
0
votes
1 answer

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/user_attr. Cheers, Muhammad
Muhammad
  • 699
  • 10
  • 20
0
votes
1 answer

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... Hit Ctrl-C to end.\n"); } nfsv3:::op-read-done { …
Aleksandr Levchuk
  • 2,415
  • 3
  • 21
  • 41
0
votes
1 answer

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 probes Script nfsv3fileio.d works but one of the…
Aleksandr Levchuk
  • 2,415
  • 3
  • 21
  • 41
1
2