Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - pidin suggestions: (9 Items)
   
pidin suggestions  
Would be nice to have an argument much like -P but say -T to display info about certain threads:

pidin -T 1 would show info about all the thread one of every process
pidin -p10 -T1 would show info about thread 1 of process 10

Also with QNX4 sin -P name, name would be a substring.  Would be nice if under QNX6 it would be a wild card.  pidin -P "
dev*" would show all process starting with dev.  I know, I know the output can be piped in grep...

Re: pidin suggestions  
Darn just realize I could do it myself and *maybe* supply the diff if anybody care or thing it's a good idea?

- Mario
Re: pidin suggestions  
Hi Mario,

The regexp idea has been captured in a PR a while ago, PR44258 - a coop here
did a patch but it has yet to be integrated.
I'll post the patch here and if you like you can clean it up.
Otherwise I'll eventually get to it.

The other idea - how would you specify multiple threads?

Mario Charest wrote: 

Would be nice to have an argument much like -P but say -T to display info
about certain threads: 

pidin -T 1 would show info about all the thread one of every process 
pidin -p10 -T1 would show info about thread 1 of process 10 

Also with QNX4 sin -P name, name would be a substring.  Would be nice if
under QNX6 it would be a wild card.  pidin -P "dev*" would show all process
starting with dev.  I know, I know the output can be piped in grep...



_______________________________________________ 
OSTech 
http://community.qnx.com/sf/go/post4439
<http://community.qnx.com/sf/go/post4439>;  


-- 

cburgess@qnx.com <mailto:cburgess@qnx.com>; 
Re: pidin suggestions  
Don't forget that threads can have names too =;-)

Thomas

On Jan 18, 2008 1:58 PM, Colin Burgess <cburgess@qnx.com> wrote:

> Hi Mario,
>
> The regexp idea has been captured in a PR a while ago, PR44258 - a coop
> here
> did a patch but it has yet to be integrated.
> I'll post the patch here and if you like you can clean it up.
> Otherwise I'll eventually get to it.
>
> The other idea - how would you specify multiple threads?
>
> Mario Charest wrote:
>
> Would be nice to have an argument much like -P but say -T to display info
> about certain threads:
>
> pidin -T 1 would show info about all the thread one of every process
> pidin -p10 -T1 would show info about thread 1 of process 10
>
> Also with QNX4 sin -P name, name would be a substring.  Would be nice if
> under QNX6 it would be a wild card.  pidin -P "dev*" would show all
> process
> starting with dev.  I know, I know the output can be piped in grep...
>
>
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post4439
> <http://community.qnx.com/sf/go/post4439>;
>
>
> --
>
> cburgess@qnx.com <mailto:cburgess@qnx.com>;
>
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post4441
>
>
Re: pidin suggestions  
> Hi Mario,
> 
> The regexp idea has been captured in a PR a while ago, PR44258 - a coop here
> did a patch but it has yet to be integrated.

> I'll post the patch here and if you like you can clean it up.
> Otherwise I'll eventually get to it.
> 
> The other idea - how would you specify multiple threads?

Multiple -T?  Plus regexp in case thread names are used.


> 
> Mario Charest wrote: 
> 
> Would be nice to have an argument much like -P but say -T to display info
> about certain threads: 
> 
> pidin -T 1 would show info about all the thread one of every process 
> pidin -p10 -T1 would show info about thread 1 of process 10 
> 
> Also with QNX4 sin -P name, name would be a substring.  Would be nice if
> under QNX6 it would be a wild card.  pidin -P "dev*" would show all process
> starting with dev.  I know, I know the output can be piped in grep...
> 
> 
> 
> _______________________________________________ 
> OSTech 
> http://community.qnx.com/sf/go/post4439
> <http://community.qnx.com/sf/go/post4439>;  
> 
> 
> -- 
> 
> cburgess@qnx.com <mailto:cburgess@qnx.com>; 


Re: pidin suggestions  
Yeah, that would work.  BTW - attached is the original regex diff.

I'd be happy to integrate any diff you want to send back.

Cheers,

Colin

Mario Charest wrote: 

> Hi Mario, 
> 
> The regexp idea has been captured in a PR a while ago, PR44258 - a coop
here 
> did a patch but it has yet to be integrated. 

> I'll post the patch here and if you like you can clean it up. 
> Otherwise I'll eventually get to it. 
> 
> The other idea - how would you specify multiple threads? 

