Re: Audio driver template

2007-07-12 Thread Christopher Davis
On 7/10/07, Alexander Leidinger <[EMAIL PROTECTED]> wrote: Putting it into the examples directory instead of having it on the people's own pages would be an improvement (the developer handbook needs to be changed to point to the examples directory then). And you should clarify what kind of impro

Re: Finding slowdowns in pkg_install (continuations of previous threads)

2007-07-12 Thread Garrett Cooper
Tim Kientzle wrote: -I tried ... buffering ... the +CONTENTS file parsing function, and the majority of the time it yielded good results One approach I prototyped sometime back was to use libarchive in pkg_add as follows: * Open the archive * Read +CONTENTS directly into memory (i

Re: get active processes in python

2007-07-12 Thread Joseph Koshy
[Trimming soc-admins@ from the CC list] mp> do you recommend a method to get active processes in a python script, mp> as with "ps" or "top" in order to put the result into a list ? (python mp> package, shell call...) One option would be to wrap "kvm_getprocs(3)" and use that. mp> PS: I would li

get active processes in python

2007-07-12 Thread Mathieu Prevot
Hello, do you recommend a method to get active processes in a python script, as with "ps" or "top" in order to put the result into a list ? (python package, shell call...) Mathieu ___ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mail

Re: get active processes in python

2007-07-12 Thread Mathieu Prevot
2007/7/12, Mathieu Prevot <[EMAIL PROTECTED]>: Hello, do you recommend a method to get active processes in a python script, as with "ps" or "top" in order to put the result into a list ? (python package, shell call...) Mathieu PS: I would like to fire this regularly, eg every second ___

Re: exporting subr_param values as sysctls

2007-07-12 Thread Paul Saab
Alfred Perlstein wrote: I would like to export the various parameters from subr_param.c into sysctl, these nodes would include the names from the following tunables as well as others in these files. TUNABLE_ULONG_FETCH("kern.maxtsiz", &maxtsiz); dfldsiz = DFLDSIZ; TUNABLE

Re: exporting subr_param values as sysctls

2007-07-12 Thread Alfred Perlstein
* Paul Saab <[EMAIL PROTECTED]> [070712 11:14] wrote: > Alfred Perlstein wrote: > >I would like to export the various parameters from subr_param.c > >into sysctl, these nodes would include the names from the following > >tunables as well as others in these files. > > > >TUNABLE_ULONG_FETCH(

Re: Debugging times

2007-07-12 Thread David Malone
On Thu, Jul 12, 2007 at 12:14:43AM +0200, Ivan Voras wrote: > I've got interesting results (in the bad sense of the phrase): I do get > the message "Invalid time in real time clock. Check and reset the time > immediately" (the i386 message) BUT my time gets reset to 0 (midnight > 1970.) Ah - that'