Skip to content

Instantly share code, notes, and snippets.

View alhazred's full-sized avatar

Alexander Eremin alhazred

View GitHub Profile
@alhazred
alhazred / watchdir.c
Created January 30, 2017 16:47 — forked from anonymous/watchdir.c
Solaris File Events Notification working example (see https://solarisrants.wordpress.com/2013/07/24/solaris-file-event-notification/)
/* ************************************************************************
* watchdir.c
*
* watchdir uses Solaris' File Event Notification system to monitor
* a directory for changes. It is in this respect similar in use case
* to Linux's inotify-tools.
*
* This method of monitoring a directory is far superior to any
* alternative that would probably use looping and some sort of polling.
*
@alhazred
alhazred / sample1.md
Created May 25, 2020 05:48 — forked from jclulow/sample1.md
getting there.

Solaris Modular Debugger Guide

The Modular Debugger (MDB) is a highly extensible, general purpose debugging tool for the Solaris Operating System (Solaris OS). The Solaris Modular Debugger Guide describes how to use MDB to debug complex software systems, with a particular emphasis on the facilities available for debugging the Solaris kernel and associated device drivers and modules. It also includes a complete reference for and discussion of the MDB language syntax, debugger features, and MDB Module Programming API.

This Solaris release supports systems that use the SPARC and x86 families of processor architectures: UltraSPARC, SPARC64, AMD64, Pentium, and Xeon EM64T. In this document the term "x86" refers to 64-bit and 32-bit systems manufactured using processors compatible with the AMD64 or Intel Xeon/Pentium product families. For supported systems, see the Solaris OS Hardware Compatibility Lists at http://www.sun.com/bigadmin/hcl/ . This docume

@alhazred
alhazred / watchdir.c
Created December 6, 2022 18:17 — forked from phansson/watchdir.c
Solaris File Events Notification working example
/* ************************************************************************
* watchdir.c
*
* watchdir uses Solaris' File Event Notification system to monitor
* a directory for changes. It is in this respect similar in use case
* to Linux's inotify-tools.
*
* This method of monitoring a directory is far superior to any
* alternative that would probably use looping and some sort of polling.
*