Skaperen, I did try that but the information returned was too much to deal with effectively
Of course it is; that's why they suggested filtering the output with awk or other tools. You'll have fun exploring just how much these things can do for you, I'm sure. A small illustration:
It would have actually been easier to do that without human-readable output. I had to match all sizes with G in them, strip the G off, compare the size, put the G back and print the lines I wanted. If it was in 1K blocks, I could have done it with ... | awk '$1 > 5000000' and that'd be it. Awk is designed to deal with tabular data.
Hi,
I m working on about 16 Unix Servers, Sometime a file is generated in the root names STA, which causes the root to run out of space within few seconds ,,, and the server crashes.....
hlp me out to find why the file is generated , what does it contain 'n' what is the cause ! (0 Replies)
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)
Good afternoon! Im new at scripting and Im trying to write a script to
calculate total space, total used space and total free space in filesystem names matching a keyword (in this one we will use keyword virginia). Please dont be mean or harsh, like I said Im new and trying my best. Scripting... (4 Replies)
I can't find any good, active Apache forums, anyone know? Either way I'll ask once here.
Let's say all webpages on the server run from /var/www directory and you would like to store some webpages elsewhere on the filesystem and still the apache webserver can access them like they were located in... (5 Replies)
=========================================================================
Hi
I should make hd6 as 6144MB and remove paging00
How to do ?
root@dbspsdbn1 #lsps -a
Page Space Physical Volume Volume Group Size %Used Active Auto Type
paging01 hdisk2 ... (1 Reply)
We have a script which when run consumes the space of the disk from where it is being run. we have to kill this script every time to release space.
why do this happen ? any work around please
we are using solaris 10
P.S. : a part of the code will make some connection to the DB (1 Reply)
Hi,
I run Fedora 17.
I created a physical volume of 30GB on a disk with 60GB of space so there is 30GB of free space. On the physical volume, I created my volume group and logical volumes. I assigned all the space in the physical volume to my volume group. I need to add the 30GB of free space... (1 Reply)
I created a awk state to calculate the number of success however when the query runs it has a leading zero. Any ideas on how to remove the leading zero from the calculation?
Here is my query:
cat myfile.log | grep | awk '{print $2,$3,$7,$11,$15,$19,$23,$27,$31,$35($19/$15*100)}'
02:00:00... (1 Reply)
Hi
I am trying to run a script in a sub-directory, that has one space on it: such as:
/internaldisk1/Task Logs1, but my entry in cron is not working:
0,5,10,15,20,25,30,35,40,45,50,55 * * * * /internaldisk1/Task\ logs1/./remov_reject.sh > /var/tmp/interd_`date '+%Y%M%d'`.log 2>&1 Please can... (4 Replies)
Hi,
Can anyone please advise me on how can i increase /usr disk space manually.
The partition was created using manual disk spaces as per IT dept. request
As i don't have any space available on the said production system.
Therefore, i can move the /U01 FS to /U02 file system which will allow... (7 Replies)