Ubuntu :: Several Scripts Simultaneously Accessing One File

Jan 21, 2010

I made a script for batch processing brain scans (with FreeSurfer). I have a batch file stored on an NFS server that looks something like this:

Code:

subject1
subject2
subject3
subject4

now my script is performed on several computers at a time, first it marks an item to be in use (with sed -i 's/.../...'), then processes it (it gets the actual subject files from elsewhere on the server, then puts them back), then marks it to be finished in the list. so during action the batch file should look something like this:

Code:

subject1 finished
subject2 inprogress on host1
subject3 inprogress on host2
subject4

so i tried a run and watched the batch file, now i observed something like this:

Code:

subject1 finished
subject2 inprogress on host1
subject3 inprogress on host2

[code]....

there was only one script running on host1. the subjects never got marked as finished, although i know for a fact that they were finished. also, the script sometimes seemed to hang for moments.

View 4 Replies


ADVERTISEMENT

Programming :: File Access Alert \ Only Gives The Processes Accessing The File At That Particular Moment?

Jul 11, 2011

I am trying to check what all processes are accessing a particular file (a UDP socket in my case) on a filesystem.I am using 'fuser' for that.But, it seems, it only gives the processes accessing the file at that particular moment.Is there any way to continuously run 'fuser' (or some other command) which will give all processes accessing the file during its run?OR is it possible to generate a filesystem alert when a particular process accesses the file?

View 1 Replies View Related

General :: How Many File Descriptors Accessing A Given File

Nov 28, 2010

On linux, is there a way to count the number of file descriptors open to a some file?

View 1 Replies View Related

Ubuntu :: Accessing File System In Terminal?

Nov 7, 2010

i just installed ubuntu on my old dell inspiron 4000 laptop. I have a problem with my screen though thats making ubuntu split in half makign it nearly impossible to use.. i found the possible solution at [URL] but im havin g trouble accessing File System where the document i need is located The solution states to open etc/X11 then to do some other line and change something in a text but i have no idea how to access File System using terminal?

View 5 Replies View Related

Ubuntu :: Accessing EXT4 File System Through Windows

Jul 31, 2010

Windows 7 by default cannot read/mount Ext4 type file systems. I installed Ext2fsd which allows me to mount my linux drive and navigate all the subfolders of my root (/) directory, however when I click on a folder from there (I.E, /home) this is what comes up: [URL].

View 4 Replies View Related

Ubuntu :: Accessing File System From Windows Vista?

Nov 7, 2010

I have Ubuntu 10.10 and Windows Vista on my laptop. I would like to be able to access the File System in Windows because I need to use iTunes to sync my iPod, while I actually get most of my Music in Ubuntu.

View 8 Replies View Related

General :: Accessing .dd File Extension

Mar 2, 2010

I am trying to access a .dd file extension. Do I have to mount it?

VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
# fdisk -ul VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd
Blocks Id System
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd1 8192 1535999 763904 5 Extended
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd4 * 32 8191 4080 4 FAT16 <32M
VMware-VMvisor-big-3.5.0_Update_2-110271.i386.dd5 8224 106495 49136 6 FAT16

[Code].....

I am trying to grab some files off this file to create a PXE vmware boot.

View 2 Replies View Related

Ubuntu Installation :: Getting A Phtml File While Accessing Webserver Through Firefox?

Apr 27, 2010

I'd like to ask a question about the apache webserver. I'm very sorry to post this topic here. It seems likely that this post is better off in server platforms and i didn't know where to post it.

Anyway, i have a problem with my apache webserver. Well, not so much however it is behaving strangely. When i installed the apache webserver and accessed the webroot (/var/www) through my webbrowser it said: It works!. Then i added a folder with an .php file to the root folder and get an error: access denied when i accessed it through my webbrowser. I'v tried to modify /var/www with chmod but this didn't work, however i do get a .phtml file offered as a download.

Also i have looked for a configuration file (httpd.conf) to alter the "DirectoryIndex" string. I did find the apache2.conf instead but it has no "DirectoryIndex" directive. I did google this problem but there is no straight answer to this.

