Send Motion-user mailing list submissions to
        motion-user@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/motion-user
or, via email, send a message with subject or body 'help' to
        motion-user-requ...@lists.sourceforge.net

You can reach the person managing the list at
        motion-user-ow...@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Motion-user digest..."


Today's Topics:

   1. Re: motion start / stop / restart command (Richard Bown)
   2. Re: Huge syslog due to motion messages (Harlan Daneker)
   3. Bad Image. Zmodo ZP-IBH13-W (Ruben d'Arco)
   4. How to decrease CPU usage ? (Mariusz Ciszewski)
   5. Re: How to decrease CPU usage ? (Frank W. Samuelson)
   6. Re: How to decrease CPU usage ? (Colin Law)


----------------------------------------------------------------------

Message: 1
Date: Sat, 2 Jan 2016 09:35:16 +0000
From: Richard Bown <rich...@g8jvm.com>
Subject: Re: [Motion-user] motion start / stop / restart command
To: motion-user@lists.sourceforge.net
Message-ID: <20160102093516.7c5611f9.rich...@g8jvm.com>
Content-Type: text/plain; charset=US-ASCII

On Sat, 2 Jan 2016 10:29:54 +0200
tosiara <tosi...@gmail.com> wrote:

> Use killall -w motion
> On Jan 2, 2016 01:20, "Mariusz Ciszewski" <mariusz.ciszew...@gmail.com>
> wrote:
> 
> > root@LT310:~# uname -a
> > Linux LT310 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt11-1+deb8u6
> > (2015-11-09) i686 GNU/Linux
> >
> > root@LT310:~# killall motion
> > root@LT310:~# killall motion
> > root@LT310:~# killall motion
> > motion: no process found
> > root@LT310:~#
> >
> > So how can I killall all motion processes using only one command ?
> >
> >

Why not find out what the process is identified as

ps ax | grep motion
see what that returns   ????
you should see something like:-
odroid@odroid:~$ ps ax | grep motion
 1130 ?        Sl   178:24 /usr/bin/motion
14506 pts/2    S+     0:00 grep --color=auto motion


you might just find that it could be motion-root , I have seen that when motion 
is started as root

Then what ever process grep finds kill that
If you are using multiple instances of motion you will have to kill each 
process by what ever name
grep returns
Post the results of 
ps ax | grep motion
-- 
-- 
Best wishes /73 
Richard Bown

Email : rich...@g8jvm.com
HTTP  :  http://www.g8jvm.com
nil carborundum a illegitemis
##################################################################################
Ham Call: G8JVM . QRV: 50-432 MHz + Microwave 23 cms 140W, 13 cms 100W & 3cms 5W
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W
QRV VHF 6mtrs 200W, 4 mtrs 150W, 2mtrs 400W, 70cms 200W
OS: Linux Mint 17.3 x86_64 on a Dell Inspiron N5030 laptop
##################################################################################
 




------------------------------

Message: 2
Date: Sat, 2 Jan 2016 10:01:08 -0500
From: Harlan Daneker <hdane...@gmail.com>
Subject: Re: [Motion-user] Huge syslog due to motion messages
To: d...@howorth.org.uk,        Motion discussion list
        <motion-user@lists.sourceforge.net>
Message-ID:
        <CAC1WkiQdfUKPspMMCE2Rcv1MOdsUfL6L=kn6e17pekod9gv...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

You can set it where ever you like. Experiment with it till you get what
you want.

On Fri, Jan 1, 2016 at 7:00 PM, Dave Howorth <d...@howorth.org.uk> wrote:

> On Fri, 2016-01-01 at 18:56 -0500, Harlan Daneker wrote:
> > # Level of log messages [1..9] (EMR, ALR, CRT, ERR, WRN, NTC, INF,
> > DBG, ALL). (default: 6 / NTC)
> > log_level 7
>
> You mean 5 ?
>
> >
> >
> > The log level can be set in motion.conf
> >
> >
> > On Fri, Jan 1, 2016 at 5:28 PM, Mariusz Ciszewski
> > <mariusz.ciszew...@gmail.com> wrote:
> >         Hello
> >
> >
> >         Is it really necessarry to put into logfile every log about
> >         every picture is saved?
> >
> >
> >
> https://drive.google.com/file/d/0B3n2jx0hGw0LcVZfakZJVHIwUVk/view
> >
> >
> >
> >
> >
> >         I mean lines:
> >
> >
> >         Jan  1 22:23:06 LT310 motion: [5] [NTC] [EVT] event_newfile:
> >         File of type 1 saved
> >         to: /home/motion/tmp-adam/2016-01-01--22-23-04-01-04.jpg
> >         Jan  1 22:23:08 LT310 motion: [5] [NTC] [EVT] event_newfile:
> >         File of type 1 saved
> >         to: /home/motion/tmp-adam/2016-01-01--22-23-05-00-04.jpg
> >         Jan  1 22:23:09 LT310 motion: [5] [NTC] [EVT] event_newfile:
> >         File of type 1 saved
> >         to: /home/motion/tmp-adam/2016-01-01--22-23-07-00-04.jpg
> >         Jan  1 22:23:11 LT310 motion: [5] [NTC] [EVT] event_newfile:
> >         File of type 1 saved
> >         to: /home/motion/tmp-adam/2016-01-01--22-23-08-00-04.jpg
> >         Jan  1 22:23:12 LT310 motion: [5] [NTC] [EVT] event_newfile:
> >         File of type 1 saved
> >
> >
> >
> >
> >         It makes logfile huge a lot.
> >
> >
> >         Please confirm if this is really necessary.
> >
> >
> >         Best regards
> >         Mariusz
> >
> >
>  
> ------------------------------------------------------------------------------
> >
> >         _______________________________________________
> >         Motion-user mailing list
> >         Motion-user@lists.sourceforge.net
> >         https://lists.sourceforge.net/lists/listinfo/motion-user
> >         http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
> >
> >
> >
> >
> ------------------------------------------------------------------------------
> > _______________________________________________
> > Motion-user mailing list
> > Motion-user@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/motion-user
> > http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
>
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Motion-user mailing list
> Motion-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/motion-user
> http://www.lavrsen.dk/twiki/bin/view/Motion/WebHome
>
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 3
Date: Wed, 13 Jan 2016 14:43:20 +0100
From: Ruben d'Arco <cyclops-mot...@prof-x.net>
Subject: [Motion-user] Bad Image. Zmodo ZP-IBH13-W
To: motion-user@lists.sourceforge.net
Message-ID: <20160113134319.ga11...@xavier.prof-x.net>
Content-Type: text/plain; charset=us-ascii

