Re: wchan in 2.2.0-final

Steven N. Hirsch (shirsch@adelphia.net)
Mon, 25 Jan 1999 20:50:44 -0500 (EST)


On Mon, 25 Jan 1999, Albert D. Cahalan wrote:

>
> Steven N. Hirsch writes:
> >
> > Ok, I run an RH 5.2 installation with the 2.2.0-preX kernel and System.map
> > in the root directory. The 'ps' utility apparently checks /boot first and
> > uses the (incorrect) System.map from RedHat's 2.0.x kernel. If both
> > system maps are in /boot it's smart enough to grab the correct one,
> > though. Thanks for the feedback!
>
> Use a ps that gives you a warning when your System.map file is wrong.
> This whole problem would have been obvious had you used a better ps,
> such as http://www.cs.uml.edu/~acahalan/linux/procps-990103.tar.gz
>
> $ ps -n /boot/System.map-2.0.31 -o pid,nwchan,wchan,cmd -u luser
> Warning: /boot/System.map-2.0.31 has an incorrect kernel version.
> PID WCHAN WCHAN CMD
> 405 116909 116909 su - luser
> 406 17b75f 17b75f -bash
> 417 12ced9 12ced9 /usr/lib/netscape/netscape-communicator
> 427 12ced9 12ced9 (dns helper)
>
> Hmmm, looks like /boot/System.map-2.0.31 has an incorrect kernel version.

I was simply using the 'ps' shipped with RedHat 5.2 and didn't know of any
newer until seeing your post. I'll get it forthwith.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/