Skip to content


"Linux is a family of free and open-source software operating systems built around the Linux kernel." -

Most linux distros are built on GNU tools, and this article is relevant in distinguishing the importance GNU plays in the linux ecosystem:

Linux is part of the Unix family tree.

Performance monitoring


Determine if running kernel is 32 or 64 bit

Works on x86 or ARM.

getconf LONG_BIT

Configure a system to reboot on kernel panic

These lines should be added to sysctl.conf

## Reboot after 10 seconds if kernel panics
kernel.panic = 10
## Treat all oopses as panics
kernel.panic_on_oops = 1

Force reboot on corrupt system

For times that commands like reboot and shutdown are not available.

echo 1 > /proc/sys/kernel/sysrq
echo b > /proc/sysrq-trigger

Show process signals

This should work on other unixes too.

trap -l

See also


Init systems