I get a error like My java version is: My eclipse.ini: Linux version: Why am I get that error and how can I solve it? Ran java -jar plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar Answer The problem was that whenever navigating to any workitem on RTC, that error occurred and eclipse crashed. Bas…
Tag: linux
Provide vim syntax highlighting system wide by debian package
I wrote a custom software using its own configuration files under /etc. The software is built in a Debian package and delivered by a custom repository. In order to provide a nice syntax highlighting in vim I wrote all the necessary files to nicely highlight my own config files. If I place them under ~/.vim/sy…
What is importance of using GPL lincense in linux device driver
What is the exactly benefit of using MODULE_LICENSE(“GPL”) in linux device driver development. i mean what will we lack or gain by not using or using it. which kernel symbols we will not able to use when we will define MODULE as non GPL. Answer The big difference is the symbols that are exposed to…
Cannot simultaneously run python 2 and 3 due to import errors
I am trying to be able to run python2 and python3 simultaneously on a server that I do not have root access to and which does not have a recent python3 implementation. This works fine on my own server which I do have root access to, but I can’t figure out what I am doing wrong. For reference, the python…
Obtaining UNIQUE VALUE occurrences count in a set of COLUMNS using AWK
IGNORING columns 1 & 2 (only the rest of the columns); I would like to obtain the occurrence COUNT of UNIQUE EVEN values (ignoring ODD ones) for the following set of data. I have tried: I obtain 76 but I don’t expect this value. Answer You can try this awk command to count unique values ignoring 1st and 2…
Find filenames with variable number of characters
Using Ubuntu. I have a directory, with some sub directories, which may have some files with names formatted like this: So, they all start with ‘core’. then a process name, then the PID number, which is usually 4 or 5 digits. My Python based tool uses two ‘find’ commands to find them, l…
RT preempt vs RTAI vs Xenomai for real-time linux
What are differences, pros and cons of the three referred real time OS framework, extensions or patches? I want to measure a CPU timestamp counter (TSC), time in nanosecond everytime when a data frame or an ack frame of Wifi is sent or received. And I realized that one of three real time technique is required…
Why does my assembly program give segfault?
I have the following piece of code that I have to debug: After compiling and running that code I obtain a segmentation fault error, it seems that something goes wrong after the 5th line. My linux asm knowledge is very basic, any hints or ideas about what is exactly going wrong and how to fix it? This piece of…
No access to /dev/mem. Try running as root
I’m a newbie! I have python files code to turn on the light: i tried here and here and here here on forum i chmod pi for /dev , adduser group file 1 file 2 access GPIO: Error occurs here. “No access to /dev/mem. Try running as root!” i have try here and here and here here on forum and
Java Command Line on Different OS’s
Okay, so I am using process builder to launch an independent java process from the current java process, using the code: to test it, just as a simple questin, will the command always be “java -jar something.jar,” on all operating systems? and if not, what are the formats for mac and linux? Answer …