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

Re: FYI: monitoring OpenBSD



Willem Dijkstra <wpd@xs4all.nl> writes:

> Hi all,
> 
> I built a tool that allows active non-intrusive monitoring of
> cpu-states, memory usage, interface and io statistics for OpenBSD
> hosts. It allows 5 second interval measurements without noticable
> performance impact, and was built with security as a main design goal.
> 
> I dubbed the package 'mon', and it consists of 3 parts:
> 
> - mon: a small daemon that performs the actual measurements. mon needs
>   priviledges to access kernel mem as the interface and io probes are
>   via kvm_read. mon has been kept small as a direct result of this.

Any reason why those measurements can't be done through sysctls?
Just give me a list of information you need and I'll implement sysctls
for it. Reading /dev/kmem is never a good idea, we're trying to move away
from that.

//art