I installed an HP smart array p400. and having getting the following problem, the system does the partioning and a full installation with out a glitch,however, once the server reboots it goes a a black screen with a blinking cursor.
does any have an idea of what could be causing this?
*no usb devices are plugged
*raid controller its p...
With top it's easy to find out how much CPU each job uses. However, I want to hunt down a job that causes a high wait CPU. Is there a way to find out which jobs are blocked on I/O?
...
I wrote this really nice app that works just fine in Linux.
It uses strptime(). Windows doesn't have this.
Is there a Windows alternative for this?
My coworker needs to use this app.
(I tried googling it already to no avail)
...
The main players seem to be x264, and xvid, and both are GPL. This means we can't integrate decoding capabilities into a playback application without licensing the whole thing as GPL, so we can't use either.
The preferred target platform is Linux. Any non-viral open license is fine, we're more than happy to provide the source of any ch...
I have a shared library say "libeval.so". I am using this in my project to create on more shared library called say "lidpi.so". The library called "libdpi.so" is used by a tool. Now, this tool cannot see any other library other than "libdpi.so". I am using few function calls that are present in "libeval.so", and these are not present in ...
I want to publish some software for different Linux distributions, using the regular Linux packaging formats (rpm, deb, yast, etc). My package will require a click-thru license agreement. Which Linux tools and package formats support a license in the package which is shown to the user before installing the software?
...
Hi
When I use gcc under Linux to compile some c programs,
I usually use -g to get some debug information into the elf file
so that gdb can help me when that is needed.
However I noticed that some use -ggdb, since it is supposed to make the
debug info more gdb friendly.
(And I guess that it is correct to use -ggdb since I debug wi...
Hi fellas,
Can you recommend some nicely developed terminal multiplexer.
...
I am thinking about a script/program that can run in background, and attempt to backup or synchronize a given filesystem path to a mirror location (probably located on an external/separate storage device).
This should apply to Windows but it could as well be used under Linux.
Differential/incremental backups are a bonus.
Windows Syste...
Hello,
i need to get the mem usage VIRT and RES at run time of my program and display them.
What i tried so far:
getrusage (http://linux.die.net/man/2/getrusage)
int who = RUSAGE_SELF;
struct rusage usage;
int ret;
ret=getrusage(who,&usage);
cout<<usage.ru_maxrss;
but i always get 0.
...
Is there a bluetooth API and tutorial for ANSI C in Linux?
...
I have a daemon I have written using Python. When it is running, it has a PID file located at /tmp/filename.pid. If the daemon isn't running then PID file doesn't exist.
On Linux, how can I check to ensure that the PID file exists and if not, execute a command to restart it?
The command would be
python daemon.py restart
which has t...
How can I move all files except one? I am looking for something like:
'mv ~/Linux/Old/!Tux.png ~/Linux/New/'
where I move old stuff to new stuff -folder except a Tux.png. !-sign represents a negation. Is there some tool for the job?
...
Have to know this thing that it exist or not.
...
I just want to know which is the best way to execute an external command in C++ and how can I grab the output if there is any?
Edit: I Guess I had to tell that I'm a newbie here in this world, so I think I'm gonna need a working example. For example I want to execute a command like:
ls -la
how do I do that?
...
how to find a loop in the file system in Linux? i am indexing all files for making search fast(O(1))... i am using c programming language to implement by using the library functions in dir.h.... I can scan through entire file system but it goes in a loop if there is loop in the filesystem(example loop mount)... how to find the loop in fi...
Let's say that I've got my code base to as high a degree of unit test coverage as makes sense. (Beyond a certain point, increasing coverage doesn't have a good ROI.)
Next I want to test performance. To benchmark code to make sure that new commits aren't slowing things down needlessly. I was very intrigued by Safari's zero tolerance poli...
I am trying to implement a little 'intranet' on my home network, but I am an apache/mysql configuration noob...
Running fedora 10, and have apache, mysql, and php set up as well as i know how. However, when I try using a standard form with POST, the php script seems to error out on the mysql_connect(...); line. I don't get an error me...
As we know, doing things in signal handlers is really bad, because they run in an interrupt-like context. It's quite possible that various locks (including the malloc() heap lock!) are held when the signal handler is called.
So I want to implement a thread safe timer without using signal mechanism.
How can I do?
Sorry, actually, I'm n...
In a team environment on a Linux system I just pulled the latest code base from the head of the tree, and some stuff that's been working for a long time has stopped working. We have dynamic shared objects, and the APR library call faills:
err = apr_dso_load(&mod->handle, mod->path, mod->pool);
if (err ) {
fprintf (stderr, "Faile...