Tagged articles
inotify
36 articles · Page 1 of 1
This guide walks through the fundamentals of rsync incremental backups, explaining the delta algorithm, file comparison rules, optimal parameter choices, real‑world performance comparisons, and step‑by‑step scripts for installation, daily cron jobs, link‑dest rotation, real‑time syncing with inotify, and robust monitoring and error handling.
Linuxbackupcron
0 likes · 49 min read

This article provides a thorough overview of Rsync, covering its algorithm, supported platforms, key features, usage in both SSH and daemon modes, detailed configuration options, practical command examples, cron‑based automation, and real‑time syncing with inotify‑tools.
LinuxSSHcron
0 likes · 20 min read

This guide walks through configuring rsync and inotify on multiple Linux hosts to achieve real‑time backup of NFS static resources, covering host preparation, rsync daemon setup, password handling, daemon activation, inotify‑driven monitoring scripts, and verification of successful synchronization.
NFSinotifyoperations
0 likes · 12 min read

This article dissects Linux’s inotify mechanism, detailing the kernel data structures, system‑call flow, and functions that generate and deliver file‑system event notifications, complete with code walkthroughs and diagrams. It explains how read/write operations trigger event creation, how events are queued in inotify_device, and how user‑space processes retrieve them via read and poll interfaces.
File MonitoringLinux kernelevent handling
0 likes · 14 min read

This step‑by‑step guide shows how to install and configure rsync as a daemon, create secure authentication, deploy inotify‑tools on an NFS server, and use a Bash script to achieve real‑time backup of static assets across multiple Linux hosts.
LinuxNFSinotify
0 likes · 10 min read

This step‑by‑step guide shows how to configure Linux servers for real‑time NFS static resource backup using inotify and rsync, covering host preparation, rsync daemon setup, user and password management, inotify script creation, and verification of synchronized files across multiple machines.
LinuxNFS backupinotify
0 likes · 11 min read

This guide walks through setting up a secure SFTP service, configuring chrooted users, implementing one‑way real‑time file synchronization with rsync and inotify, and achieving active‑passive high availability using Keepalived, along with scripts for monitoring VIPs and creating read‑only accounts.
High AvailabilityKeepalivedLinux
0 likes · 27 min read

This article details the end‑to‑end design of Vivo’s custom log‑collection agent, covering file discovery with inotify, unique file identification using inode and content hash, real‑time reading via RandomAccessFile, checkpointing, Kafka integration, offline HDFS ingestion, resource throttling, and platform‑wide management, while comparing it with open‑source alternatives.
KafkaLog Collectionagent design
0 likes · 26 min read

This guide explains rsync's fundamentals, usage in ssh and daemon modes, detailed configuration options, and how to combine it with inotify‑tools for real‑time, bidirectional file synchronization on Linux systems, including practical command examples and scripting tips.
Linuxdaemonfile synchronization
0 likes · 18 min read

This guide explains how to perform regular MySQL backups, automate them with crontab, compress and rotate old backups, and keep multiple servers in sync using rsync and inotify, providing complete command examples and configuration files for both server and client sides.
Linuxdatabase administrationinotify
0 likes · 11 min read

This guide explains Rsync’s fundamentals, usage modes (local, SSH, daemon), detailed configuration options, command examples, and how to combine it with inotify‑tools for real‑time, bidirectional synchronization, including setup steps, authentication, logging, and automation via cron.
daemonfile synchronizationinotify
0 likes · 19 min read

This guide explains what Rsync is, its underlying algorithm, key features, and provides step‑by‑step commands for local, LAN, and user‑specific synchronization, daemon configuration, testing scenarios, and how to combine Rsync with inotify‑tools for real‑time bidirectional file replication.
backupcrondaemon
0 likes · 18 min read

This article examines Java file change monitoring, explains the limitations of a simple timestamp‑polling approach, details a JDK bug that loses millisecond precision, explores the built‑in WatchService and its fallback to polling, and demonstrates how Linux inotify provides a more reliable solution.
File MonitoringJDK bugJava
0 likes · 9 min read

This article presents the design principles, core techniques, and practical solutions of Vivo's self‑developed Bees log collection agent, covering file discovery, unique identification, real‑time and offline ingestion, checkpointing, resource control, platform management, and a comparison with open‑source alternatives.
JavaKafkaLog Collection
0 likes · 25 min read

This article presents the design principles, core features, and implementation details of Vivo's self‑developed Bees log collection agent, covering file discovery, unique identification, real‑time and offline ingestion, resource control, platform management, and comparisons with open‑source solutions.
HDFSJavaKafka
0 likes · 22 min read

Vivo’s Bees‑agent is a custom, lightweight log‑collection service that discovers rotating files via inotify, uniquely identifies them with inode and hash signatures, supports real‑time and offline ingestion to Kafka and HDFS, offers checkpoint‑resume, resource isolation, rich metrics, and a centralized management platform, outperforming open‑source collectors in latency, memory usage, and scalability.
HDFSJavaKafka
0 likes · 24 min read

This guide introduces Rsync’s fast delta‑transfer algorithm, explains its SSH and daemon modes, details configuration parameters, demonstrates common command‑line usage for local, LAN, and user‑specific syncing, and shows how to combine Rsync with inotify‑tools for real‑time bidirectional synchronization.
SSHdaemonfile synchronization
0 likes · 21 min read

