Greetings,
I am developing a scientific application used to perform physical simulations. The algorithms used are O(n3), so for a large set of data it takes a very long time to process. The application runs a simulation in around 17 minutes, and I have to run around 25,000 simulations. That is around one year of processing time.
The...
I am writing a set of database-driven applications in PHP. These applications will run on a Linux server as its own user. Other users will likely be on the system at times, but have very controlled access. Other servers they will not have access to at all. I will also expose a limit stored procedure API to developers who need to writ...
/dev/md1 6068992 5204648 551080 91% /
I have 91% taken and am trying to discover what files are taking up space. I'm using linux. Does any one know the command?
thanks
...
I am attempting to link an application with g++ on this Debian lenny system. ld is complaining it cannot find specified libraries. The specific example here is ImageMagick, but I am having similar problems with a few other libraries too.
I am calling the linker with:
g++ -w (..lots of .o files/include directories/etc..) \
-L/usr/lib -l...
How to UDP Broadcast with C in Linux?
...
I'm just finishing up a computer architecture course this semester where, among other things, we've been dabbling in MIPS assembly and running it in the MARS simulator. Today, out of curiosity, I started messing around with NASM on my Ubuntu box, and have basically just been piecing things together from tutorials and getting a feel for h...
I need a small, portable framework for logging on embedded linux. Ideally it would output to a file or a socket, and having some sort of log rotation/compression would also be nice.
So far, I've found a lot of frameworks, but almost all of them have daunting build procedures or require the use of application frameworks (e.g. log4cxx re...
I'm trying to write a program to process the BSD-style process accounting file under Linux (/var/account/pacct).
When we start a script with either ./script_name or bash script_name, the process accounting record actually gets written out the the command bash. Presumably because that's the actual program doing the running.
What we'd li...
I'm developing my application (on Linux) and sadly it sometimes hangs. I can use Ctrl+C to send sigint, but my program is ignoring sigint because it's too far gone. So I have to do the process-killing-dance:
Ctrl+Z
$ ps aux | grep process_name
$ kill -9 pid
Is there a way to configure bash to send the kill signal to the current proces...
Hi,
I am working on an application that involves some gis stuff.
There would be some .shp files to be read and plotted onto an opengl screen.
The current opengl screen is using the orthographic projection as set from glOrtho()..and is already displaying a map using coordinates from a simple text file..
now the map to be plotted is to b...
How can I include a blank space ' ' and a comma ',' in this simple regular expression?
\w{1,64}
\w corresponds to: [A-Za-z0-9_], viz avery char between a-z (case sensitive/insensitive), numbers between 0-9 and the underscore.
I need to add space and comma to this. I've been trying directly whit
[A-Za-z0-9_, ]
but this did allow cha...
I'm developing several closed source applications for Mac OS X and Windows. I'm considering adding Linux to the list of supported platforms.
These applications manage content on a web site and manage and monitor the servers that host the content. For each application, there is a web based XHTML front end as well as rich GUI front ends f...
I'm writting a Linux module (Kernel Programming), and I`m getting:
"Unable to handle kernel NULL pointer dereference"
What does it mean?
...
I'm trying to get information like OS version, hard disk space, disk space available, and installed RAM on a Linux system in C++. I know I can use system() to run different Linux commands and capture their output (which is what I'm currently doing) but I was wondering if there's a better way? Is there something in the C++ standard libr...
What is the default location for the MySQL configuration file on a redhat linux box?
...
My hosting provider (pairNetworks) has certain rules for scripts run on the server. I'm trying to compress a file for backup purposes, and would ideally like to use bzip2 to take advantage of its AWESOME compression rate. However, when trying to compress this 90 MB file, the process sometimes runs upwards of 1.5 minutes. One of the resou...
I am designing a system which will at some point require to send email notifications. So I am looking for a simple way to do this. Some background: the system will be running on Linux platform, there will be a working SMTP server somewhere on the network, the operator will configure its address, server credentials if required and a list ...
I have a program that writes to a FILE *cgiOut and just after it has written to the stream, I need to fork and run a background process. The trouble is that after the fork, the FILE * stream seems to flush out sometimes and I get duplicated output (after the fork, all open files are closed which I guess causes the buffers to be flushed)...
What is the maximum number of threads that can be created by a process under Linux?
How (if possible) can this value be modified?
...
How, under Windows and Linux, given a thread handle can I determine the beginning and end of its corresponding static thread local storage block?
...