8 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi ,
I Would like to know the space allocated by adding up all the allocated space to group of filesystems ..
example ,
df -h|grep /db | awk '{ print $4 }' ---> giving me all the used space on the filesystem but need to know the total used space by adding up all the values (3 Replies)
Discussion started by: nsankineni
3 Replies
2. Shell Programming and Scripting
Hi all,
my log server is completely full with logs.
I have used gzip to compress logs, but as i tried, 7z has a better compression, it saves the half size of my server. I want to uncompress .gz files, then compress them to .7z
Can you please help me with a script that does this:
1.... (2 Replies)
Discussion started by: arrals_vl
2 Replies
3. Shell Programming and Scripting
Hi,
I have a text file with the following format. Some of the fields are blank.
1234 3456 23 45464 327837283232 343434
5654353 34 34343 3434345 434242
....
....
....
I need to convert this file to a CSV file, like
1234, ,23, ... (3 Replies)
Discussion started by: wintersnow2011
3 Replies
4. UNIX for Dummies Questions & Answers
Hi All !
We have to compress a big data file in unix server and transfer it to windows and uncompress it using winzip in windows.
I have used the utility ZIP like the below.
zip -e <newfilename> df2_test_extract.dat
but when I compress files greater than 4 gb using zip utility, it... (4 Replies)
Discussion started by: sakthifire
4 Replies
5. HP-UX
I am trying to copy a filesystem from one server to another using rsync over the WAN. As far as I can tell, the two filesystems are identical but for some reason I cannot copy the last file because I keep running out of space.
SERVER 1:
mkfs -m <lvol>
mkfs -F vxfs -o... (1 Reply)
Discussion started by: keelba
1 Replies
6. HP-UX
I have two servers running apache server, namely server A and B.
All users access server A, but for some application, I would like to redirect the request to server B.
I have set apache redirect in server A apache config file.
Redirect /application http://serverB/application
Now, the flow... (2 Replies)
Discussion started by: alfredo
2 Replies
7. Solaris
Is is possible to create a compress volume on a Solaris 9 machine? If so what are my options? btw, I do not have Veritas Volume Manager (2 Replies)
Discussion started by: gandolf989
2 Replies
8. UNIX for Dummies Questions & Answers
Hello,
Can someone please tell me which command to use to determine the available disk space on a given disk device?
I have to write a shell script that compresses files and stores them in a specific location but I am not sure how "conservative" I should be?
Thanks in advance!
Al. (4 Replies)
Discussion started by: alan
4 Replies
QUOTAON(8) System Manager's Manual QUOTAON(8)
NAME
quotaon, quotaoff - turn filesystem quotas on and off
SYNOPSIS
quotaon [-v] filesystem ...
quotaon [-v] -a
quotaoff [-v] filesystem ...
quotaoff [-v] -a
DESCRIPTION
Quotaon announces to the system that disk quotas should be enabled on one or more filesystems. Quotaoff announces to the system that the
specified filesystems should have any disk quotas diskquotas turned off. The filesystems specified must have entries in /etc/fstab and be
mounted. Quotaon expects each filesystem to have a quota file named quotas located at the root of the associated file system. These
defaults may be overridden in /etc/fstab.
Available options:
-a If the -a flag is supplied in place of any filesystem names, quotaon/quotaoff will enable/disable all the filesystems indi-
cated in /etc/fstab to be read-write with disk quotas.
-v Causes quotaon and quotaoff to print a message for each filesystem where quotas are turned on or off.
FILES
quotas at the filesystem root with user quotas
/etc/fstab filesystem table
SEE ALSO
quota(1), setquota(2), fstab(5), edquota(8), quotacheck(8), repquota(8)
HISTORY
The quotaon command appeared in 4.2BSD.
4.2 Berkeley Distribution January 21, 1996 QUOTAON(8)