leverage from unix abstractions
TRANSCRIPT
with our tiny.magic.wands
Unix Magic
Unix Detour - Abstraction USER-land vs KERNAL-land
Unix Detour - Abstraction USER-land vs KERNAL-land contd.
Unix Detour - AbstractionSignals/System calls
JUST LIKE AN API
SIGNALS + SYSCALLS
Unix Detour - AbstractionsExecution Existence aka Process
INIT is the mother of all
Unix Detour - Abstractions Everything is a file
Biggest abstraction pulled over your eyes by the unix
The trick is to provide a common abstraction for all of these resources, each of which the UNIX fathers called a “file”. Since every “file” is exposed through the same API1, you can use the same set of basic commands to read/write to a disk, keyboard, document or network device.
2 key takeaways:
In UNIX everything is a stream of bytesIn UNIX the filesystem is used as a universal name space
DEMO
Toolchain Get your hands dirty
Process Monitoring
HTOP TOP WATCH
Log Monitoring
TAIL LESS GREP
Terminal multiplexing
SCREEN
Implementation in our EC2