For questions that are specific to the GNU/Linux operating system. If your question has nothing to do with Linux APIs or Linux-specific behavior you should not use this tag, even if you are running on Linux.

learn more… | top users | synonyms | linux jobs

0
votes
0answers
13 views

Syncing two remote programs relying on time only (Python)

I have two programs, S and D,written in Python 2.7, running on seperate machines, both linux. The goal is to pass a file (in other words, bits) from S to D, through third party server called T only, ...
0
votes
0answers
15 views

How to solve the 'Lock obtain timed out' when using Solr plainly?

I have two cores for our Solr system (Solr version 3.6.1). When I invoke the following command line on our dedicated Solr server to add and then index a file: java ...
0
votes
0answers
9 views

How to find servlet config file in linux

I have an Apache server that uses Java Servlet to execute the Java function in website(HTML). I am trying to search where are the related config files located. I tr searched with the following ...
0
votes
1answer
54 views

Using fflush(stdin) in linux

I use ubuntu 12.04 and gcc compiler. I am reading several strings, but sometimes some string reads '\n'. So I want to use fflush(stdin). Since it's not there, how can I implement it. I also heard that ...
1
vote
1answer
12 views

Floating Point Bug in OpenCL via ssh

I found a problem with floating point arithmetic in OpenCL. This is my kernel: __kernel void MyKernel(__global const float4* _pInput, __global float4* _pOutput) { int IndexOfRow = ...
1
vote
0answers
15 views

Difference in output when executing system(…) in program and actual command

I have a program written in C that creates an output file with lines of characters. My intention is to count the number of unique lines of characters in this output file (excluding "ABC"). I can do ...
0
votes
0answers
11 views

usbnet driver and network subsystem

I am working on a project "AVB" bridging. We are doing audio-video streaming over the ethernet. The packets streaming takes place through the USB. Its like USB-ETH(MAC) chip, with USB connected to the ...
0
votes
1answer
11 views

Linux: in6addr_any and bind to specific IPv4 address

We need to port IPv4 sockets to both IPv4 & IPv6. I would like to create a server IPv6 socket that will be bind in6addr_any. I understand that it can process IPv4 requests but my problem is that ...
0
votes
0answers
8 views

Linux (GLNXA64) using mxCreateUninitNumericMatrix R2013b

In one mex file I created an output matrix with the command plhs[0] = mxCreateNumericMatrix((mwSize)destLen, 1, mxUINT8_CLASS, mxREAL); working fine. For speedup I wanted to use the dynamic memory ...
0
votes
0answers
12 views

How copy Lint warnings in Eclipse when using Linux OS

How copy Lint warnings in Eclipse when using Linux OS. Thanks in advance.
0
votes
0answers
9 views

Aptana linux error

I'm using Linux Mint and I got Aptana and lampp installed, I created a workspace within the htdocs folder of lampp, but since the htdocs folder could not be chosen as workspace, it decided to crash ...
0
votes
1answer
14 views

What does “a memory zone is balanced” mean?

Recently, I begin to read Understanding the linux VM management, though it's out-dated. At the first chapter, I found some statements like: a zone is/isn't balanced. What does the word "balanced" ...
0
votes
2answers
37 views

How to use while loop to check condition in linux?

I have to do something like this : while ( condition) do wait I have to do this is in linux. While the state of snapshot is pending it should wait. Content of ec2-describe snapshot is : ...
0
votes
0answers
4 views

Understanding the Device Tree mechanism

Was reading the Device Tree Usage and reached to the section describing the ranges key attribute for a node. external-bus { #address-cells = <2> #size-cells = <1>; ...
2
votes
3answers
31 views

How do I delete lines of a given interval in a file containing a matching word?

I need to use sed to delete from a file only the lines containing a given word. But if my file has 50 lines, I only need to look at the first 30 lines for example. I know that: sed '1,30d' f.txt ...

15 30 50 per page