Software :: CGI Program While It Is Inserting The Data?

Feb 23, 2010

I know that Apache creates as many instances of a CGI program as required but I have no idea how those instances write to the same file in an orderly manner.For example, a CGI program called by Apache inserts additional data in a file, is that file made automatically unavailable to the other instances (children) of this CGI program while it is inserting the data? Or should the CGI program do that?

View 2 Replies


ADVERTISEMENT

General :: Inserting Xml Data Into Mysql Taking So Long?

Jun 14, 2011

I have about 200k data entries in xml file. I wrote php script (using php-xml) to read xml file and insert into mysql. At first it went really quickly inserting, then after a while after inserting 100k entries, it slowed right down, just like it would not even doing anything. I have CentOs with 512M on VirtualBox running as server.

View 3 Replies View Related

Programming :: Inserting Text Blob Into C Program

Aug 26, 2010

I'm writing a C program, and using Autotools. I have a large text file that I need to include verbatim, as data for my program.I used to have a hacked-together Perl script that would take a file like this: Code: A Rabbi, a Priest, and a Minister walked into a bar.The bartender said, "What is this, a joke?" I found this site that contains instructions for doing exactly what I want, but that technique requires GNU's ld, and the whole point of using Autotools in the first place is to make my project platform- and compiler-independent.I should point out that, according to the Autotools help, I can do this with a script called either "txtc.sh" or "txtc.sh.in". Unfortunately, Google can't find such a script, and it's not in any package that I can find.

View 12 Replies View Related

General :: Program To View Data In Memory RAM?

Aug 5, 2011

I'm running a java program and to debug the program instead of using a debugger I would like to look to the heap and to the bytes in the memory of the process. I was hoping that the pointers would give me a snapshot of a moment of the application. It exists a program that allow us to look to the details of a process and to the memory ram?

View 2 Replies View Related

Programming :: Store The Data In Program In A Map Of Priority_queues?

Jul 30, 2011

I am trying to store the data in my program in a map of priority_queues an I am having a bit of trouble doing it. basically I am storing activities (ie watching tv, eating dinner, playing ping-pong, etc) and I want these event grouped by the day that they happened on.
my first thought was to use a multimap where the key is the date, and the value is the activity, however I would like to keep the activities in a specific order. I have tried to find the proper syntax for this but have frustratingly come up empty. Even google provided little assistance.

View 9 Replies View Related

Ubuntu :: Finding A Program To Store And Retrieve Data?

May 22, 2010

I am looking for a program to help me store, organise and retrieve information. The aim would be to keep notes from literature, concepts and ideas which i come across during my studies. It's always a hassle to retrieve this information when i have to write a paper for instance. So in fact what i need is a sort of wikipedia-like program where information is searchable and where perhaps hyperlinks could lead me from one word/note to another.

View 2 Replies View Related

Applications :: Finding A Program To Destroy Data On DVDs

Feb 7, 2011

What I want to do is force my DVD burner to use full writing power on the entire surface of a DVD. This should be able to invisibly damage the contained data, and should work on CDs, DVDs and BRDs too (in theory). I don't want to write data over it, so it's not a matter of having a RW disc or a R one. The result I want to obtain is simply an unreadable disc that does not look damaged. Do you know if there's a program able to ignore a disc being already full and perform this task?

View 2 Replies View Related

Security :: Blocking Program Access To Clipboard Data?

Feb 9, 2011

I'm running a program called Synergy+ to let my keyboard and mouse control multiple computers. One of Synergy+'s features is that clipboard (copy-paste) data is able to be shared, as in copy on one machine, paste onto another. I would like this functionality removed but Synergy+ has no way to disable it. I'm looking for any ideas to block clipboard data from being transferred. Is there a way to block a program from accessing the machine's clipboard data?

View 5 Replies View Related

Software :: Program That Can Recover Data Lost On An Iphone?

Nov 21, 2010

my mother wanted to update her iphone and during the process something happened and all of the phone has been wiped and we don't know what to do, regular recovery tools only work with regular storage media and the iphones file structure is too advanced to the point where you can only do this with a machow can i recover the data if there was no backup on the computer that it was using to upgrade

View 3 Replies View Related

Software :: Memory Card Data Recovery Program?

May 18, 2009