View 5 Replies View Related

Ubuntu :: Accessing File System On Internal Hard Drive In 11.04

Jul 14, 2011

when I load into Ubuntu 11.04 from my USB drive, why can't I access the files on my internal hard drive? I mount the drive but I cannot see any of the music, videos or documents contained on that drive (which is also an Ubuntu 11.04 drive). I was wondering so I could copy those files onto my external hard drive and reinstall since my Ubuntu crashed.

View 3 Replies View Related

Server :: Accessing Other Linux File Systems?

Jun 19, 2010

I have 3 linux systems configured for running applications in each, named system1, system2 and system3. I have around 100 GB of space in system3 under /usr but not much being used. In System1 very less space is there but mostly hits coming here and need to have proper backup, as the system1 is quite old and not planned partitons properly. So I want to use a disk having more space for backup requirements.

View 17 Replies View Related

Server :: Accessing Database In FBD Data File

Feb 19, 2011

We purchased a new database system at work last October, ditching the old system because of a lack of support from the vendor. This is a retail Point of Sale and Backoffice database system. I am not sure what system the new one runs on, but the system we replaced was a Firebird data base. The reason I am posting is because we are now in need of the information contained in the old database which was not completely imported into the new system. Unfortunately, we parted company with the old vendor under extremely hostile conditions, and they are not a source of help for this problem, nor are the new vendors.

Basically the problem is this: The database in on a Windows XP system and I found a copy of SQL Manager Lite 2008 on the system, which after quite a bit of studying, I figured out how to extract the database into a removable file. I have this file (178MB) on a USB stick in a file called Backoffice.fbd. I can get into this database with MySQL. All I want to be able to do get into the database and create tab deliminated spreadsheet files for each of the database sections (Customers, Repairs, Sales History, stock files, etc.) Is it possible to do this with Ubuntu and MySQL and if so, can an expert suggest one or two things to get me started.

View 3 Replies View Related

Programming :: Accessing File And Manipulating With With Folders?

Mar 12, 2010

I have a .csv file with a list of Drugs Name that i need to remove from the folder. The folder consist of files that stored as drugname.mol format.

What i need to do is to sieve out those mol files from the folder?

How do i

(1) access the drugs names from the .csv file line by line (variable x)

(2) how do i access the files in the folder one by one (variable y)

(3) how can i do a comparison whether $x.mol == $y

(4) and shift them to another folder if $x.mol == $y

View 11 Replies View Related

Fedora Servers :: Accessing Index File By Hostname?

Sep 6, 2011

I have my home network up and running. I can access my index file by the ip I gave to eth0 - 192.168.0.2

I put this same ip into etc/hosts:
192.168.0.2 localhost localhost.localdomain
One space separates the hostnames from the ip in /etc/hosts.
The hostname command returns: localhost.localdomain

I have /etc/resolv.conf configured the right way, so I can use my isp's DNS servers. I know this because yum works and I can ping anywhere by url. The next step is to learn to access the index file by url locally on my own network.

View 7 Replies View Related

General :: Accessing Network Files Using File Protocol

Nov 11, 2010

I'm running Red Hat Linux 4.5 in VMWare Server (virtual machine) on Windows XP (host machine). I'm using a loopback adapter to assign an IP address of 192.168.1.100 to the VM.How would I set up file protocol to access the VM's filesystem? Is it possible?

View 1 Replies View Related

Programming :: CSH Permission Denied When Accessing Local File

Mar 9, 2011

I've just recently started learning shell scripting and I've been working on a basic csh script, but I've been having a few problems. Here's the script

Code:
#!/bin/csh
echo Enter a file name
$< = FILE ##Name of file
echo enter a size (in kilobytes) to monitor
SIZETOMON = $< ##Size value that's input by user
du -k $FILE = $SIZE ##Size of the file that the user wishes to monitor
while (1)
if $SIZE > $SIZETOMON then
echo ALERT: File size is greater than $SIZETOMON
end

