View topic - ps -ef | grep io-audio
ps -ef | grep io-audio
6 posts
• Page 1 of 1
ps -ef | grep io-audio
Hi,
Here is the issue that i'm facing
when i execute "ps -ef" i'm able to get the list of running processes.
next when i try to execute
"ps -ef | grep io-audio" it gets hanged.
if i kill it pressing ctrl+c and then execute it. It works fine.
(Note: io-audio was listed "ps -ef" cmd was executed)
Can some one help me with this? (It happens for every first time after booting)
Regards
Sheran
Here is the issue that i'm facing
when i execute "ps -ef" i'm able to get the list of running processes.
next when i try to execute
"ps -ef | grep io-audio" it gets hanged.
if i kill it pressing ctrl+c and then execute it. It works fine.
(Note: io-audio was listed "ps -ef" cmd was executed)
Can some one help me with this? (It happens for every first time after booting)
Regards
Sheran
- sheran.vaz
- Senior Member
- Posts: 101
- Joined: Mon May 11, 2009 9:17 am
Re: ps -ef | grep io-audio
Maybe ps -ef sends data to stderr so grep is waiting for ever for data on stdout, or it's not terminated by a \n
Try: "pidin | grep io-audio instead"
Most people use pidin instead of ps.
Try: "pidin | grep io-audio instead"
Most people use pidin instead of ps.
- mario
- QNX Master
- Posts: 4132
- Joined: Sun Sep 01, 2002 1:04 am
Re: ps -ef | grep io-audio
will try as you suggested mario.
is it a common issue which everyone face while using "ps". how is it? that it wont happen with "pidin"
is it a common issue which everyone face while using "ps". how is it? that it wont happen with "pidin"
- sheran.vaz
- Senior Member
- Posts: 101
- Joined: Mon May 11, 2009 9:17 am
Re: ps -ef | grep io-audio
No idea I've never use ps 

- mario
- QNX Master
- Posts: 4132
- Joined: Sun Sep 01, 2002 1:04 am
Re: ps -ef | grep io-audio
OK, Can anyone provide more inputs on this regard?
- sheran.vaz
- Senior Member
- Posts: 101
- Joined: Mon May 11, 2009 9:17 am
Re: ps -ef | grep io-audio
I run "ps -ef | grep io-audio" on a QNX 6.3.2 system (it's what I have access to right now) and it works fine.
I can try it on a QNX 6.5 system later if you ask. I suspect some local problem on your system.
I can try it on a QNX 6.5 system later if you ask. I suspect some local problem on your system.
- maschoen
- QNX Master
- Posts: 2715
- Joined: Wed Jun 25, 2003 5:18 pm
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 3 guests