signal 11 caught by ps | segmentation fault
If you ever came across “segmentation fault” message in linux [in my case CentOS/RHEL], you know how annoying it can be. Basically it throws every time you invoke “ps | top | killall” – i.e any process related command.
Googleing gave me couple of tips. cyberciti, took my attention.
Since “ps” started to gave me the trouble, i decided to upgrade the “ps”
“ps” comes under a package, so fist i had to locate the package name which provide “ps”.
For that again i had to locate the “ps” executable :-
[root@server1 ~]# whereis ps
ps: /bin/ps /opt/mandriva_root/bin/ps /usr/share/man/man1p/ps.1p.gz
Then i locate the package name :-
[root@server1 ~]# rpm -qf /bin/ps
The procps package contains a set of system utilities that provide system information.
To update “procps” :-
[root@server1 ~]# yum update procps
“procps” update did the trick for me.