A friend of mine asked me to try and recover some photos she deleted by accident on her SD memory card. Normally, I would flip over to my Windows box and do this, but I'm wondering if there is a Linux equivalent to a Windows data recovery program. I'm running Fedora 10.

View 2 Replies View Related

Programming :: C Program For Fetching Data From Excel Sheet?

Jan 31, 2011

i am using linux for the first time. i have been given a project which will fetch data from csd(comma separated form) and ll display on d screen. i want a c program for linux which ll do the above given task. moreover i want the parameter file(such as location of file, file name,etc..) as a different file. so that i can access this program on any computer.

View 3 Replies View Related

Programming :: Serial Port Program Not Outputting The Right Data?

Apr 11, 2009

I have connected a device to my linux system with a serial cable (rs232). The settings are: port /dev/ttyS0, baud rate=38400, data bits=8, stop bits=1, no parity, no hardware or software handshaking. I wrote a linux program that sends 1 byte to the device, but the device doesn't receive it. I know the serial ports are working because when I use the CuteCOM application to send data, the device DOES receive it, so obviously it is a problem with my code..

Code:

#include <stdio.h>
#include <stdlib.h>
#include <math.h>

[code].....

View 2 Replies View Related

Ubuntu Networking :: Wifi - Program Could Monitor - How Much Data Each Person Is Using/downloading

Sep 1, 2011

I have my system connected to a sky wifi box (LAN connection) for my broadband, I also have about 4 tenants connected too, via wireless.

I was wondering if there were a program that i could run on my system that could monitor, or that i could use that would tell me how much data each person is using/downloading and what websites they were viewing etc..

View 1 Replies View Related

Programming :: Select() Call Does Not Detect Data In Pipe Between Parent And Child Program

Sep 23, 2009

i wanted to capture the stdout and stdin of a child process within a parent so that any output of child is sent to the parent and any input taken from the parent. code is simple enough and i have followed all code guidlines on the internet (some guidlines do differ also) my select call either hangs if i do not give a tmeout and with a timeout it returns 0 descriptors to be written to or read from:

below is the simple code for parent:

