[mdb-discuss] Formatted output.

2009-10-26 Thread Jonathan Adams
On Sun, Oct 25, 2009 at 11:14:43AM -0700, Ray Van Dolson wrote: > On Sun, Oct 25, 2009 at 09:56:34AM -0700, Ray Van Dolson wrote: > > Thanks Jonathan. This is for the most part working now. Just trying > > to figure out the quirks of mdb_printf so the output all stays on one > > line now when my

[mdb-discuss] Formatted output.

2009-10-25 Thread Ray Van Dolson
On Sun, Oct 25, 2009 at 11:14:43AM -0700, Ray Van Dolson wrote: > On Sun, Oct 25, 2009 at 09:56:34AM -0700, Ray Van Dolson wrote: > > Thanks Jonathan. This is for the most part working now. Just trying > > to figure out the quirks of mdb_printf so the output all stays on one > > line now when my

[mdb-discuss] Formatted output.

2009-10-25 Thread Ray Van Dolson
On Sun, Oct 25, 2009 at 09:56:34AM -0700, Ray Van Dolson wrote: > Thanks Jonathan. This is for the most part working now. Just trying > to figure out the quirks of mdb_printf so the output all stays on one > line now when my function is not invoked directly in the mdb -k shell > by hand. Alright

[mdb-discuss] Formatted output.

2009-10-25 Thread Ray Van Dolson
On Sun, Oct 25, 2009 at 12:43:01AM -0700, Jonathan Adams wrote: > On Sat, Oct 24, 2009 at 09:09:38PM -0700, Ray Van Dolson wrote: > > On Sat, Oct 24, 2009 at 01:43:48PM -0700, Jonathan Adams wrote: > > > > My next thought is to generate a bunch of calls to mdb -k from the > > > > shell and format e

[mdb-discuss] Formatted output.

2009-10-25 Thread Jonathan Adams
On Sat, Oct 24, 2009 at 09:09:38PM -0700, Ray Van Dolson wrote: > On Sat, Oct 24, 2009 at 01:43:48PM -0700, Jonathan Adams wrote: > > > My next thought is to generate a bunch of calls to mdb -k from the > > > shell and format everything together using awk, perl, or python. Won't > > > be fast, wil

[mdb-discuss] Formatted output.

2009-10-24 Thread Ray Van Dolson
On Sat, Oct 24, 2009 at 01:43:48PM -0700, Jonathan Adams wrote: > > My next thought is to generate a bunch of calls to mdb -k from the > > shell and format everything together using awk, perl, or python. Won't > > be fast, will be kind of hacky, but probably will work. > > > > Is there a better w

[mdb-discuss] Formatted output.

2009-10-24 Thread Jonathan Adams
On Sat, Oct 24, 2009 at 12:24:14PM -0700, Ray Van Dolson wrote: > I'm wanting to generate output similar to the 'lslk' command (found on > Linux for example, and in Solaris too once upon a time I believe) using > mdb. > > ::lminfo is great, but it truncates the path name at the end. > > I know yo

[mdb-discuss] Formatted output.

2009-10-24 Thread Ray Van Dolson
I'm wanting to generate output similar to the 'lslk' command (found on Linux for example, and in Solaris too once upon a time I believe) using mdb. ::lminfo is great, but it truncates the path name at the end. I know you can walk the lock_graph and spit out the l_vnode that way, but I'd like to g