02-16-2008
First, is the file being written to, or read-from & written to? Second, if the file is being appended to in chunks, is it being closed each time? Third, what is the file system (ext2, ufs, etc) this file is being stored on? (mount will usually tell you) Fourth, how much free space is on the filesystem? (df will tell you)
9 More Discussions You Might Find Interesting
1. Red Hat
Hi, I facing an NFS problem. I have machine1, which has diskA and diskB, and machine2, both are Mandriva 2009 Linux.
When I am on machine2 and NFS mount both diskA and diskB of machine1. Writing to diskA is very fast, but writing to diskB is very slow. I tried different mount rsize and wsize... (2 Replies)
Discussion started by: hiepng
2 Replies
2. Red Hat
Hi guys,
I am trying something. I wrote a simple shell program to test something where continuous while loop writes on a file over the nfs. The time taken to write "hello" 3000 times take about 10 sec which is not right. Ideally it should take fraction of seconds. If I write on the local disk, it... (1 Reply)
Discussion started by: abhig
1 Replies
3. Shell Programming and Scripting
Dear All,
I am using the following script to find and replace the date format in a file. The field18 in the file has the following format: "01/26/2010 11:55:14 GMT+04:00" which I want to convert into the following format "20100126115514" for this purpose I am using the following lines of codes:... (5 Replies)
Discussion started by: bilalghazi
5 Replies
4. Shell Programming and Scripting
Please, I need help tuning my script. It works but it's too slow.
The code reads an acivity log file with 50.000 - 100.000 lines and filters error messages from it. The data in the actlog file look similar to this:
02/08/2011 00:25:01,ANR2034E QUERY MOUNT: No match found using this criteria.... (5 Replies)
Discussion started by: Miila
5 Replies
5. Shell Programming and Scripting
Hello everyone,
suppose there is a very big text file (>800 mb) that each line contains an article from wikipedia. Each article begins with a tag (<..>) containing its url. Currently there are 10^6 articles in the file.
I want to take random N articles, eliminate all non-alpharithmetic... (14 Replies)
Discussion started by: fedonMan
14 Replies
6. Shell Programming and Scripting
Hello,
Hope you are doing fine. Let me describe the problem, I have a script that calls another script K2Test.sh, this script K2Test.sh (created by another team) takes date as argument and generates approx 1365 files in localcurves directory for given date.
Out of these 1365 I am only... (11 Replies)
Discussion started by: srattani
11 Replies
7. Red Hat
My code
Hi All,
I am having redhat linux 5.3 (Tikanga) with GFS file system and its very very slow for executing ls -ls command also.Please see the below for 2minits 12 second takes.
Please help me to fix the issue.
$ sudo time ls -la BadFiles |wc -l
0.01user 0.26system... (3 Replies)
Discussion started by: susindram
3 Replies
8. Shell Programming and Scripting
I have shell program as below
#!/bin/sh
echo ======= LogManageri start ==========
#This directory is getting the raw data from remote server
Raw_data=/opt/ftplogs
# This directory is ready for process the data
Processing_dir=/opt/processing_dir
# This directory is prcoessed files and... (4 Replies)
Discussion started by: Chenchireddy
4 Replies
9. UNIX for Dummies Questions & Answers
I am working on a CentOS release 6.4 server which has two mounted NAS devices, one with 20 x 3TB HDD running in FreeBSD with Zfs2 and one NAS which I don't know much about, but which has 7 HDDs in RAID-6.
I was running tar -zxvf on a tarball that is 80Mb with 50,000 small files inside. Even... (4 Replies)
Discussion started by: TupTupBoom
4 Replies
LEARN ABOUT DEBIAN
multinode_server
MULTINODE_SERVER(1) MORSE MULTINODE_SERVER(1)
NAME
multinode_server - Server program to synchronise several instances of MORSE
SYNOPSIS
multinode_server [synchronisation delay]
DESCRIPTION
Socket server program to synchronise several instances of MORSE (nodes) running the same simulation scenario. This program must be started
before launching the simulation in the nodes.
All the client nodes will connect with the server and send it the updated positions of the robots they manage. The multinode_server program
will concentrate the positions of all robots into a single Python dictionary, and then send it back to all clients.
It also permits pausing the simulation, by typing in its terminal p and Enter. The same command will allow the simulation to continue.
This mechanism relies on the fact that the clients will remain waiting for a reply from the server before continuing with the simulation.
PARAMETERS
[synchronisation delay]
Optional parameter that defines the delay (in seconds) between messages to the connected clients. A larger delay will slow down the
simulation in all clients. Default value is 0.0
SEE ALSO
morse(1) morseexec(1)
COPYRIGHT
2009-2010, LAAS-CNRS/ONERA ; 2010-2012, LAAS-CNRS
0.5.2 May 14, 2012 MULTINODE_SERVER(1)