Go to advanced search

by cc_benny
Fri Feb 17, 2017 8:25 pm
Forum: Advanced users
Topic: Monitor a log file in real time, and do something. How?
Replies: 4
Views: 1893

Re: Monitor a log file in real time, and do something. How?

Your AWK program declares a string "echo hello" and doesn't do anything with it. I think you want

Code: Select all

... | awk '/player_new/ { print "hello"; }'
by cc_benny
Thu Dec 15, 2016 7:36 pm
Forum: Deutsch
Topic: Probleme mit /etc/crontab
Replies: 3
Views: 4286

Re: Probleme mit /etc/crontab

Die Datei /etc/crontab ist etwas anders als die normalen Crontabs der Benutzer. Zwischen den 5 Spalten für die Zeitangabe und dem Kommando ist da noch eine zusätzliche Spalte für den Benutzer, als der der Code laufen soll. Du solltest Einträge in /var/log/messages oder /var/log/syslog haben, wo CRON...
by cc_benny
Wed Apr 29, 2015 6:08 pm
Forum: Raspbian
Topic: chroot and qemu failure
Replies: 2
Views: 879

Re: chroot and qemu failure

Make sure that you have binfmt-support and qemu-user-static installed.
Verify with "update-binfmts --display" that qemu-arm-static is registered.
Make sure that the qemu-arm-static binary is at rootfs/usr/bin/qemu-arm-static *inside the chroot*.
by cc_benny
Sun Apr 12, 2015 4:55 pm
Forum: Raspbian
Topic: C & Ada Compilation
Replies: 4
Views: 871

Re: C & Ada Compilation

I never used Ada, but for GCC in general, "-o" is the option to name the output file, while "-O" is the option for optimization. So you probably want "-O3", not "-o3".
by cc_benny
Fri Dec 27, 2013 6:51 pm
Forum: General discussion
Topic: Experimental enhanced X driver (rpifb)
Replies: 98
Views: 53451

Re: Experimental enhanced X driver (rpifb)

When I try to apt-get fbturbo I get "E: Unable to locate package xserver-xorg-video-fbturbo". Is that still the correct place to find it? Do you have the foundation repository configured? I have: deb http://archive.raspberrypi.org/debian wheezy main deb-src http://archive.raspberrypi.org/debian whe...

Go to advanced search