Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested Linux Dev Solutions: 51 - 75 of 762
 
I have designed a microprocessor setup to convert a serial interface to a parallel interface to facilitate installing parallel devices off of a serial port switch (connected to the computers v...
This is probably a simple thing that I just can get.  I have a script that has several functions within it; each are components.  When the user runs the script, they specify which component th...
Where could I find a RAR application for Linux (Fedora). Thank you.
Hello! I would like to write to disk in atomic way to support transactions. To achive this, I have to write to disk in portions equal to the size of disk sector size. The problem is that it...
hi! i want to run a code every 2nd MONDAY of every month... what should be the cron format.. will it be..  
I'm using cygwin (assuming the same thing will happen in Linux). When I use g++, some .h.gch file is generated after I getting some error message. Can any body tell me what are the content for...
Hi, In HP-UX, you can get a list of active processes and their relevant information by calling pstat_getproc(). How can this be achieved in linux using c/c++? I.e. how can i get a list of cur...
I need to calculate the execution time of a C++ code segment. On solaris I could do this by using hrtime (high resolution timer) and by starting and stopping the timer before and after the par...
I would like to ask the question about Java File RenameTo method in LINUX. So far the method is working fine in LINUX ES3. A file can be rename within a partition (e.g.: From /disc1/oldfilenam...
I'm writing a simple Client program in C using sockets to transfer a file from a server also written in C which is running ( and tested correctly). The problem is, I'm able to transfer text or...
Hi, For some reason when using Shell it doesn't let me su  to the root. For example I logged in as jack. And I do su - root, I get this error: su: cannot set user id: Resource temporarily ...
I wrote the following script where I am sending an email from a KSH script. It just hangs and does not send the email. #!/bin/ksh typeset -i a=0 typeset -i b=0 typeset -i c=0 typese...
Hi I'm writing a script to do backups to a tape drive, and getting "ambiguous  redirect" errors piping the status of the job as it progresses into a variable to be emailed. I'm sure it's some...
Hi, I'm working on a program that has a Makefile that contains the following section: //------------ # Make command to use for dependencies MAKE=gmake # If no configuration is speci...
Dear Experts, I need some advices on the linux LD_LIBRARY_PATH var and the embedded executables search path. I've an application that depends from several modules, built as shared librarie...
hi I would like to fork multiple child processes form a daemon process at different time intervals. i.e. I have one daemon processw hic spawns off 1 child process, then 3 seconds later i...
Basically we have a read thread that does the following:     for ( bool done = false ; !done ; ) {         //         // Under normal conditions this loop should have a read action      ...
I have a file and wish to replace the string after certain characters with another pattern e.g. in file one line appears as :  2008-03-31 23:31:12,253 DEBUG FileBean -  ^F-12674^ :: process: ...
I have errors in the log that span multiple lines and I can find say the 2nd line in the log of this erro using an unique word.  However, this only gets me the line that the word appears in no...
I have connected to a TCP socket and after a period of time, I try to send a data using "send()". Due to some network problems, the server does not respond and I get a connection timed out err...
Hello there,     This must be a FAQ. I need to know how can I get the process id of the current pthread. When I call pthread_self() it returns pthread_t value (integer), which is different...
Hello experts..         I'm trying to narrow down a problem. I have a process running 24 threads in a thread pool. Operation is typical - whenever a message is available, one of these thre...
I've tried to execute a few commands in Linux such as du, find and it shows /lib/ld-linux.so.1: bad ELF interpreter: No such file or directory . Could anyone tell me what I should do about t...
I'm working on a visual program, that may need to run a tar command as root, to extract files. I've been scouring the web trying to find a way to run a shell program that will su to root, pas...
Hello, I need to implement a function in C to calculate the total cpu usage in percentage (%) But I need I fast fast function that can be called at least from every 0.5 sec and use no threads...