Hello everyone,
I have many VGs on my system. I have created them whith the same command. I haven't specified the PP size while creating them. Logically, the PP size should be the same (default value) in all the VGs. However, I have different PP size : 32 MB, 256 MB, 64 MB and 128 MB.
Can anyone explain why I haven't the same PP size ?
Hello, all!
Working in a Bourne shell. What command would list the filename and size of a file if the size of the file had to be bigger than $a and smaller than $b?
Output (if $a is 10 bytes and $b is 50 bytes):test1.txt 15
test2.txt 30
test3.txt 50
Thanks,
Ann :p
In Centos, I have a text file in my home directory.
The command find . -size -1M doesn't show my file but find . -size -1000k does show it. This problem just seems to be happening when I use the number "1". The first command will work if I use -2M even though the file is only 500k in size.
Am I doing something wrong?
Hi there, am new to linux and shell script,am trying to write a shell script to find the size of a particular log file and if the log size grows, script should mail the changes to the administrator or a any user so script should monitor the log file continuously in a time interval, how can i do that?
While backing up some data (a 200 GB home directory) with rsync, I got an I/0 error for a particular file, after which rsync continued on "normally" with its backup. The problem source file showed as having a file size of 72 bytes.
I cancelled rsync, and ran the same command again. This time that same file showed to be transferring data.. lots of data ...and more data, and more...
I have converted my DB file to byte array and want to pass it my web service in order to save on server.
I have a folder containing a lot of KVM qcow2 files, they are all sparse files.
Now I need to get the total size of folder, the qcow2 file size should be counted as apparent size(not real size).
for example:
image: c9f38caf104b4d338cc1bbdd640dca89.qcow2
file format: qcow2
virtual size: 100G (107374182400 bytes)
disk size: 3.3M
cluster_size: 65536
the image should be treated as 100G but not 3.3M
hi
i want to retrieve talespace, datafile's path , size and another size in following querry in shell
Create Tablespace 'A' Datafile 'Some
Path' Size '10G' extent management Local uniform size '64M';
from another file say 'A.txt' where i ll dumb data in sequence separated by commas (,) ...
can u plz suggest me some code to do the same A.txt will b like (b,somepath,size1,size2)...
Hello,
I want remove files have same size in a directory.
this command only find this files.
Code:
ls -l | awk '$1!~/^d/{if(size[$5]!=""){ print}size[$5]=$8}'
I want to remove the files of the same size.
samples: 5 files are same size. I want to keep only first file.
Thank you very much for your help.