int main(void)
{
int outfd[2];
int infd[2];

[code].....

why select hangs without a timeout ... why can it not detect that the pipe is write ready i.e parent can write to it ... if it does not detect tha read pipe as having data...

View 5 Replies View Related

Programming :: Serial Port Communication Program Always Lose One Byte Data: 0x00?

Dec 13, 2009

I wrote a serial port communication program to access a equipment.

int main(void)
{
int fd = 0;
int nread = 0,i = 0,nwrite = 0, tmpread = 0, m = 0, n = 0 ;

[code]....

View 2 Replies View Related

SUSE / Novell :: Program To Completely Destroy All Data In Free Space On Hard Drive?

Aug 10, 2010

I dont want to wipe the whole drive, and i don't want to delete only particular files. I want to completely destroy all data in free space.I've found some articles about secure-delete package for linux that would allow erasing freespace with the command 'sfill,' but I can't find it in the repositories nor through google. This would be ideal but it seems maybe it's debian only.

View 2 Replies View Related

Ubuntu :: Inserting Pictures On Vi / Vim?

May 17, 2011

Title is self explanatory.

Is there any way i can accomplish this?

View 1 Replies View Related

Software :: Vim Keeps Inserting Hash?

Nov 4, 2010

If I try and paste text from the clipboard when using vim, it automatically inserts hash at the start of every line. This is driving me mad! How to I get rid of it? Ive deleted all my .vim files/directories in my home directory.

View 3 Replies View Related

Ubuntu :: 11.04 Goes To Sleep On Inserting Any USB Device?

Jul 6, 2011

When I insert any USB device (flash drive, bluetooth device, Nokia USB data cable), my system goes in suspend mode (standby). Same thing happens when I remove the device. I have to wake up the computer by pressing a key or the power button. By the way, I don't think this ever happened in the first 3 or 4 days of installing Natty.

View 1 Replies View Related

Ubuntu :: Inserting A CD In The Drive - Not Playing ?

Apr 18, 2010

While I'm inserting a CD in the drive it is not playing.

View 5 Replies View Related

General :: Error Inserting Module ?

Jan 31, 2011

I am having a problem while inserting a particular module.

Following are some prints :-

I am using STLinux-2.4 Distribution, kernel 2.6

I have changed the access permissions on all the .ko as rwx. Still I am getting the problem.

View 2 Replies View Related

General :: Inserting A USB Flash Drive?

Jun 5, 2011

What command is executed when you plug in a USB Flash drive manually in the PC's USB port?I am pluggin in the device and it is automatically getting mounted in /media/ed7a753f-df88-4984-b65a-5d3a8cc2714a. After I unmount the device using umount /media/ed7a753f-df88-4984-b65a-5d3a8cc2714a, how do I remount it from the terminal so that the weird directory gets created automatically and the Flash Drive gets mounted there?Another question, where does the system get this ed7a753f-df88-4984-b65a-5d3a8cc2714a. Is it some kind of identification of the disk?

View 6 Replies View Related

General :: Inserting Same Word On Different Lines In Vi

Aug 2, 2011

I am having problem in adding a word in same place on different line in vi editor (/bin/bash).

View 4 Replies View Related

Server :: Inserting Into The Actual File With Sed?

Mar 1, 2010

this is my sed script

#
# insert the line '-A INPUT -i eth0 -j ACCEPT'
# in iptables
#
/-A INPUT -i eth0 -j ACCEPT/a
-A INPUT -i edge0 -j ACCEPT

but when i run sed -f script iptables. it just echo's it to the the screen with my line added and not into the actual file. anyone know what i am doing wrong?

View 4 Replies View Related

Programming :: Inserting Usr Into /etc/passwd Via Script?

Jan 19, 2011

I need to either locate a script that is similar to what I am needing or figure out a better way of doing what I need. I have mutiple shops with AIX unix servers, using ksh with virtual terminals that connect. since these are on an internal network we have them connecting to the server as either usr01, usr02, etc. what I need to do is add 15 user's ranging from usr01-usr15 into /etc/passwd each usr is identical in such that each line contains

Code:

usr01::0:0::/usr/tops:/bin/ksh

only difference is the usr# changes. I wrote a script where I was just adding these all to the /etc/passwd but now I have been tasked with adding them to these shops but with out any duplicates. is there any way to have a script check the file to see if the usr# exists and if so proceed to the next number and then input the usr#::0:0::/usr/tops:/bin/ksh into the file?

View 7 Replies View Related

Red Hat :: Error Inserting MD5 - Invalid Argument

Mar 24, 2011

I am running Red Hat with 2.6.18-194.8.1.el5PAE kernel version. I am trying to run encryptfs to encrypt a partition on my hard drive. One of the kernel modules necessary is the md5.ko. I noticed it wasn't loaded in when doing an lsmod. I tried running modprobe md5 and it fails to load:

[root@ ~]# /sbin/modprobe -v md5
insmod /lib/modules/2.6.18-194.8.1.el5PAE/kernel/crypto/md5.ko
FATAL: Error inserting md5 (/lib/modules/2.6.18-194.8.1.el5PAE/kernel/crypto/md5.ko): Invalid argument

I ran dmesg and grepped for md5, but I didn't see anything in there.

View 1 Replies View Related

Debian Multimedia :: Autorun When Inserting Media

Jun 28, 2011

How do i stop the autorun dialogue when i insert a cd or dvd or any removable media?

View 7 Replies View Related

General :: Nautilus Popping Up After Inserting USB Stick In KDE?

Aug 28, 2011

I am using Debian testing with KDE 4.6.5. However, when I insert my ubs stick, on top of the expected kde response I get a Nautilus window popping up (which is the Gnome file manager). How can I disable this?

View 1 Replies View Related

Ubuntu :: Require Password When Inserting Usb Drive?

Sep 21, 2010

does anyone know how to make ubuntu 10.04 ask for a password when inserting a thumb drive / flash drive

View 8 Replies View Related

Ubuntu :: RhythmBox - How To Stop Autoplay When Inserting CD

Apr 13, 2011

I have Ubuntu 8.04, and Rythmbox 0.11 I am using for my home music source. I have been building a music library on my hard drive by inserting CD's, then using the "Copy to library" function. This works fine, but when I insert the CD, Rythmbox stops playing from the play list and switches to playing the CD. How do I stop this?

I can (and do) stop the player, manually go back to the play list, restart the player, then I can transfer the music from the CD to the hard drive. I'd just as soon not have it auto play. Or, alternately, is there another jukebox like player with more features that can handle the above? I find the shuffling isn't what I like, it seems to play some songs a lot more then others but I can live with that.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved