Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tail log via ssh not working #68

Open
gaolongquan opened this issue Aug 30, 2016 · 0 comments
Open

tail log via ssh not working #68

gaolongquan opened this issue Aug 30, 2016 · 0 comments

Comments

@gaolongquan
Copy link

ssh remote tail -f /var/log/apache2/access.log | ngxtop -f common
Traceback (most recent call last):
File "/usr/bin/ngxtop", line 9, in
load_entry_point('ngxtop==0.0.2', 'console_scripts', 'ngxtop')()
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 385, in main
process(args)
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 370, in process
process_log(source, pattern, processor, arguments)
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 267, in process_log
processor.process(records)
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 215, in process
for r in records:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 148, in add_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 135, in map_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 135, in map_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 148, in add_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 148, in add_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 135, in map_field
for item in dict_sequence:
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 187, in
records = (m.groupdict() for m in matches if m is not None)
File "/usr/lib/python2.6/site-packages/ngxtop-0.0.2-py2.6.egg/ngxtop/ngxtop.py", line 186, in
matches = (pattern.match(l) for l in lines)
IOError: [Errno 4] Interrupted system call

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant