85 ms·
I don't see any info about the version they're running, commands "dtrace -l" and "dtrace -f write" just fail and print the usage on my Fedora 18 (package syste
by wazari972 14y ago
I don't see any info about the version they're running, commands
"dtrace -l" and
"dtrace -f write"
just fail and print the usage on my Fedora 18 (package systemtap-sdt-devel-2.1-2.fc18.x86_64). Too bad, DTrace seems interesting !
- gnufied 14y agoI am not sure about how well DTrace works on Fedora. What Oracle is shipping with Oracle Linux is not compatible with GPL licensing (read CDDL) and hence can't be included as it is by other Linux distributions. Having said, I will try the fedora 18 package when I get a chance and reply back here. But in the meanwhile, for best results - please try it on one of the OSes I mentioned in blog post. Also, just to double check you are running those commands with sudo right? dtrace won't work without root access. Also forgot to mention, I am using DTrace that ships with Mountain Lion and DTrace api version is - Sun D 1.6.2.
- profquail 14y agoDTrace requires support from the kernel to work. It started out in Solaris, then was ported to FreeBSD (which is why it's in Mac OS X). I don't think it's supported by Linux in general, but it appears that Oracle ported DTrace to Oracle Linux just recently: https://www.networkworld.com/news/2013/030113-oracle-ports-dtrace-to-oracle-267298.html https://www.networkworld.com/news/2013/030113-oracle-ports-d... If you want to give DTrace a try, you could try PC-BSD (the desktop version of FreeBSD) -- there are preinstalled images for VMWare, VirtualBox, etc., and live USB images if you prefer: http://www.pcbsd.org/en/download.html http://www.pcbsd.org/en/download.html
- wereHamster 14y agoYou are using SystemTap and not DTrace. It probably has different and incompatible CLI.
- wazari972 14y agooh you're certainly right ! I just queried yum for a bin/dtrace binary, got this package, and assumed dtrace was part of systemtap!