[6448] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: ps axf

daemon@ATHENA.MIT.EDU (Hal DeVore)
Wed Nov 27 11:52:37 1996

To: redhat-list@redhat.com
Cc: Gabriel Akos <gabriel@rocker.sch.bme.hu>
In-Reply-To: Your message of "Thu, 28 Nov 1996 01:18:39 +1100."
             <Pine.LNX.3.95.961128011726.10706J-100000@archenland.interweft.com.au> 
Reply-To: hdevore@bmc.com
Date: Wed, 27 Nov 1996 10:50:32 -0600
From: Hal DeVore <hdevore@erehwon.bmc.com>
Resent-From: redhat-list@redhat.com

--==_Exmh_1836212089P
Content-Type: message/rfc822

X-Mailer: exmh version 1.6.9 8/22/96
To: redhat-list@redhat.com
Cc: Gabriel Akos <gabriel@rocker.sch.bme.hu>
Subject: Re: ps axf 
In-Reply-To: Your message of "Thu, 28 Nov 1996 01:18:39 +1100."
             <Pine.LNX.3.95.961128011726.10706J-100000@archenland.interweft.com.au> 
Reply-To: hdevore@bmc.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii

Hm... breaks for me, too.  For some reason "ps axf" names process 2 
"(\005\005)" but "ps af" names it "(kflushd)"

I am on a clean install of RedHat 4.0 for x86 with all the fixes currently 
available at ftp://ftp.redhat.com/pub/redhat/redhat-4.0/updates/i386/


--Hal

erehwon$ rpm -qf $(which ps)
procps-1.01-7
erehwon$ ls -l $(which ps)
-r-xr-xr-x   1 root     root        25632 Aug 14 10:35 /bin/ps*
erehwon$ ps ax|wc -l
     71
erehwon$ ps axf
  PID TTY STAT  TIME COMMAND
    1  ?  S    1:19 init [5] 
    2  ?  SW   0:04 (\005\005)
[[[ snip ]]]
 7440  ?  S    0:10 sendmail: accepting connections                          

Segmentation fault (core dumped)

erehwon$ gdb $(which ps) core
(no debugging symbols found)...
Core was generated by `ps axf'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libc.so.5.3.12...(no debugging symbols 
found)...done.
Reading symbols from /lib/ld-linux.so.1...(no debugging symbols 
found)...done.
#0  0x804bcd1 in free ()
(gdb) where
#0  0x804bcd1 in free ()
#1  0x3a in ?? ()
#2  0x80499d9 in free ()
#3  0x804a327 in free ()
#4  0x804a50e in free ()
#5  0x804996e in free ()
#6  0x8049656 in free ()
#7  0x8048f8b in free ()


erehwon$ strace ps axf
[[[snip many lines]]]
stat("/proc/32677", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/32677/stat", O_RDONLY)      = 6
read(6, "32677 (amd) S 1 32667 32177 0 -1"..., 255) = 206
close(6)                                = 0
open("/proc/32677/cmdline", O_RDONLY)   = 6
read(6, "/usr/sbin/amd\0-a\0/.automount\0"..., 2047) = 68
close(6)                                = 0
stat("/proc/8080", {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0
open("/proc/8080/stat", O_RDONLY)       = 6
read(6, "8080 (smbd) S 257 257 257 0 -1 1"..., 255) = 206
close(6)                                = 0
open("/proc/8080/cmdline", O_RDONLY)    = 6
read(6, "smbd\0-D", 2047)               = 7
close(6)                                = 0
--- SIGSEGV (Segmentation fault) ---
+++ killed by SIGSEGV +++




--==_Exmh_1836212089P
Content-Type: application/pgp-signature

-----BEGIN PGP MESSAGE-----
Version: 2.6.3a

iQCVAwUBMpxxVkZrb8SDJ8hxAQH8gQP8CcXLOR01e6s4bk0vn6jdIXDidWjakj1D
NCu36l0Yj/fNzK4hufmV8dvlSpHDN29Nxw3bw3mAxBV3zY63zUPvUxFP+tnfM1Jl
RtjXYn/xC5cr8Szyu3sFcSQZOVg8fKRG1WtpsUbaVIZS60D67WsaKAagrVFqVgNa
YbRRkdULX0Q=
=9CDs
-----END PGP MESSAGE-----

--==_Exmh_1836212089P--


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post