For questions that are specific to the GNU/Linux operating system. If your question has nothing to do with Linux APIs or Linux-specific behaviour then do not use this tag, even if you are running on Linux.
0
votes
0answers
8 views
open() device in /dev folder
I am writing a kernel module. I have a utility provided by the course staff, which is ran by web2py at the browser windows. The utility tries to access character devices at /dev folder, by calling ...
0
votes
2answers
13 views
How to use ssh host rm -rf path to delete the files?
I want to use ssh host rm -rf to delete the file , but when I use ssh host rm -rf /disk/directory/* the result show
ssh: No match.
What is the problem ?
thanks ...
0
votes
0answers
10 views
Accessing powermeter device over serial port-half duplex RS485
I am writing an application that is intended to send command and read response over serial port. The end device supports RS485 half duplex communication, 7E1, No flow control. The powermeter device is ...
0
votes
2answers
14 views
Can't compile and run minisat+ sat solver
I use one of the Cent0S machines in my university's department.Note that i don't have permissions to use the system i use as root.I downloaded the minisat+zip file
I extracted the zip.According to ...
0
votes
1answer
10 views
Sync zip file with folder?
I know specifying a zip file in the command add the files to the zip file itself, but how can I really sync a folder having already a zip file so that it does add new files, replace modified files and ...
0
votes
0answers
5 views
Android and SOX, record music from android and mix it in server using SOX
I have an application that records audio and then I will mix it in the server side using SOX.
I captured the audio from the device like this:
recorder = new MediaRecorder();
...
0
votes
0answers
34 views
Notify/Signal when memory mapped file modified
I am currently sharing data (<1KB) between multiple processes by memory-mapping. 1 "writer" process and multiple "reader" processes all mmap the same file.
Currently the reader processes need to ...
3
votes
1answer
31 views
Bash : “done” unexpected (expecting “fi”)
I get the following error when i try to run the script
Bash : "done" unexpected (expecting "fi")
I tried both bash and dash ,i get the same error.
topip4="false"
topip6="false"
topurl="false"
for ...
0
votes
1answer
12 views
define IP routing in linux for multicast IPs
I want to multicast some MPEG-TS streams on my linux server such that the streamed content just be seen on localhost and not sent to the network interface of my system. I want to do this for some ...
0
votes
1answer
27 views
Force process to run in swap completely
I didn't find the solution for that, so I'm not sure, is there any.
I have a VPS, with 512MB RAM, and with SSD disks.
My problem is: I want to run a java based server program, and I want it to take ...
-3
votes
0answers
11 views
How can I manage source codes in Linux (code browser)
I'm trying to find code browser.
it should be able to find the code which is suit for my purpose.
able to store a new code with tag or something like that.
can browse it easily.
can comment to it.
...
0
votes
0answers
9 views
How to limit account resource usage on a single dedicated centos6 server
I have a centos6 linux box for hosting client websites.
Some of the websites spike on resources and the server becomes unresponsive.
Is it possible to write a script that can limit a particular ...
0
votes
0answers
39 views
send a file without waiting the reception of the whole file
I have a Server that contact another Server in order to obtain a file and then send it to the Client. I have write this piece of code (C - Linux) but only the first 4 bytes arrive to the Client.
...
0
votes
1answer
11 views
Amazon S3 HTTPS not loading with Chrome and wget on Linux
I am having a problem downloading files from Amazon S3 via HTTPS on Chrome (Ubuntu Linux). The URLs download without issue on versions of chrome for other operating systems. It loads fine on Firefox ...
0
votes
0answers
19 views
tracing program function calls
I played a bit with strace and ltrace These are wonderful tools. Is there any tool that does the same with the functions of my applications?
I am aware of system tap and ftrace but these require the ...