Displaying 2 results from an estimated 2 matches for "qtool".
Did you mean:
tool
2005 Feb 08
6
help with xargs and mv
I am trying to move a group of sendmail queue files into a special
area and am developing s script to assist. The manual steps are:
# Identify which messages to move
mailq -qR<domain> > file1
# Select only lines with message ID strings
grep '^[[:alpha:]][[:alnum:]]\{13\}' file1 > file2
# extract only the messages ID
cut -b -14 file2 > file3
# prepend '*' to
2009 Aug 29
3
what is the best way to delete so many queue files?
Hello, all.
I found that so many unnessary queue files are saved at /var/spool/clientmqueue/ directory.
I tested two way to delete these files.
1.
# rm -rf /var/spool/clientmqueue/*
2.
# cd /var/spool/clientmqueue/ ; find . | xargs rm -fv
But this makes a few load of the system and took too much time to delete.
What is the best way to delete fast without too much load?