Tag Info

New answers tagged

1

Problem solved. I had to run resize_reiserfs /dev/sda4


1

du doesn't seem to accept files piped into it. I think what you're looking for is find /u02/archivelog -type f -mmin -1440 -exec du -ch {} + Using the + instead of the ; makes find build up {} as a list and executes once, instead of executing once for each match. You also need to use -type f, otherwise it'll match the directory itself, which is modified ...


1

Your use of {} \; limits the argument of ls to one element. If you are interested in the total of the archive logs you could use: find /u02/archivelog -mmin -1440 -type f -exec wc -c {} + | tail -1 To get the total number of bytes for the files under that directory. Where the {} + puts as many filenames on the commandline presented to wc as the system ...



Top 50 recent answers are included