Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Mar 2001 18:12:29 -0800
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        current@freebsd.org
Subject:   very strange problem with ps
Message-ID:  <20010316181229.A16230@Odin.AC.HMC.Edu>

next in thread | raw e-mail | index | archive | help

--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

I'm seeing a very strange problem with ps.  I was calling "ps -U
operator" to check the status of some dumps and it was working fine, but
then I ran it again and got a kinfo_proc size mismatch.  Calling it with
no args still works, but calling it with -U doesn't.  This is with a
current as of this morning.  I'll try a rebuild after this dump
finishes.  You can see what I did in a transcript below.

-- Brooks

[6:11pm] brooks@minya (~): ps -U operator
  PID  TT  STAT      TIME COMMAND
  884  ??  DW     0:00.02 /usr/local/libexec/amanda/sendbackup
  885  ??  RW     0:05.98 /usr/bin/gzip --fast
  886  ??  DW     0:00.29 /usr/local/libexec/amanda/sendbackup
  887  ??  DW     0:00.05 dump 1ushf 1048576 0 - /dev/ad0s2a
  888  ??  ZW     0:00.00  (sh)
  891  ??  DW     0:00.09 dump 1ushf 1048576 0 - /dev/ad0s2a
  892  ??  DW     0:00.14 dump 1ushf 1048576 0 - /dev/ad0s2a
  893  ??  DW     0:00.14 dump 1ushf 1048576 0 - /dev/ad0s2a
  894  ??  DW     0:00.15 dump 1ushf 1048576 0 - /dev/ad0s2a
[6:11pm] brooks@minya (~): ps -U operator
ps: kinfo_proc size mismatch (expected 648, got 268107798)
[6:12pm] brooks@minya (~): ps -U operator
ps: kinfo_proc size mismatch (expected 648, got 268107798)
[6:12pm] brooks@minya (~): ps -U operator
ps: kinfo_proc size mismatch (expected 648, got 268107798)
[6:12pm] brooks@minya (~): ps
  PID  TT  STAT      TIME COMMAND
  567  p0  DWs+   0:00.17 -tcsh (tcsh)
  568  p1  DWs    0:00.14 -tcsh (tcsh)
  608  p1  DW+    0:00.17 ssh gigan
  569  p2  DWs    0:00.14 -tcsh (tcsh)
  604  p2  DW+    0:00.36 ssh odin.ac.hmc.edu
  570  p3  DWs    0:00.29 -tcsh (tcsh)
  915  p3  RW+    0:00.00 ps
  514  v0  DWs    0:00.17 -tcsh (tcsh)
  526  v0  DW+    0:00.01 /bin/sh /usr/X11R6/bin/startx
  538  v0  DW+    0:00.02 xinit /usr/home/brooks/.xinitrc -- -auth /usr/hom=
e/br
  544  v0  DW     0:00.01 sh /usr/home/brooks/.xinitrc
  561  v0  DW     0:00.52 Eterm --geometry 80x32+64+64
  562  v0  DW     0:00.23 Eterm --geometry 80x32+560+64
  563  v0  DW     0:00.53 Eterm --geometry 80x34+64-74
  564  v0  DW     0:00.15 Eterm --geometry 80x34+560-74
  566  v0  D      0:01.15 wmaker
  596  v0  DW     0:08.29 wmmon
  597  v0  DW     0:00.87 wmCalClock
  598  v0  RW     0:11.60 wmapm
  599  v0  DW     0:01.04 wmmixer -w
  600  v0  DW     0:02.25 wmnet
  787  v0  DW     0:12.13
/usr/local/lib/netscape-linux/communicator-4.7.bin
  788  v0  DW     0:00.07 (dns helper) (communicator-4.7)
[6:13pm] brooks@minya (~):

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE6ssgMXY6L6fI4GtQRAqxeAJ9pYHx/Re9u0UOL+o8eCtgY/NFoAQCeK+Td
EhB8mcHZWSC28SN2WFz0HwU=
=aBl1
-----END PGP SIGNATURE-----

--1yeeQ81UyVL57Vl7--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010316181229.A16230>