1828810 Members
2487 Online
109985 Solutions
New Discussion

ps -ef error

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

ps -ef error

Hi!
I get this messages when i use ps -ef command
[root@salato-apl10 root]# ps -ef|grep pmon


Signal 17 caught by ps (procps version 2.0.6).
Please send bug reports to

what is the problem?
14 REPLIES 14
Steven E. Protter
Exalted Contributor

Re: ps -ef error

ps -ef has been desupported by Linux

now its supposed to be ps ef | grep ...

Though to be honest that does not work the way I epxpect it to based on my HP-UX experience.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Drouin
Trusted Contributor

Re: ps -ef error

who the hell got the nice idea to deprecate "ps -ef" !?
Edwin Ruiz_2
Super Advisor

Re: ps -ef error

This command has been useful allways, this noom present the problem first time. ps ef give same error
Martin P.J. Zinser
Honored Contributor

Re: ps -ef error

Hello Edwin,

works for me. My system is a

uname -a
Linux bibo 2.4.20 #3 Tue Sep 16 07:51:49 CDT 2003 i686 unknown unknown GNU/Linux

But my ps seems to be much newer

ps -V
procps version 3.1.6


What is your setup?

Greetings, Martin
Steven E. Protter
Exalted Contributor
Solution

Re: ps -ef error

The people with the bright idea to deprecate ps -ef were the Linux people, whoever they are. It does work in certain distributions.

They also did a bunch of enchancements to cron that don't work when you bring them to a real Unix box. I have a few HP-UX points for explaining that to Linuxheads that transitioned to HP-UX.

I'm the other way around, learned HP-UX first.

I think Edwin's actual problem may be kernel or process control related.

Is this one time only or consitent?

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Olivier Drouin
Trusted Contributor

Re: ps -ef error

I tried on one of my box. I have
procps version 2.0.7

"ps -ef" and "ps ef".
The output is different too...

Maybe you should just
"send bug reports to
"

Alexander Chuzhoy
Honored Contributor

Re: ps -ef error

I got rhel 3 + redhat 8.0
ps -ef
does full listing of all processes-works fine on both systems.

Olivier Drouin
Trusted Contributor

Re: ps -ef error

Edwin, did you try to upgrade system libraries or something major on this system ??
Edwin Ruiz_2
Super Advisor

Re: ps -ef error

I found that i need to update procps.. do i need to reboot my server for this upgrade...how dangerous is it?

Best REgards
Yogeeraj_1
Honored Contributor

Re: ps -ef error

hi,

whether it being dangerous or not to update system libraries. In all cases, before any system update, it is wise to make a full backup.

btw, in linux i prefer to us ps -ax

best regards
yogeeraj
No person was ever honoured for what he received. Honour has been the reward for what he gave (clavin coolidge)
Edwin Ruiz_2
Super Advisor

Re: ps -ef error

thanks ! but a get same error
Martin P.J. Zinser
Honored Contributor

Re: ps -ef error

Hello Edwin,

just to cover all bases, does the error happen on a "plain" ps -ef too, or only if you do a
ps -ef|grep pmon ?

Greetings, Martin
Paul Cross_1
Respected Contributor

Re: ps -ef error

Is ps ef supposed to be some kind of religious "advancement" of the OS? Are they trying to break as many scripts as possible? ps -aux, ps -ef, now ps ef? Anyone understand the reason for this? tar supports both - and no -, why not support both?

I'd hate to be on the procps-bugs@redhat.com mailing list...
Mark Travis
Frequent Advisor

Re: ps -ef error

ps -ef is a new feature of Linux ps. New like within the last 5 years or so -- probably to satisfy the SVR4 people.

Use "ps aux" instead. BSDisms make you smarter anyway.

Yes, I'm trying to start a good-natured flame war just for kicks ;)