Re: ps not showing CPU# correctly

2008-12-26 Thread Mateusz Guzik
Hi, On Fri, Dec 26, 2008 at 8:20 PM, Nikola Knežević wrote: > on my system, I noticed that ps(1) is not showing the CPU# correctly (it > always displays 0). There was a bug in it, and it was fetching ki_estcpu > instead of ki_lastcpu. > From the man page: cpushort-term CPU usage fac

debugging mbuf allocation/dealocation

2008-12-26 Thread Nikola Knežević
Hi, I'm trying to make some code which uses a lot of mbufs (Click modular router) running under FreeBSD 7.1. The problem is that it is leaking mbufs, and I can't find where... After running the Click in a configuration which generates 150k packets (using m_dup) and discards them (m_freem)

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-26 Thread pluknet
2008/12/26 Carlos A. M. dos Santos : > On Fri, Dec 26, 2008 at 11:20 AM, Sean wrote: >> Carlos A. M. dos Santos wrote: >>> >>> Be warned that file(1) resides at /usr/bin and depends on >>> /usr/share/misc/magic*, so it may not be available in early boot >>> stages, when /usr is not mounted yet. Th

Re: ps not showing CPU# correctly

2008-12-26 Thread Garrett Cooper
On Dec 26, 2008, at 11:20, Nikola Knežević wrote: Hi, on my system, I noticed that ps(1) is not showing the CPU# correctly (it always displays 0). There was a bug in it, and it was fetching ki_estcpu instead of ki_lastcpu. The attached patch fixes this issue. Cheers, Nikola Coul

hack bios hp compaq v3618la

2008-12-26 Thread lazaax -
hi, people, anyone knows how to hack bios from v3618la or had a bios hacked, i want to bypass whitelist wireless network, i put a atheros on mi hp and cant supported, sorry my english is poor, i dont want ro risk my computer... please help -- Leon Chavez Colima, Mexico "lazaax" _

ps not showing CPU# correctly

2008-12-26 Thread Nikola Knežević
Hi, on my system, I noticed that ps(1) is not showing the CPU# correctly (it always displays 0). There was a bug in it, and it was fetching ki_estcpu instead of ki_lastcpu. The attached patch fixes this issue. Cheers, Nikola ps.patch Description: Binary data __

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-26 Thread Carlos A. M. dos Santos
On Fri, Dec 26, 2008 at 11:20 AM, Sean wrote: > Carlos A. M. dos Santos wrote: >> >> Be warned that file(1) resides at /usr/bin and depends on >> /usr/share/misc/magic*, so it may not be available in early boot >> stages, when /usr is not mounted yet. The following combination will >> suffice, and

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-26 Thread Sean
Carlos A. M. dos Santos wrote: On Fri, Dec 26, 2008 at 4:39 AM, David Wolfskill wrote: On Fri, Dec 26, 2008 at 09:35:42AM +0300, Sergey Zaharchenko wrote: ... Some of the stuff you want can be found here: r...@shark:~# file -s /dev/ufs/home /dev/ufs/home: Unix Fast File system [v2] (little-en

Re: How to quickly determine if UFS2 FS is "clean" from command line?

2008-12-26 Thread Carlos A. M. dos Santos
On Fri, Dec 26, 2008 at 4:39 AM, David Wolfskill wrote: > On Fri, Dec 26, 2008 at 09:35:42AM +0300, Sergey Zaharchenko wrote: >> ... >> Some of the stuff you want can be found here: >> >> r...@shark:~# file -s /dev/ufs/home >> /dev/ufs/home: Unix Fast File system [v2] (little-endian) last mounted