DTrace4Linux is an attempt (from UK developer Paul Fox, also known for his CRiSP editor) to bring the power of DTrace to Linux. It’s a kernel module (No kernel recompilation required! Yay!) and userland tools.
I did a bit of hacking around with Vagrant and Puppet and VirtualBox to make it dead easy to try.
I wanted to draw attention to the excellent work that Paul Fox has been doing in porting DTrace to Linux. And he recently created a GitHub repo for it, so it’s that much easier to contribute now.
If you have Linux kernel knowledge, I’d encourage you to get involved!
As promised and after a nudge from Bruce, here’s how I was able to get the Dropbox Linux CLI software running on a DreamHost VPS server. This isn’t super hard but it wasn’t a trivial install, because the Dropbox software is closed-source and it contains binaries compiled against glibc 2.4, whereas my VPS server is using glibc 2.3.
You have to be a little careful using the
du command to compare output across systems. For example, a few weeks ago I backed up a bunch of files from our MacBook Pro to our NAS and then was running
du commands to verify that directories on the systems had the same amount of data. There is a pitfall here, though…
The previously mentioned Ubuntu repository problem seems to have resolved itself. I am finally able to upgrade my Samba packages.
This has been happening all day every time I attempt to do
The following packages will be upgraded:
libsmbclient samba samba-common smbclient smbfs
5 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.0MB of archives. After unpacking 4096B will be used.
Do you want to continue? [Y/n/?]
Writing extended state information... Done
Err http://security.ubuntu.com feisty-security/main smbfs 3.0.24-2ubuntu1.3
Err http://security.ubuntu.com feisty-security/main smbclient 3.0.24-2ubuntu1.3
Err http://security.ubuntu.com feisty-security/main samba 3.0.24-2ubuntu1.3
Err http://security.ubuntu.com feisty-security/main samba-common 3.0.24-2ubuntu1.3
Err http://security.ubuntu.com feisty-security/main libsmbclient 3.0.24-2ubuntu1.3
E: Failed to fetch
Seen on a work email list. A possible solution to the problem where files downloaded through
apt-get on Ubuntu at work (where we have a squid HTTP proxy) periodically get corrupted.
Put the following in
One setting is provided to control the pipeline depth in cases where the remote server is not RFC conforming or buggy (such as Squid 2.0.2)
Acquire::http::Pipeline-Depth can be a value from 0 to 5 indicating how many outstanding requests APT should send. A value of zero MUST be specified if the remote host does not properly linger on TCP connections – otherwise data corruption will occur. Hosts which require this are in violation of RFC 2068.