with your code are 3 different jobs and not three jobs in one array
I tried with 20 jobs
What I need is something like this:
where the script "loop" read the 20 line (names in this case) from a file (each line would be a job of an array job)
Last edited by echo manolis; 03-09-2018 at 06:34 AM..
hi all,
I am a newbie in unix shell script. May I know how to write a bacth job to
read a list of files afrom the inout file and do the chmod ? Thanks.
i.e.
inside input.txt
====
a.txt
b.txt
c.txt
and I want to write a batch job to read the input .txt and do the chmod 755 for all 3... (14 Replies)
Hi
I need to read a value of the variable into array so each character/digit will become an array element,for example:
A=147921231432545436547568678679870
The resulting array should hold each digit as an element.
Thanks a lot for any help -A (7 Replies)
Hi
I've a config file like:
file1
#comment
k_array: 1 2 3 4 5
n_array: 7 8 9 0 11
I'd like to write a script that read it and store k_array and n_array in 2 arrays.
I mean the script should be able to use both as array.
I've tried to use awk as (only for one array):
... (5 Replies)
hi friends
well m facing a different sort of issue in my cron.
i hav set job like this
30 09 * * 1 /bin/backup14M
01 14 * * 1 /bin/backup14N
20 18 * * 1 /bin/backup14E
that is for every Monday at three different times.
but, first job executes well, later ones do not. I checked my... (13 Replies)
Hey all,
I have a binary file, named "exe1" that receives a parameter. (I don't have its source code).
Executing "exe1" results in creating 3 output files.
I have a bash script that runs "exe1".
I want to enter "exe1" to cluster queue (using subq command)
But i want to do it more than... (1 Reply)
Dear All
I am trying to write a script to set the SGE job execution order. I named each job with 'job1', 'job2' and 'job3'. I want my script to do: When 'job1' execution is complete, 'job2' is executed; when both 'job1' and 'job2' are complete, 'job3' is executed.
First, I tried this... (0 Replies)
Hello,
I have some issue with qsub and the standard output : I launch a script that "echoes" the string "abc" and then executes a C program in which I print informations with the printf function ; the .o file contains "abc" but not the information displayed by printf. I also tried... (0 Replies)
Hello. Hopefully this is the right forum, did a search and found some similar questions here.
I'm trying to find out if there is a way to get the job id while submitting a job using qsub. I want to monitor the list of active jobs using qstat and when my jobid is no longer on the active list, I... (3 Replies)
I have an array and two variables as below,
I need to check if $datevar is present in $filename.
If so, i need to replace $filename with the values in the array.
I need the output inside an ARRAY
How can this be done.
Any help will be appreciated. Thanks in advance. (2 Replies)
here is the pesudo file.
REREREEEEEERRRREER
SOMEStrinG1234 RERRRR EEERRRREER
SOMEStrinG1224 REREREEEREERRR REE
SOMEStrinG1214 REREREREREREREEEER
SOMEStrinG1204 RERE EEEEEERRRRRRR
SOMEStrinG1294 REREEREEE ERRRREER
SOMEStrinG1284 REREREEEEEERR REER
here is my attempted code
#include... (3 Replies)
Discussion started by: briandanielz
3 Replies
LEARN ABOUT DEBIAN
measurefs.reiser4
measurefs.reiser4(8) reiser4progs manual measurefs.reiser4(8)NAME
measurefs.reiser4 - the program for measuring reiser4 filesystem parameters (fragmentation, node packing, etc.).
SYNOPSIS
measurefs.reiser4 [ options ] FILE
DESCRIPTION
measurefs.reiser4 is reiser4 filesystem measure program. You can estimate reiser4 filesystem fragmentation, packingm etc. structures by
using it.
COMMON OPTIONS -V, --version
prints program version.
-?, -h, --help
prints program help.
-y, --yes
assumes an answer 'yes' to all questions.
-f, --force
forces measurefs to use whole disk, not block device or mounted partition.
-c, --cache N
sets tree cache node number to passed value. This affects very much behavior of libreiser4. It affects speed, tree allocation, etc.
MEASUREMENT OPTIONS -S, --tree-stat
shows different tree statistics (node packing, internal nodes, leaves, etc)
-T, --tree-frag
measures total tree fragmentation. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to 1.00000 (maxi-
mal one). Most probably, this factor may affect sequential read performance.
-D, --data-frag
measures average files fragmentation. This means, that fragmentation of each file in filesystem will be measured separately and
results will be averaged. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to 1.00000 (maximal one).
Note, that for the fresh filesystem (created not very long time ago) and even fully filled by data, this value will be pretty small.
-F, --file-frag FILE
measures fragmentation of the specified file. The result is fragmentation factor - value from 0.00000 (minimal fragmentation) to
1.00000 (maximal one). Note, that fragmentation of a small file (depends of used tail policy), which consists of tail items, is not
very reliable value. That is because, they is always afoot due to balancing.
Examples:
measurefs.reiser4 -F /usr/bin /dev/hda2
measurefs.reiser4 -F /bin/bash /dev/hda2
-E, --show-file
show file fragmentation for each file if --data-frag is specified.
PLUGIN OPTIONS -p, --print-profile
prints the plugin profile. This is the set of default plugins used for all parts of a filesystem -- format, nodes, files, directo-
ries, hashes, etc. If --override is specified, then prints modified plugins.
-l, --print-plugins
prints all plugins libreiser4 know about.
-o, --override TYPE=PLUGIN, ...
overrides the default plugin of the type "TYPE" by the plugin "PLUGIN" in the plugin profile.
Examples:
measurefs.reiser4 -o nodeptr=nodeptr41,hash=rupasov_hash /dev/hda2
REPORTING BUGS
Report bugs to <reiserfs-devel@vger.kernel.org>
SEE ALSO debugfs.reiser4(8), mkfs.reiser4(8), fsck.reiser4(8)AUTHOR
This manual page was written by Yury Umanets <umka@namesys.com>
reiser4progs 28 Apr, 2003 measurefs.reiser4(8)