And here's the output
Code:
/home/lucer/foo.txt: Permission denied.
Badly placed ()'s.

I'm not really sure what the issue is with the "badly placed ()'s" or why it won't let me access files that I can access with the same shell when it's not in a script.

View 14 Replies View Related

Fedora :: Stale File Handle - Accessing WLAN0 Interface?

Mar 22, 2010

I've got a problem while accessing the /etc/sysconfig/network-scripts/ifcfg-wlan0 file, CLI's throwing: "Stale File Handle" - there's no access to this file. Problem is the same regardless wlan0 interface is up or down.

View 2 Replies View Related

Networking :: Accessing Home File/print Server Through The Internet?

Mar 30, 2011

I just received a 2 tb drive for my server to be. The pc is a P4 3.06 ghz with 4 gb of ram. I have found a number of posts on this forum, as well as on the net in general, about setting up a file/print server at home. What I want to be able to do is to access my server through the internet from my office computer (windows 2000) How can I do that? I have not yet spent much time trying to decide which distro I will use. It seems that a number of them are suitable for this purpose, so I just plan to try several from a live cd and then choose one.

View 1 Replies View Related

Software :: Setup Apache To Normally Block An IP From Accessing A Site Until That IP Is In A Database/file?

Nov 16, 2010

Is it possible to setup apache to normally block an IP from accessing a site until that IP is in a database/file?More or less, I need a login system that another script can add/remove the IPs and the site can be accessed by only those IPs.

View 1 Replies View Related

Ubuntu :: Downloading From Several Mirrors Simultaneously?

Feb 12, 2011

I'm tring to download an iso image that's over 3GB. The file is hosted at several ftp mirrors. Is there a way to download the file from several of these mirrors simultaneously so that I can reduce the D/L time? Presently, it's will take close to 24hrs to D/L from just one mirror. I have a 25Mbps connection so my bandwidth is not an issue.

View 8 Replies View Related

Ubuntu :: Running 2 Browsers Simultaneously?

Apr 20, 2011

I heard that I should never run 2 web browsers at the same time.Is it true?Or does it apply to Ubuntu?

View 5 Replies View Related

Ubuntu :: Make 2 X Sessions Output Simultaneously?

Sep 12, 2010

I started a new x session on tty8. This is display 1. The first session is tty7 display 0.

I can switch between them easily enough. CTRL ALT F7 goes to tty7. CTRL ALT F8 goes to tty8.

But if I try to run, say, the "import" command for screenshots on tty8, while switched to tty7, all it gives is a black screen.

The reason being, I think, because only one session is actually outputting at any given time. How do I make both of them output, so I can take a screenshot on 1 session, but use the other session to do other stuff?

View 2 Replies View Related

Ubuntu Multimedia :: Multiple USB Mics To Be Used Simultaneously?

Nov 11, 2010

I recently purchased a set of three professional mics and converters for them (they are XLR mics, so i bought three icicles to convert into the USB port)The computer sees all three microphones, but I can figure out how to be able to record on all three at the same time.Is this at all possible, or did I just waste a ton of money on converters?EDIT: I would like to add that these mics are identical, and I'm wondering if nothing else if it's possible to merge the two mount points so that it appears as one micEDIT AGAIN: I have also just installed Pulse Audio Volume Control, and it picks up both mics. How can i tell audacity to use this?

View 1 Replies View Related

Ubuntu :: Display The Same Thing On Two Monitors Simultaneously?

Nov 18, 2010

I'm planning on getting an HDTV soon, and I'd like to be able to hook it up to my computer so that I can watch movies on it through my computer. I don't want to have dual monitors in the traditional sense where my desktop is spread across two screens. Rather, I just want my desktop to appear exactly the same on both my monitor and TV.

Is this possible? And if so, what would be the best way to go about doing this? My video card has two DVI ports, so I was planning on running a cable from the unused port to my TV and using a DVI-VGA adapter. Or would I be better off getting a TV with an S-video port, which I also have on my card, and connecting it that way

View 9 Replies View Related

Ubuntu Networking :: Static IP And DHCP Simultaneously?

