I am running OMD 1.20 -latest according to official website, Check_MK 1.2.4p5 community edition on an Ubuntu 14.04.3 LTS machine. I need to configure a FTP check that will check also the credentials and reading/writing a file. The standard plugins do not offer such a feature from what I know so I am trying to…
What exactly does Valgrind take in to account when giving the number of allocations? [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations. Closed 7 years ago. Improve this ques…
Tshark custom grep
So my command is: So my output is: How can I get Apple_90:ea:8e + SSID=Broadcast and whats the logic behind the grep? Is it possible with grep? Considering that: Apple_90:ea:8e and Broadcast will always change! Answer The grep option -o says “only return what was matched, not the whole line” and -…
Which system calls are not interrupted by a signal?
AFAIK, most of the system calls on linux/unix are interrupted when a signal is received. According to the blog post below, there are some system calls that are not interrupted: In general function that return immediately (don’t wait for any I/O operation to complete or sleep) are not interruptible like …
datetime error while transferring from mysql to postgres using mysql2pgsql
While transferring data from MySQL to Postgres using mysql2pgsql I am getting the following error Exception: unknown datetime(6) I am using ubuntu 14.04, Mysql5.6 and Postgres9.3 Answer What version of mysql2pgsql are you using? Does your version include the fix for this issue? Is the traceback (found in logs…
fwrite fopen blocking threads
I have a multithreaded linux app written in c running on a i.mx6 arm. I have a 25lc256 spi eeprom mapped to the file system. Writes are relatively slow at the driver level, not much can be done there. The problem is that file functions are blocking other threads for too long. usleep additions don’t seem…
Bash, tar “cannot stat no such file or directory” [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. Closed 7 years ago. This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-top…
Bash – how to exclude directory with find command and how to get full path with find?
so I have the code right now down below, and I’m running into a few problems with it I’m having trouble excluding the directories being outputted by It is giving me the directories too instead of only names; I’ve tried different methods such as -prune etc. I’m having trouble with delet…
In Linux, what piece of software is responsible for drawing the mouse cursor?
As the title states it: what software actually draws the mouse cursor? Is there a programmatic way for modifying the visual appearance? Answer The mouse cursor (or mouse pointer) is drawn by the X server. Each application that the cursor moves over may be able to modify the appearance of the mouse cursor. Sin…
TCL Expect is injecting an extra null character to stdout
It seems that expect is adding an extra null character or something to stdout. For example: What is this extra character and how do I get rid of it? Answer It’s not a null character. You can use a tool like xxd to see exactly what output expect is producing: This shows that you are getting a standard CR…