This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
interval=5 | |
numreports=12 #1 minute | |
tail_n=$((${numreports} +1)) | |
zmc_array=(`ps ax | grep -w z[m]c | awk '{print $1}'`) | |
zma_array=(`ps ax | grep -w z[m]a | awk '{print $1}'`) | |
(for i in "${zmc_array[@]}" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* ZoneMinder MPEG class implementation, $Date$, $Revision$ | |
* Copyright (C) 2001-2008 Philip Coombes | |
* | |
* This program is free software; you can redistribute it and/or | |
* modify it under the terms of the GNU General Public License | |
* as published by the Free Software Foundation; either version 2 | |
* of the License, or (at your option) any later version. | |
* | |
* This program is distributed in the hope that it will be useful, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER TABLE `Monitors` ADD `SaveJPEGs` TINYINT NOT NULL DEFAULT '3' AFTER `Deinterlacing` , | |
ADD `VideoWriter` TINYINT NOT NULL DEFAULT '0' AFTER `SaveJPEGs` , | |
ADD `EncoderParameters` TEXT NOT NULL AFTER `VideoWriter` ; | |
ALTER TABLE `Events` ADD `DefaultVideo` VARCHAR( 64 ) NOT NULL AFTER `AlarmFrames` ; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Main CMake file for the ZoneMinder project. | |
# Created by mastertheknife (Kfir Itzhak) | |
# The goal is to ease up the installation of zoneminder. | |
# Our current installation method (using autotools) is outdated, slow and breaks now and then. | |
# The CMake installation method will require no parameters at all, default should sufficient and reliable. | |
# It will be still possible to install ZoneMinder using autotools, they don't conflict with each other. The cmake way is a complete re-write (different syntax) and aims to be identical to the autotools way, | |
# by having options using the same name and leaving ZM totally unmodified, while providing exactly the same things that ZM expects (config.h, configuration in *.in files, etc). | |
# | |
# For more information and installation, see the INSTALL file | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Testing the RPM on a virgin CentOS 6.4 x86-64 installation (Minimal installation) with just nfs server, samba, httpd, ntpd installed so far. | |
Documenting the steps as i go. | |
Installing wget: | |
[root@atom ~]# yum install wget | |
Loaded plugins: fastestmirror |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processor Information: | |
Vendor: GenuineIntel | |
Speed: 2667 Mhz | |
2 logical processors | |
2 physical processors | |
HyperThreading: Unsupported | |
FCMOV: Supported | |
SSE2: Supported | |
SSE3: Supported | |
SSSE3: Supported |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Processor Information: | |
Vendor: GenuineIntel | |
Speed: 2667 Mhz | |
2 logical processors | |
2 physical processors | |
HyperThreading: Unsupported | |
FCMOV: Supported | |
SSE2: Supported | |
SSE3: Supported | |
SSSE3: Supported |