always the same - top, systat and kernel symbols

always the same - top, systat and kernel symbols

Post by hendrik.d.. » Sat, 29 Dec 2001 07:00:51



hi ng,

i found always the same answer for my question but i don't know how to
use the answer.
first at all my question:

my os: freebsd 4.3
if i use top or systat, i get errors:

$ top
top: nlist failed

$ systat
          systat: nlist: can't find following symbols:
          _ccpu
          _fscale

i know what the faq says -
        kernel and userland are not synchronized

is it possible to check this?
is it necessary o build a new kernel?

thnx for any answer

hendrik

--        

 
 
 

always the same - top, systat and kernel symbols

Post by Stefan Walte » Sat, 29 Dec 2001 18:46:01



Quote:> i know what the faq says -
>    kernel and userland are not synchronized

> is it possible to check this?


-r-xr-xr-x  1 root  wheel  2992448 Dec 24 19:40 /kernel
-r-xr-sr-x  1 root  kmem     56380 Dec 24 19:42 /usr/bin/systat
-r-xr-sr-x  1 root  kmem     32520 Dec 24 19:42 /usr/bin/top
                                   ^^^^^^^^^^^^
Have a look at the date and time ls shows you with your files. If
there's a difference of more than a few minutes, the files don't seem to
be installed from the same build (they _could_ be, though one usually
installs kernel and world together).
However, there's still the possibility that your last update (if you did
any) of /usr/src was incomplete, but you were able to successfully build
and install world and kernel.

Quote:> is it necessary o build a new kernel?

Maybe it would be a good idea to cvsup /usr/src and rebuild both world
and kernel.

Stefan
--
No reading beyond this point
PGP key: http://homepages.compuserve.de/SWDunkelkammer/dunkelkammer.asc
PGP key fingerprint: 6719 7C67 E188 4419 C7F6  786E 58C0 AEBF 5796 6947

 
 
 

1. Can't run ps,top,systat

I am running FreeBSD 4.0 RELEASE. I just used cvsup to upgrade to
4.0-STABLE. After I'm done, I see these errors when I try to run
commands like ps, top, systat.

~>top
kvm-open; proc size mismatch 966816 total, 1048 chunks0
top; Out of memory.

~>ps
ps; proc size mismatch 937584 total, 1048 chunks0

~>systat
proc size mismatch 966816 total, 1048 chunks

What is going on ?
Swapinfo shows me that none of my swap is being used.

~>swapinfo
Device          1K-blocks     Used    Avail Capacity  Type
/dev/ad0s1b     262016         0      262016     0%    Interleaved

~>vmstat

procs      memory     page                    disks     faults      cpu
r b w     avm   fre  flt  re  pi  po  fr  sr ad0 md0   in   sy  cs us sy
id
 1 0 0   75176 21072    9   0   0   0   8   0   0   0  232  361  49  1
1 98

Any ideas ?

---cheers,
    Yofti

Sent via Deja.com http://www.deja.com/
Before you buy.

2. Problem of installing Second A1000

3. Kernel (wait) at the top of "top"

4. Help - want to let users set up POP accounts and passwords over net.

5. Fenster immer im Vordergrund, (always on Top)

6. Source to SVGA/MGA servers...help!!!

7. always on top

8. Tru64 Patch Kits "Reported Problem" List is now Publicly Available

9. Xwindow "Always On Top??"

10. Howto have an always on top window

11. Is't possible to create a Motif shell that always on screen top

12. Always on Top in KDE?

13. X11 Window "always on top"