How to use pfind in freeBSD

Matthias Apitz guru at unixarea.de
Fri Mar 16 11:53:41 UTC 2012


El día Friday, March 16, 2012 a las 10:13:27AM +0100, Rodrigo OSORIO escribió:

> Hi,
>
> pfind and friends looks like kernel only function. I can suggest you to explore
> the sysctl(3) way to recover the kern.proc structures. There are fexw examples
> on the internet, you can check a code I wrote few years ago to recover the
> battery state in my laptop using sysctl ; hope this help.
> http://www.bebik.net/doku.php/battery_life_and_sysctl_3

Hi Rodrigo,

Thanks for your pointer to your page; the page has a small typo:

% sysctrl hw.acpi.battery

it should say "sysctl";

one question: how do you get the output of 'battery' into the status
bar (I'musing KDE 3.5.10).

Thanks

	matthias

PD: the lines of your mail are filled up to position 191 with trailing
blanks;

-- 
Matthias Apitz
e <guru at unixarea.de> - w http://www.unixarea.de/
UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370)
UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5


More information about the freebsd-hackers mailing list