Jan 5, 2011

Where I work we use almost exclusively Ubuntu 8.04 in command-line only form. I need to know if it is possible to configure one of these devices to use DHCP and a given Static IP at the same time. I know how to do one, or the other, but not both. #1. Is this possible?
#2. If so, how?P.S. Yes, I did look around before I asked this, but I could not find anything. Maybe I suck at searching?

View 4 Replies View Related

Ubuntu Networking :: NFS And Samba Sharing Simultaneously?

Jan 6, 2011

I have a Lucid server with several external (eSATA) NTFS formatted drives. Right now, I'm sharing everything through Samba and administered through Webmin. Partly because I'd like to play with it and learn more and partly to see if there's any appreciable difference in overhead and speed, I'd like to try out NFS.

My question is, can the two sharing schemes (NFS and Samba) coexist on the same box peacefully?If not, I can rid of Samba and go with NFS, but I'd rather give it a shot first.Plus, some of the clients are Windows machines, so I'd have to install the SFU tools in order to get an NFS client on them.

View 2 Replies View Related

Ubuntu Multimedia :: Cannot Run Jack And PulseAudio Simultaneously

Jan 10, 2011

I'm on Ubuntu 10.04 64bit, and I've got JACK and Pulseaudio both installed, though I don't run them simultaneously. I also have LinuxSampler and Rosegarden, and I have the necessary ALSA drivers. Pulseaudio can output to my external sound card, but JACK doesn't, even if I tell it to. I've seen its full name (Guitar Rig Mobile IO) and chosen it as the output device under Settings, but to no avail. It still sends the output to the internal (and crappy) sound card.

View 4 Replies View Related

Ubuntu Multimedia :: Use 2 Sound Card Simultaneously?

Sep 1, 2011

my internal sound card is used for videos and normal movie watching. second sound card m-audio connected to amplifier and speaker which is in living room. most of the time i need to use these sound card simultaneously. i want second sound card to be used with banshee or rhythom box to listen audio and keep the internal sound card for any other default audio usage

View 5 Replies View Related

Fedora :: Use Two Dictionaries Simultaneously

Nov 10, 2009

I am currently using gnome on Fedora 11 and English is the default language on the system. I was able to figure out how to make it possible to add Spanish characters when I type (likeetcetera). I also figured out how to install Spanish dictionaries for the software I use that commonly does spell checking. how to have two default dictionaries in use at the same time. For example if I am using OpenOffice to write something, I would like to be able to write in either Spanish or English and not have worry about changing the dictionary in use. Is it possible to have two dictionaries set up at the same time?

View 2 Replies View Related

Hardware :: USB Mouse And USB DAC Can't Be Used Simultaneously?

Mar 26, 2010

I have a USB mouse and a USB audio DAC. Both work fine separately with linux. The problem is when I try using both simultaneously. The first-plugged device will work fine, but not the second-plugged device. That is, if I plug the mouse first and the DAC second, then the mouse works and the DAC doesn't work. And conversely.

When I say that the second-plugged device doesn't work, here's what I mean: the USB device is detected by the system, but gets "reset" every 2 seconds and can't be actually used at all. Here are some log messages. Here I'm working in the case where I have plugged the mouse first and am plugging the DAC second.

Code:
$ lsusb | egrep -i mouse|texas
Bus 002 Device 009: ID 08bb:2704 Texas Instruments Japan
Bus 002 Device 007: ID 046d:c526 Logitech, Inc. MX Revolution Cordless Mouse
"Texas Instruments" is my DAC. So, at the level of lsusb, all is well.

[Code]...

View 6 Replies View Related

Ubuntu :: Sound Plays Through Both Headphones And Speakers Simultaneously

May 16, 2010

I'm using a new acer laptop 7736G with x64 ubuntu 10.04.Sound plays through both headphones and speakers when attached. When I use alsamixer and mute either the speaker or headphones, both of them mute.When I alter the volume of the 'headphone' column, nothing happens.If you need any more detail about my sound card etc I can go find it..

View 7 Replies View Related







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