e|-----------------------------------------------------------------------
B|-------------------------------------------------------------(7)-8-9-10
G|------------------------------(5)-6-7-8-(9)-8-7-6-(7)-8-9-10----------
D|---------------------(5)-6-7-8-----------------------------------------
A|-----------(5)-6-7-8---------------------------------------------------
E|-(5)-6-7-8-------------------------------------------------------------
e|-(7)-8-9-10-(11)-10-9-8-----------------------------------
B|------------------------(11)-10-9-8------------------------
G|------------------------------------(11)-10-9-8------------
D|-----------------------------------------------(11)-10-9-8-
A|-----------------------------------------------------------
E|------------------------------------------------------------
e|-----------------------------------------------------
B|-----------------------------------------------------
G|-----------------------------------------------------
D|-(7)-8-9-10-(9)-8-7-6-------------------------------
A|----------------------(9)-8-7-6----------------------
E|--------------------------------(9)-8-7-6-(5)--------
Notice how you end on the same note that you started on... Next you slide to the 6th fret on the lowE string and use it as your starting note and use this same pattern... Then go to the 7th and so on. Once you get comfortable with the pattern at your starting tempo... bump it up about 5 bpm and try it. Keep going until you can't do it accurately anymore. Then back it up a few bpm and practice at that speed for a few minutes.
NOTE: this exercise was taken from a John Petrucci film. I'm not certain if it's exactly like his or not... but it's close. I haven't seen the video in forever. I've been using this for about 2 years now though.