Hi,

I'm wondering if somebody ever solved this problem:
http://sourceforge.net/p/motion/mailman/message/33092120/

I'm also having a zmodo camera, specically type ZP-IBH13-W.
I've tried avplay, and it indeed simply stops playing after a while. vlc seems 
to do a better job, but is still very bad. The activeX plugin that the zmodo 
provides keeps on working just fine, but i can't really find out what type of 
stream that is.

I'm currenly using MrDave's pre-build version for raspberry, but since vlc or 
avplay are having issues - i guess which version i'm using is not important.

The idea of using vlc and reusing the stream is something i haven't tried, 
mainly because i don't fully understand that idea :)


regards,
        Ruben




------------------------------

Message: 4
Date: Sun, 17 Jan 2016 00:25:07 +0100
From: Mariusz Ciszewski <mariusz.ciszew...@gmail.com>
Subject: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <CAOpAQyJqrybhL2QNKps6-cdd+abp=acdlfn9v37g-ncukki...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hello.

I decided to ask you, how it works in real.

I think motion always use CPU at level close to 100% because it treats many
frames per second as the processor can do. It means slower CPU process less
frames per second, higher CPU process more frames per second but both of
them use close to 100% CPU. Isn't it?

If yes how can I decrease CPU usage in the best way (without large losses
for monitoring system purposes) ?

Best regards
Mariusz
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sun, 17 Jan 2016 00:23:19 -0500 (EST)
From: "Frank W. Samuelson" <fr...@merrill-samuelson.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        
<alpine.lrh.2.20.1601170012110.28...@pool-100-15-95-85.washdc.fios.verizon.net>
        
Content-Type: text/plain; format=flowed; charset=US-ASCII


For any reasonable frame rate motion should not use all your 
CPU.  At 5 frames/sec from a low-resolution web camera motion 
uses about 1.5% of my Core 2 Duo's CPU.  An older laptop of 
mine watches two cameras, one with high resolution.  That 
takes about 12% of CPU.

If you decrease the frame rate, the CPU usage should 
decrease.  But as noted above, motion is very efficient 
computational-wise, using the SIMD instructions on your CPU.

-Frank

On Sun, 17 Jan 2016, Mariusz Ciszewski wrote:

> Hello.
>
> I decided to ask you, how it works in real.
>
> I think motion always use CPU at level close to 100% because it treats many
> frames per second as the processor can do. It means slower CPU process less
> frames per second, higher CPU process more frames per second but both of
> them use close to 100% CPU. Isn't it?
>
> If yes how can I decrease CPU usage in the best way (without large losses
> for monitoring system purposes) ?
>
> Best regards
> Mariusz
>



------------------------------

Message: 6
Date: Sun, 17 Jan 2016 09:09:45 +0000
From: Colin Law <clan...@gmail.com>
Subject: Re: [Motion-user] How to decrease CPU usage ?
To: Motion discussion list <motion-user@lists.sourceforge.net>
Message-ID:
        <CAL=0glvvaxnjvra84y5aatz3246e6bb_h+-n7_bfmxbx1me...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On 16 January 2016 at 23:25, Mariusz Ciszewski
<mariusz.ciszew...@gmail.com> wrote:
> Hello.
>
> I decided to ask you, how it works in real.
>
> I think motion always use CPU at level close to 100% because it treats many
> frames per second as the processor can do. It means slower CPU process less
> frames per second, higher CPU process more frames per second but both of
> them use close to 100% CPU. Isn't it?
>
> If yes how can I decrease CPU usage in the best way (without large losses
> for monitoring system purposes) ?

The two ways to consider first are to reduce the size of the incoming
image if possible and to slow down the motion frame rate (which can be
set in the motion conf file).

Colin



------------------------------

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140

------------------------------

_______________________________________________
Motion-user mailing list
Motion-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/motion-user


End of Motion-user Digest, Vol 116, Issue 3
*******************************************

Reply via email to