LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

zm

Manage ZoneMinder surveillance daemons

TLDR

Start the ZoneMinder system
$ sudo zmpkg.pl start
copy
Stop the ZoneMinder system
$ sudo zmpkg.pl stop
copy
Check system status
$ zmpkg.pl status
copy
Start a specific daemon
$ sudo zmdc.pl start [zmc] -m [monitor_id]
copy
Check daemon status
$ zmdc.pl status
copy
Query monitor status
$ zmu -m [monitor_id] -q
copy

SYNOPSIS

zm [subcommand]zmpkg.pl [start|stop|restart|status|logrot|version]zmdc.pl [start|stop|status|check|startup|shutdown] [daemon]

DESCRIPTION

ZoneMinder is a video camera security and surveillance system. The zm family of commands manages the ZoneMinder daemons and services.Key components:- zmpkg.pl - Package control (start/stop entire system)- zmdc.pl - Daemon control (manage individual daemons)- zmu - Monitor utility (query monitor status)- zmwatch.pl - Watchdog daemon- zmaudit.pl - Database audit toolZoneMinder consists of multiple daemons: capture daemons for each camera, analysis daemons for motion detection, and support services for web interface and event processing.The primary interface is web-based, with these commands providing backend management and troubleshooting capabilities.

CAVEATS

ZoneMinder requires a database (MySQL/MariaDB) and web server to function. Command-line tools manage daemons but configuration is done via the web interface.Camera configuration, zone setup, and event management are handled through the web UI, not command line.Daemon management typically requires root privileges.Resource usage scales with the number of cameras and analysis complexity.

SEE ALSO

motion(1), ffmpeg(1), systemctl(1)

Copied to clipboard
Kai