This guide explains Rsync's fundamentals, SSH‑based and daemon modes, detailed configuration options, practical command examples for local, LAN, and user‑specific synchronization, as well as real‑time file monitoring using inotify‑tools to achieve automated bidirectional replication.
crondaemonfile synchronization
0 likes · 19 min read

This guide explains Rsync's fundamentals, demonstrates local and LAN synchronization via SSH, details daemon deployment and configuration, provides testing commands, and shows how to achieve real‑time bidirectional file sync using inotify‑tools on Linux systems.
daemonfile synchronizationinotify
0 likes · 16 min read

This guide explains Rsync's fundamentals, SSH and daemon modes, detailed configuration options, practical command examples, and how to combine it with inotify‑tools for real‑time, automated file synchronization across Linux machines.
automationbackupdaemon
0 likes · 17 min read

Rsync is a powerful remote synchronization tool that efficiently mirrors directories across multiple hosts using its delta-transfer algorithm, supporting Unix-like systems and Windows, and can operate via SSH, rsh, or daemon mode with extensive configuration options for permissions, modules, authentication, and real-time syncing using inotify.
SSHdaemonfile synchronization
0 likes · 20 min read

This guide introduces Rsync’s core concepts, demonstrates local and remote synchronization via SSH and daemon modes, details configuration parameters, and shows how to combine Rsync with inotify‑tools for real‑time, bidirectional file replication across Linux servers.
Linuxdaemonfile synchronization
0 likes · 19 min read

This article examines a real‑world file‑watching failure caused by a JDK bug, explains how Java's WatchService works (including its polling fallback), compares it with Linux's inotify mechanism, and presents practical work‑arounds for reliable configuration reloads in backend services.
BackendFile MonitoringJDK bug
0 likes · 10 min read

This article examines a JDK bug that drops millisecond precision in file timestamps, explains why Java’s WatchService falls back to polling on macOS, contrasts it with Linux’s inotify‑based implementation, and shares practical workarounds for reliable file change detection.
File MonitoringJavaWatchService
0 likes · 10 min read

An in‑depth look at a real‑world file‑watching failure caused by a JDK timestamp bug, exploring Java’s WatchService implementation, its reliance on polling versus Linux’s inotify, and practical workarounds to ensure reliable configuration reloads across platforms.
File MonitoringJDK bugJava
0 likes · 10 min read

EventHub acts as the bridge between Linux input devices and Android’s InputReader by monitoring /dev/input with inotify and epoll, detecting device additions, opening and registering new devices, reading raw input_event structures, converting them into RawEvent objects, and handling closures, rescans, and wake‑up signals in a continuous loop.
AndroidEpollEventHub
0 likes · 9 min read

Learn how to use Linux's inotify-tools to monitor directory changes and automatically synchronize modified files with rsync, covering installation, command options, example output, an event‑handling shell script, and running the script in the background with nohup.
File MonitoringLinuxautomation
0 likes · 5 min read

This guide explains how to install and configure rsync and inotify-tools on CentOS 7 servers, set up authentication, create a daemon, write a monitoring script, and verify that file changes on the client are automatically synchronized to the backup directory on the server.
inotifyrsyncsysadmin
0 likes · 6 min read

This article explains the evolution of logging, the role of log‑collection agents, industry solutions, and step‑by‑step techniques for building a reliable push‑mode log collector on Linux, covering file discovery, offset management, file identification, update detection, and safe resource release.
File MonitoringLinuxLog Collection
0 likes · 17 min read


58 TechSep 4, 2019 · Cloud Computing
This article analyzes the lack of thread‑count limits in a Kubernetes‑based private cloud platform, reproduces the issue with a Python multiprocessing script, and proposes a solution that combines the cgroup pids subsystem with inotify to enforce per‑container thread limits and provide real‑time alerts.
Kubernetescgroupcloud platform
0 likes · 8 min read

This guide shows how to install inotify-tools and gzip, use inotifywatch to monitor directory events, filter specific events, and create a bash script with inotifywait that automatically moves and compresses newly added files for secure storage.
GZIPautomationbash
0 likes · 7 min read

This tutorial explains Linux inotify's event model and demonstrates how to employ the Go package golang.org/x/sys/unix to initialize inotify, add watches, and process file system events in order to achieve automatic configuration file hot‑reloading in Go applications.
File MonitoringGoHot Reload
0 likes · 8 min read

This step‑by‑step guide shows how to set up two CentOS 7 virtual machines, install and configure rsync, inotify‑tools, and sersync, and combine them with scripts and cron jobs to obtain reliable, real‑time file synchronization and automated backups across the network.
CentOSLinux Operationsbackup automation
0 likes · 17 min read

This guide explains how to use rsync for efficient file synchronization over LAN/WAN, covering its algorithm, SSH and daemon modes, configuration details, common commands, cron automation, and real‑time syncing with inotify‑tools.
SSHdaemonfile synchronization
0 likes · 18 min read

This article explains Google’s BeyondCorp concept, the need for deep defense of internal and perimeter networks, and provides practical Linux scripts for monitoring processes, ports, command usage, system events, file changes, and SFTP activity to detect and mitigate host intrusions.
Deep DefenseLinux monitoringhost intrusion detection
0 likes · 10 min read

Learn how to replace traditional backup methods with rsync and inotify for fast, secure, incremental file synchronization, covering rsync fundamentals, command options, server and client configuration, inotify monitoring scripts, and testing procedures to achieve real‑time data replication between Linux servers.
backupinotifyreal-time sync
0 likes · 9 min read
