I am trying to setup kdump to generate the vmcore for kernel-3.10.0-123.el7. For the perf kernel kernel-3.10.0-123.el7.x86_64.rpm i setup kdump and kdump is working fine too, generating vmcore. Then i installed kernel-debug-3.10.0-123.el7.x86_64.rpm using yum install kernel-debug-3.10.0-123.el7.x86_64.rpm and…
Bash script to check a specific php process is running?
I am running websocket server with the nohup command like below. But it stop working after few hours.So i have created a bash script like below Then i run the script with below command like below. The work of the above script if to check my chat-server.php is running or not if it is not running then it will s…
Function Shell Script no return data
When i run the script (./meuscript.sh), I have no return, only if i select cancel the dialog. If I run the script without the function, the command is executed correctly Answer You have an endless loop. Rename the function to something else so that you don’t end up with ping calling ping calling ping ca…
error while loading shared libraries: libcapnp-0.5.3.so
I think this is a generic problem not specifically related to Cap’n Proto. My project’s build succeeds but on run I get: Maybe I am missing something in CMake? I verified libcapnp-0.5.3.so exists in /usr/local/lib I also tried adding: Answer /usr/local/lib needs to be added to /etc/ld.so.conf then…
passwordless ssh from linux to Solaris works for oracle user but not for ftpuser [closed]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers. 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-topic on another Stack …
Installing (and deploying) Mono ASP.Net to Redhat
I have an Asp.Net app (built in mono) that I am trying to deploy to a Linux Redhat 6 environment. I tried following the instructions on the mono website: http://www.mono-project.com/docs/web/aspnet/ http://www.mono-project.com/docs/getting-started/install/linux/ I was able to get nginx installed and setup; ho…
Nancy on Linux is using 100% CPU
My nancy web-apps are using up together 100% CPU without them actually being used. They are running inside a docker container on mono. The only thing I could think about to cause this, would be the endless loop in my main function, something like but I thought, Console.ReadLine() would be blocking and therefo…
How to cross compile system tap scripts for user space application
The challenge that I faced was on identifying the process name / library name within the script.During the cross compilation the process name and library name are being referred with real path of process/library in the host (which I understood after peeked the generated .ko). Since the real path of host and t…
I am trying to replace a string in a file via shell script where a part of the string is unknown
I have tried a few ways with sed as below without success: I do not know the value behind “=” which can have up to 2 digits. Before and after the string there is a space, and the string always starts with “device.value=” PS: The file is a one liner with many values seperated through a …
How to get port information for usb ports using libudev?
For a small project i am using libudev to get notification for USB devices plug-in/plug-out. Is there any way of knowing which USB port was used to plug in the device via libudev. Actually there are multiple ports available and it is necessary to know which one was used. Any hints would be highly appreciated!…