On 11/10/06, Michael Shapiro wrote:
>
> > Hello everyone:)
> >
> > I've got a couple of questions and I'll be very thankful if someone can
> > shed a light on these.
> >
> > 1) For example, I want to print proc_t structure of process "bc"
> > I tried the following variant but stucked at the this
lamo at ccs.ru wrote:
>Hello everyone:)
>
>I've got a couple of questions and I'll be very thankful if someone can shed a
>light on these.
>
>1) For example, I want to print proc_t structure of process "bc"
>I tried the following variant but stucked at the this stage
>
>::walk proc p |::print p
nd then use sed or awk to
extract address and then pipe it again?
I think of using then ::evalhttp://mail.opensolaris.org/pipermail/mdb-discuss/attachments/20061110/d8302caf/attachment.html>
> Unfortunately there in no pgrep dcmd in Solaris 9's version of mdb.
Well you should upgrade to S10 anyway :) ::pgrep is just the beginning.
In the meantime,
::ps ! grep
is your easiest substitute.
-Mike
--
Mike Shapiro, Solaris Kernel Development. blogs.sun.com/mws/
> Hello everyone:)
>
> I've got a couple of questions and I'll be very thankful if someone can shed
> a light on these.
>
> 1) For example, I want to print proc_t structure of process "bc"
> I tried the following variant but stucked at the this stage
>
> ::walk proc p |::print proc_t p_user.u_