Hi,
I' using a sun solaris server, I would like to known if there is the possibility to control how many space is free on a tape and how I can delete a single file on a tape.
Thanks
DOMENICO (3 Replies)
Hi All,
below is my data file
file.txt
$$0 ServerA LAN1 AAA IT01 04/30/2008 09:16:26
$$0 ServerB LAN1 AAA IT02 04/30/2008 09:16:26
here $ is a blank space
how to delete first 2 blank spaces in a file. (4 Replies)
I am searching while I await a response to this so if it has been asked already I apologize.
I have a file with lines in it that look like:
bob johnson email@email.org
I need it to look like:
bob:johnson:email@email.org
I am trying to use sed like this:
sed -e 's/ /:/g' file >... (5 Replies)
i had this scenario where i need to delete a file that is 6 months old which is no longer needed. basically the filename is in the format of PCARDDAILYmmddyyyy.txt where the mm is the month, dd is the day, and yyyy is the year.
e.g.
PCARDDAILY05262009.txt
PCARDDAILY05252009.txt
... (6 Replies)
Hi all,
Is there a way to perform the above, I am trying to strip out more than one space from a line, but keep the single space. See below output example.
My Name is test test2 test3 test4 test5
My Name is test test2 test3 test4 test5
Please note that the lines would contain... (7 Replies)
consider the small piece of code
while read line
do
echo $line
done < example
content of example file
sadasdasdasdsa erwerewrwr ergdgdfgf rgerg erwererwr
the output is like
sadasdasdasdsa erwerewrwr ergdgdfgf rgerg erwererwr
the... (4 Replies)
Hi,
I'm trying to acheive the following, I have a dat file in which i have several addresses, If the address starts with a single digit then i have to delete the line,
if it starts with 2 or more digits then i have to keep the line
Here is a sample of my file:
377 CARRER DE LA... (5 Replies)
Folks,
How do i delete an entire line that starts with blank space?
Ex: I have a file like below.
abc def (10/12) ghi
_________ jkl
_________ mno
pqr stu (11/12) vwx
I need the ouput like
abc def (10/12) ghi
pqr stu (11/12) vwx
Thanks for your elp in advance !!!! (2 Replies)
here is what i want to achieve.. i have a file with below contents
cat fileName
blah blah blah
.
.DROP this
REJECT that
.
--sport 7800 -j REJECT --reject-with icmp-port-unreachable
--dport 7800 -j REJECT --reject-with icmp-port-unreachable
.
.
.
more blah blah blah
--dport 3306... (14 Replies)
I have tried below email method and i am getting every thing in single line . i have put echo to provide space, but it is not helping
my code
(
echo "From: $FROM"
echo "To: $MAILTO"
echo "CC: $CC"
echo "Subject: $SUBJECT"
echo "MIME-Version: 1.0"
echo 'Content-Type: multipart/mixed;... (6 Replies)
Discussion started by: mirwasim
6 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)