FreeBSD fourth status reports 2019

The FreeBSD fourth status report for 2019 is online!
My contribution is sysctlbyname-improved: a new sysctl internal node to implement an improved sysctlbyname() clone, link:

FreeBSD and Nvidia Optimus

This post is a “step by step” tutorial to describe how I can use my Nvidia GeForce GT540M graphic card of my FreeBSD laptop, screenshot.

Read more

Manual sysctlmibinfo2 API

The sysctlmibinfo2 library provides an API to explore the FreeBSD sysctl MIB and to get the info of an object, it is useful to build a sysctl-like tool to get or set the kernel state. For example, sysctlview, a graphical sysctl MIB explorer, depends on it.

Read more

FreeBSD third status reports 2019

The FreeBSD third status report for 2019 is online!
My contribution is sysctlinfo: a new kernel interface to explore the sysctl MIB and to pass the info of an object to the userland, link:

Manuals sysctlinfo

sysctlinfo is an interface to explore the sysctl tree and to pass the properties of the nodes to the userland, this post displays the manuals (sysctlinfo.4 and sysctlinfo.3), for an introduction, examples and FAQ:

Read more

sysctlview 1.0

sysctlview 1.0 has been released!

sysctlview is a graphical explorer for the sysctl MIB (Source Code - Port - Distrowatch - DiscoverBSD).

Read more

Manual Page nsysctl(8)

nsysctl is a tool to get or set the FreeBSD kernel state supporting libxo and a lot of options, this manual page is intended as a reference document only, please refer to nsysctl tutorial for a more thorough description.

Read more

nsysctl tutorial

[Updated 2019-6-18]

nsysctl is a tool to get or set the FreeBSD kernel state. You could use nsysctl to explore the sysctl MIB, to print the properties of a state and to show output via libxo in human and machine readable formats. This post is a step-by-step tutorial.

Read more

Manual Page sysctlmibinfo(3)

sysctlmibinfo is an open source (2-Clause BSD License) library for FreeBSD. It provides an easy userland API to the kernel sysctl MIB Tree to get mib-entry information, to traverse the MIB and then to build quickly a custom sysctl(8) tool.

Read more

ViM syntax highlighting for COOL

COOL (Classroom Object Oriented Language) is a language created to develop a compiler in a one semester course. Before to implement the compiler, I need to study the language, so, since “learning to code = coding”, colored syntax is a good friend.

Read more

OpenBSD audio subsystem graph

I wanted to know the audio subsystem in OpenBSD (more specifically all the components beetween user applications and hardware), then I created an ASCII graph to describe it.

Read more

GNU Make vs BSD Make

Recently I ported some project from Debian (GNU/Linux) to FreeBSD. I used GNU Make to compile under Debian, but in FreeBSD, I preferred to use its make.

Read more

Hello World!

puts 'Hello, world!'

… Traditional and mandatory “Hello World”.