I have a series of data files [ each file contains three columns ] for which I wish to plot using "splot". Say, the files names are like:
950_data,951_data,952_data,......1000_data.
For one file , say to plot 950_data, i write following lines into a single file and load it in the gnuplot as :
and this 'plot' file contains the following lines.
If you can see that the above is only for file named " 950_data" . I want to do this for all files from 950_data to 1000_data.
It is to be noted that the :
has to be updated properly from 950 to 1000 files we have.
Can anyone help this with the use of the loop in the gnuplot.
Hi,
I am generating a file through some Datastage commands:
cat $TempDir/stage.txt |while read line
do
stagename=`echo $line`
dsjob -llinks $proj $jobname $stagename 2>/dev/null >> $TempDir/LinkName.txt
Now i have to assign the number... (5 Replies)
I/P file name:- 20092008.txt
Check number of entries in i/p file by following command
ChkEnt -infl 20092008.txt -opfl 20092008_test.txt >count.txt
Dear Friends,
Please help me in automating following thing.
If output generated (count.txt) is having value more than 1000 i.e.... (8 Replies)
Im new to C, and Im having a hard time getting a random number.
In bash, I would do something similar to the following to get a random number;
#!/bin/bash
seed1=$RANDOM
seed2=$RANDOM
seed3=$RANDOM
SEED=`expr $seed1 * $seed2 / $seed3`
echo ${SEED%.*}
Now, in online examples... (4 Replies)
Hello All, I am stuck up in a program where the rand functions ends up giving all the same integers. Tried sleep, but the numbers turned out to be same... Can anyone help me out how to fix this issue ? I have called the srand once in the program, but I feel like when I call fork the child process... (5 Replies)
Can anybody tell me why the second part of this script (Sieve of Eratosthenes) isn't working properly. This isnt coursework or homework just private studies ( Yes Project Euler began it ) I know there are easier ways of doing this too but I want to do it this way.:p
Iam using Cygwin on Vista... (3 Replies)
Hi there I am trying to generate a random number between 40 and 70 using the shell here is my code so far and it keeps going above 70. all help much appreciated!
comp=$(( RANDOM%70+40 ))
echo $comp (4 Replies)
Having a hard time with this. Very new to scripting and linux. Spent all sunday trying to do this. Appreciate some help and maybe help breaking down what the syntax does.
Create a Bash program. It should have the following properties
• Creates a secret number between 1 and 100
i. The... (3 Replies)
Hi Guys and gals...
As you know I am getting to grips with POSIX and hit this stumbling block.
Generating two random numbers 0 to 255 POSIXly. Speed in not important hence the 'sleep 1' command.
I have done a demo that works, but it sure is ugly! Is there a better way?
#!/bin/sh
# Random... (12 Replies)
Discussion started by: wisecracker
12 Replies
LEARN ABOUT CENTOS
bno_plot
BNO_PLOT(1)BNO_PLOT(1)NAME
bno_plot - generate interactive 3D plot of IO blocks and sizes
SYNOPSIS
bno_plot [ -h | --help ]
[ -v | --verbose ]
[ -K | --keys-below ]
[ <file...> ]
DESCRIPTION
bno_plot is a visualization tool for the block layer IO tracing tool called blktrace(8). As noted in its documentation, blktrace is a
block layer IO tracing mechanism which provides detailed information about request queue operations up to user space.
bno_plot utilizes gnuplot to generate a 3D plot of the block number output from btt. If no <files> are specified, it will utilize all
files generated after btt was run with -B blknos (meaning: all files of the form blknos*[rw].dat).
The -K option forces bno_plot to put the keys below the graph. If it is not specified, all keys for input files are put in the upper right
corner of the graph. If the number of devices exceed 10, then bno_plot will automatically push the keys under the graph.
To use this utility, the gnuplot package needs to be installed.
To exit the plotter, enter 'quit' or ^D at the 'gnuplot> ' prompt.
AUTHORS
bno_plot was written by Alan D. Brunelle. This man page was created from the blktrace documentation by Bas Zoetekouw.
REPORTING BUGS
Report bugs to <linux-btrace@vger.kernel.org>
COPYRIGHT
Copyright (C) 2008 Hewlett-Packard Development Company, L.P.
This is free software. You may redistribute copies of it under the terms of the GNU General Public License
<http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the extent permitted by law.
This manual page was created for Debian by Bas Zoetekouw. It was derived from the documentation provided by the authors and it may be
used, distributed and modified under the terms of the GNU General Public License, version 2.
On Debian systems, the text of the GNU General Public License can be found in /usr/share/common-licenses/GPL-2.
SEE ALSO
btt (1), gnuplot (1), blktrace (8), blkparse (1), verify_blkparse (1), blkrawverify (1)
blktrace git-20080213182518 February 22, 2007 BNO_PLOT(1)