I've written a script to count the total size of SAN storage LUNs, and also display the LUN sizes.
From server to server, the LUNs sizes differ.
What I want to do is count the occurances as they occur and change.
These are the LUN sizes:
49.95
49.95
49.95
49.95
49.95
49.95
49.95
49.95... (2 Replies)
I need to count the number of occurrences of a pattern, say 'key', between each occurrence of a different pattern, say 'lu'.
Here's a portion of the text I'm trying to parse:
lu S1234L_149_m1_vg.6, part-att 1, vdp-att 1 p-reserver IID 0xdb
registrations:
key 4156 4353 0000 0000
... (3 Replies)
Hello, I'm trying to create a BASH file that can read all the files in my working directory and tell me how many words and lines are in that file. I wrote the following code:
FILES="*"
for f in "$FILES"
do
echo -e `wc -l -w $f`
done
My issue is that my file is outputting in one... (4 Replies)
how to count the total number of lines of all the files under a directory using perl script..
I mean if I have 10 files under a directory then I want to count the total number of lines of all the 10 files contain. Please help me in writing a perl script on this. (5 Replies)
Hi,
Please let me know how to find out number of files in a directory excluding existing files..The existing file format will be unknown..each time..
Thanks (3 Replies)
Hi!
I just want to count number of files in a directory, and write to new text file, with number of files and their name
output should look like this,,
assume that below one is a new file created by script
Number of files in directory = 25
1. a.txt
2. abc.txt
3. asd.dat... (20 Replies)
hi I am trying to write a script to count the number of files, with slightly different subset name, in a directory
for example, in directory /data, there are a subset of files that are name as follow
/data/data_1_(1to however many).txt
/data/data_2_(1 to however many).txt... (12 Replies)
I have a directory of files, each with a variable (though small) number of lines. I would like to go through each line in each file, and print the:
-file name
-line number
-number of matches to the pattern /comp/ for each line.
Two example files:
cat... (4 Replies)
Discussion started by: pathunkathunk
4 Replies
LEARN ABOUT DEBIAN
ifrit
IFRIT(1) General Commands Manual IFRIT(1)NAME
ifrit - a powerful tool that can be used to visualize 3-dimensional data sets
SYNOPSIS
ifrit [qt-options] [options] [dir_name]
DESCRIPTION
This manual page documents briefly the ifrit command. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
OPTIONS -8 accepts an 8-bit display
-d starts IFRIT with all windows docked together into a single window.
-nf does not show the splash screen at start-up
-sw uses small font to reduce the QT window size
-rw IFRIT is being used remotely. This option can be used to minimize re-drawing of the widget windows.
-ni IFRIT is not idiosyncratic. This prompts IFRIT not to ask for a confirmation when exiting or running scripts.
-np number
sets the number of processors to use. Note that only some parts of IFRIT support parallel execution so far.
-i file_name
loads the state from the previously saved state file filename.
-b file_name
runs IFRIT in batch mode, taking animation script from the file filename. If filename starts with sign "+", standard directories
(see ENVIRONMENT VARIABLES ) will be prepended to the file name.
-h -help
show the list of available command-line options.
ENVIRONMENT VARIABLES
IFRIT understands the following environment variables (all in capitals):
IFRIT_DIR
The main IFRIT directory where you keep the variable file ifrit.nam and options file(s) ifrit.ini. If this variable is not set,
IFRIT assumes that current directory is the main directory.
IFRIT_DATA_DIR:
The default directory for the data files. If not set, IFRIT will start searching for the data files in the current directory.
IFRIT_MESH_DATA_DIR
The default directory for the mesh data files. If not set, IFRIT will start searching for the mesh data in the default data direc-
tory.
IFRIT_PART_DATA_DIR
The default directory for the particle data files. If not set, IFRIT will start searching for the particle data in the default data
directory.
IFRIT_VECT_DATA_DIR
The default directory for the vector field data files. If not set, IFRIT will start searching for the vector field data in the
default data directory.
IFRIT_TENS_DATA_DIR
The default directory for the tensor field data files. If not set, IFRIT will start searching for the tensor field data in the
default data directory.
IFRIT_IMAGE_DIR
The directory where IFRIT will place image and animation files. If not set, IFRIT will put image files into the current directory.
IFRIT_SCRIPT_DIR
The directory where IFRIT will place animation scripts. If not set, IFRIT will put scripts into its main directory.
IFRIT_PALETTE_DIR
The directory where IFRIT will place custom palettes. If not set, IFRIT will put palettes into its main directory.
SEE ALSO
The IFRIT help system.
AUTHOR
This manual page was adapted by Mark Hymers <mark.hymers@ncl.ac.uk> from the ifrit help system, for the Debian project (but may be used by
others).
September 09, 2004 IFRIT(1)