Advertisement

635 organizations, including eBay, Ericsson and Lockheed Martin, now work smarter with Corporate Accounts. Save up to 42%

 

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

 
Time Tested Linux Dev Solutions: 76 - 100 of 426
 
I have an appliication that needs to be constantly running. At the moment I start the application by running it from the command line and occassionaly it will, for some reason, stop running an...
I have a text file that I read for a number Sometimes the number can be 1 decimal place other times it can have up to 3.  It's a temperature reading.  so 29.765 or 55.5 or 99.32 In bash, ...
I am trying to understand how Linux kernel differentiates between virtual address space of kernel and virtual address space of user space process for Intel CPU architecture . Linux KERNEL loa...
On Linux, in my program I got a string e.g. "614748364856" which can not be fit in int type if I use atoi function. I need to declare an 64 bit integer and use something like atoi64( ) to get...
background info: 1 Obtained an ARM processor Cross Compiler 2 Obtanied GCC source code 3. Configured GCC for cross compiling --build=i686-pc-linux --host=arm-apple-darwin --target=arm...
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...
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 would like an automated tool(s) that will stress test a serial port like ttyS0. I have a multiport (octal) serial board. I would like to test the driver for flow control, baud rate, etc. But...
Experts, I have a while loop that does some work on a number of cmd line parameters in sucession. creates an array within the while loop. based on the array created I want to exclude th...
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...
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      ...
When I press SHIFT+F1 the same escape codes are sent Linux as when I press the F11 key: (ESC[23~) I am running: - PuTTY release 0.58 - PuTTY Configuration / Terminal / Keyboard settings: ...
I am trying to write a script that will tar files by date.  My system is set up to archive certain files into a directory named with the date of the archive.  For example: /data/archive/08-08-...
I'm running a server which continuously receives data over a network, processes the data, and stores the processed data in a large database.  The database consists of multiple files which ar...
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...
I have a script to check the mail box size of people ########## #!/bin/bash ####Provide the mail size in kilobytes######## let size=1600 for name in `find /var/spool/mail/ -size +${size...
How I can create a folder name like current date. Eg: 01012004. On using shell script. I am not familiar with shell script. Pls help.
I have a script that works with a file that is named by the user on the command line when running the shell script.  I want to take the name of the file that was entered and check if it alread...
Hi, I am struggling to install RMagick, the ruby interface to ImageMagick on CentOS5. I have ImageMagick installed (tried both from source and via yum) RMagick will build but when try...
Hi Experts, I have installed Linux(centos) in my vmware virtual machine.  I enabled SSH in the firewall so that I can connect to the server from my windows XP PC which hosts the virtual mac...
Hello, Here is my file ; it is an sql file. select @i_date_v := min(from_unixtime(logging_time, '%D-%M-%Y')) FROM 1_event_2008070600; select @mm1_succ_1 := count(*) FROM 1_event_2008070...
If I have a makefile rule like: myprog.o : myprog.cpp     g++ -g -Wall -c myprog.cpp Why does make say: "make:  *** No rule to make target `myprog.cpp', needed by `myprog.o'.  Stop." ...
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...
hi, is there a way to link against a windows dll under linux? maybe with WINE? thanks, i really appreciate your help
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...