Multiple -T?  Plus regexp in case thread names are used. 


> 
> Mario Charest wrote: 
> 
> Would be nice to have an argument much like -P but say -T to display info 
> about certain threads: 
> 
> pidin -T 1 would show info about all the thread one of every process 
> pidin -p10 -T1 would show info about thread 1 of process 10 
> 
> Also with QNX4 sin -P name, name would be a substring.  Would be nice if 
> under QNX6 it would be a wild card.  pidin -P "dev*" would show all
process 
> starting with dev.  I know, I know the output can be piped in grep... 
> 
> 
> 
> _______________________________________________ 
> OSTech 
> http://community.qnx.com/sf/go/post4439
<http://community.qnx.com/sf/go/post4439>;  
> <http://community.qnx.com/sf/go/post4439
<http://community.qnx.com/sf/go/post4439>; >  
> 
> 
> -- 
> 
> cburgess@qnx.com <mailto:cburgess@qnx.com>;  <mailto:cburgess@qnx.com
<mailto:cburgess@qnx.com>; > 




_______________________________________________ 
OSTech 
http://community.qnx.com/sf/go/post4457
<http://community.qnx.com/sf/go/post4457>;  


-- 

cburgess@qnx.com <mailto:cburgess@qnx.com>; 
Re: pidin suggestions  
> Yeah, that would work.  BTW - attached is the original regex diff.
> 

I don't any attachement.

> I'd be happy to integrate any diff you want to send back.
> 
> Cheers,
> 
> Colin
> 
> Mario Charest wrote: 
> 
> > Hi Mario, 
> > 
> > The regexp idea has been captured in a PR a while ago, PR44258 - a coop
> here 
> > did a patch but it has yet to be integrated. 
> 
> > I'll post the patch here and if you like you can clean it up. 
> > Otherwise I'll eventually get to it. 
> > 
> > The other idea - how would you specify multiple threads? 
> 
> Multiple -T?  Plus regexp in case thread names are used. 
> 
> 
> > 
> > Mario Charest wrote: 
> > 
> > Would be nice to have an argument much like -P but say -T to display info 
> > about certain threads: 
> > 
> > pidin -T 1 would show info about all the thread one of every process 
> > pidin -p10 -T1 would show info about thread 1 of process 10 
> > 
> > Also with QNX4 sin -P name, name would be a substring.  Would be nice if 
> > under QNX6 it would be a wild card.  pidin -P "dev*" would show all
> process 
> > starting with dev.  I know, I know the output can be piped in grep... 
> > 
> > 
> > 
> > _______________________________________________ 
> > OSTech 
> > http://community.qnx.com/sf/go/post4439
> <http://community.qnx.com/sf/go/post4439>;  
> > <http://community.qnx.com/sf/go/post4439
> <http://community.qnx.com/sf/go/post4439>; >  
> > 
> > 
> > -- 
> > 
> > cburgess@qnx.com <mailto:cburgess@qnx.com>;  <mailto:cburgess@qnx.com
> <mailto:cburgess@qnx.com>; > 
> 
> 
> 
> 
> _______________________________________________ 
> OSTech 
> http://community.qnx.com/sf/go/post4457
> <http://community.qnx.com/sf/go/post4457>;  
> 
> 
> -- 
> 
> cburgess@qnx.com <mailto:cburgess@qnx.com>; 


Re: pidin suggestions  
Here you go

