NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Getting load average non-interactively



On Tue 06 Mar 2012 at 15:12:04 +0000, David wrote:
>       sysctl vm.loadavg

I was trying to find that, by doing a sysctl -a, but to my surprise that
crashed! (5.1/amd64). It went like this:

$ sysctl -a
...
hw.dri.card0.name = radeon pci:0001:01:00.0
hw.dri.card0.vm = radeon pci:0001:01:00.0
slot offset             size       type flags address            mtrr
   0 0xffff800007660000 0x00002000  SHM  0x20 0xffff800007660000 no
   1 0x00000000fbf00000 0x00010000  REG  0x02 0xffff80004cbc8000 no
   2 0x00000000f0000000 0x02000000   FB  0x10 0x0000000000000000 yes
   3 0x00000000e8000000 0x00101000  AGP  0x02 0xffff80004d40e000 yes
   4 0x00000000e8101000 0x00001000  AGP  0x02 0xffff800049d50000 yes
   5 0x00000000e8102000 0x00200000  AGP  0x00 0xffff80004d50f000 yes
   6 0x00000000e8302000 0x004e0000  AGP  0x00 0x0000000000000000 yes

sysctl: hw.dri.card0.clients: sysctl() failed with Value too large to be stored 
in data type
Segmentation fault (core dumped)
$ 

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert  -- There's no point being grown-up if you 
\X/ rhialto/at/xs4all.nl    -- can't be childish sometimes. -The 4th Doctor


Home | Main Index | Thread Index | Old Index