question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Evaluate to change sniff filters

See original GitHub issue

Put an x into all the boxes [ ] relevant to your issue (like this: [x])

What is the purpose of your issue?

  • Bug report (encountered problems with amazon-dash)
  • Feature request (request for a new functionality)
  • Question
  • Other

Guideline for bug reports

  • amazon-dash version: 1.1.1
  • Python version: 2.7.9
  • Pip & Setuptools version: 18.0
  • Operating System: Raspbian (Linux version 4.9.35-v7+)
  • The pip install or setup install command has been completed without errors
  • The python -m amazon_dash.install command has been completed without errors
  • The amazon-dash discovery command works without errors
  • I have created/edited the configuration file
  • Amazon-dash service or amazon-dash --debug run works

Description

It seems amazon-dash service consumes a relevant share of CPU (around 15% average) in stand by. I think this is too much for a service like this, especially if you are using a Raspberry Pi as a server. In the same Raspberry Pi, other services like lighttpd, plexmediaserver, transmission and home assistant do not consume more than 2% in stand by.

What I Did

I ran ‘top’ and ‘htop’ for a while and observed the results (sorted by cpu usage).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Nekmocommented, Aug 17, 2018

Ok, It works. Thank you.

0reactions
Nekmocommented, Aug 19, 2018

@etatus This change will be released in release 1.2.0. You can try this version using:

pip install git+https://github.com/Nekmo/amazon-dash.git@develop#egg=amazon-dash

http://docs.nekmo.org/amazon-dash/installation.html

Version 1.2.0 will be released in the coming weeks. There are still several months left for release 2.0.

Amazon-dash 2.0 is a major release and has many changes (+20 execution methods and more). It is still in development.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Filter options for sniff function in scapy - python - Stack Overflow
I'd like to know about the ways in which filter option in sniff() function can be used. I tried using format in documentation...
Read more >
Scapy Documentation - Read the Docs
Scapy is a Python program that enables the user to send, sniff and dissect and forge network packets. This capability allows construction of ......
Read more >
Comparison of Methods for Sniff Measurement Concurrent ...
We used 2 thermistors that were designed specifically for the measurement of nasal airflow–related changes in temperature (MLT415/A, ADInstruments). One ...
Read more >
Query Optimization Techniques in SQL Server: Parameter ...
In this blog post we will walk you through one of the SQL Query Optimization Techniques in SQL Server - Parameter Sniffing.
Read more >
Berkeley Packet Filter - an overview | ScienceDirect Topics
Use BPF filter language on Snort startup (see later section “Using Snort as a quick sniffer”). ▫. Use a Pass Rule (pass rules...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found