Harald Hoyer

Triple Faults for Debug

Linux: HOWTO get the number of CPUs

$ getconf _NPROCESSORS_ONLN

returns the number of CPUs online.

Fedora Boot Optimization

This article shows how to reduce boot time for Fedora 17, but the recipe can also be applied to 18, 19 and 20.

The target is to get a fast booting system with NetworkManager running and gdm displaying the login screen as fast as possible.

Redirecting apache access_log and error_log to the systemd journal

To redirect all apache messages to syslog, which will then appear in the systemd journal modify your httpd.conf:

dracut - kernel command line

To quickly find out, what dracut wants as the kernel command for your current disk setup, fire up:

# dracut --print-cmdline