On Mon, 2011-01-31 at 12:51 +0000, Anne Wilson wrote:
On Monday 31 January 2011 12:42:48 Ed Greshko wrote:
> On 01/31/2011 08:28 PM, Anne Wilson wrote:
> > lsof | grep -E (3180|3181|3183)
> > bash: syntax error near unexpected token `('
> >
> > Tried a few variations, but not got it right.
>
> lsof | grep -E 3180\|3181\|3183
>
> ??
No, that just hangs there, like some of the variations I tried :-).
In my experience lsof can be quirky when you try and filter its output.
Try:
lsof -p 3180,3181,3183
poc