dtrace top tip

When logged on to a laptop (or any desktop system using X) don't run this command:

 $ pfexec dtrace -l -p $(pgrep Xorg)

Instead do this:

 $ pfexec dtrace -l -o /tmp/dt -p $(pgrep Xorg)

The former will deadlock the Xserver and if, like me you are in a hotel room with no other way to login to the system require you to power cycle it. The latter will put the results in /tmp/dt which you can then look at.

Even as I hit return I thought I should not do that as bad things could happen, See CR 4259419.

I blame this on staying up late at an Election night Party with some very happy people. Thank you to them for letting me share the experience, I just hope that you are not let down in the same way we have been after the 1997 Labour victory which brought so much hope to so many.

Comments:

Post a Comment:
Comments are closed for this entry.
About

This is the old blog of Chris Gerhard. It has mostly moved to http://chrisgerhard.wordpress.com

Search

Archives
« April 2014
MonTueWedThuFriSatSun
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
    
       
Today