Mario Charest wrote:
>  > Yeah, that would work.  BTW - attached is the original regex diff.
>  >
> 
> I don't any attachement.
> 
>  > I'd be happy to integrate any diff you want to send back.
>  >
>  > Cheers,
>  >
>  > Colin
>  >
>  > Mario Charest wrote:
>  >
>  > > Hi Mario,
>  > >
>  > > The regexp idea has been captured in a PR a while ago, PR44258 - a 
> coop
>  > here
>  > > did a patch but it has yet to be integrated.
>  >
>  > > I'll post the patch here and if you like you can clean it up.
>  > > Otherwise I'll eventually get to it.
>  > >
>  > > The other idea - how would you specify multiple threads?
>  >
>  > Multiple -T?  Plus regexp in case thread names are used.
>  >
>  >
>  > >
>  > > Mario Charest wrote:
>  > >
>  > > Would be nice to have an argument much like -P but say -T to 
> display info
>  > > about certain threads:
>  > >
>  > > pidin -T 1 would show info about all the thread one of every process
>  > > pidin -p10 -T1 would show info about thread 1 of process 10
>  > >
>  > > Also with QNX4 sin -P name, name would be a substring.  Would be 
> nice if
>  > > under QNX6 it would be a wild card.  pidin -P "dev*" would show all
>  > process
>  > > starting with dev.  I know, I know the output can be piped in grep...
>  > >
>  > >
>  > >
>  > > _______________________________________________
>  > > OSTech
>  > > http://community.qnx.com/sf/go/post4439
>  > <http://community.qnx.com/sf/go/post4439>; 
>  > > <http://community.qnx.com/sf/go/post4439
>  > <http://community.qnx.com/sf/go/post4439>; > 
>  > >
>  > >
>  > > --
>  > >
>  > > cburgess@qnx.com <mailto:cburgess@qnx.com>;  <mailto:cburgess@qnx.com
>  > <mailto:cburgess@qnx.com>; >
>  >
>  >
>  >
>  >
>  > _______________________________________________
>  > OSTech
>  > http://community.qnx.com/sf/go/post4457
>  > <http://community.qnx.com/sf/go/post4457>; 
>  >
>  >
>  > --
>  >
>  > cburgess@qnx.com <mailto:cburgess@qnx.com>;
> 
> 
> 
> 
> _______________________________________________
> OSTech
> http://community.qnx.com/sf/go/post4899
> 

-- 
cburgess@qnx.com
Attachment: Text pidin.diff 4.32 KB
Re: pidin suggestions  
Hello, 

as I can see regexp for pidin didn't manage to get into 6.4.1. 

Is there any chance it will get into subsequent release?

Thanks, PKY

> Here you go
> 
> Mario Charest wrote:
> >  > Yeah, that would work.  BTW - attached is the original regex diff.
> >  >
> > 
> > I don't any attachement.
> > 
> >  > I'd be happy to integrate any diff you want to send back.
> >  >
> >  > Cheers,
> >  >
> >  > Colin
> >  >
> >  > Mario Charest wrote:
> >  >
> >  > > Hi Mario,
> >  > >
> >  > > The regexp idea has been captured in a PR a while ago, PR44258 - a 
> > coop
> >  > here
> >  > > did a patch but it has yet to be integrated.
> >  >
> >  > > I'll post the patch here and if you like you can clean it up.
> >  > > Otherwise I'll eventually get to it.
> >  > >
> >  > > The other idea - how would you specify multiple threads?
> >  >
> >  > Multiple -T?  Plus regexp in case thread names are used.
> >  >
> >  >
> >  > >
> >  > > Mario Charest wrote:
> >  > >
> >  > > Would be nice to have an argument much like -P but say -T to 
> > display info
> >  > > about certain threads:
> >  > >
> >  > > pidin -T 1 would show info about all the thread one of every process
> >  > > pidin -p10 -T1 would show info about thread 1 of process 10
> >  > >
> >  > > Also with QNX4 sin -P name, name would be a substring.  Would be 
> > nice if
> >  > > under QNX6 it would be a wild card.  pidin -P "dev*" would show all
> >  > process
> >  > > starting with dev.  I know, I know the output can be piped in grep...
> >  > >
> >  > >
> >  > >
> >  > > _______________________________________________
> >  > > OSTech
> >  > > http://community.qnx.com/sf/go/post4439
> >  > <http://community.qnx.com/sf/go/post4439>; 
> >  > > <http://community.qnx.com/sf/go/post4439
> >  > <http://community.qnx.com/sf/go/post4439>; > 
> >  > >
> >  > >
> >  > > --
> >  > >
> >  > > cburgess@qnx.com <mailto:cburgess@qnx.com>;  <mailto:cburgess@qnx.com
> >  > <mailto:cburgess@qnx.com>; >
> >  >
> >  >
> >  >
> >  >
> >  > _______________________________________________
> >  > OSTech
> >  > http://community.qnx.com/sf/go/post4457
> >  > <http://community.qnx.com/sf/go/post4457>; 
> >  >
> >  >
> >  > --
> >  >
> >  > cburgess@qnx.com <mailto:cburgess@qnx.com>;
> > 
> > 
> > 
> > 
> > _______________________________________________
> > OSTech
> > http://community.qnx.com/sf/go/post4899
> > 
> 
> -- 
> cburgess@qnx.com