Hello,
This task used to run very often on my machine and makes every slow. How can I manage it?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
Thank.
=========================================================================== Patrick DUPRÉ | | email: pdupre@gmx.com Laboratoire de Physico-Chimie de l'Atmosphère | | Université du Littoral-Côte d'Opale | | Tel. (33)-(0)3 28 23 76 12 | | Fax: 03 28 65 82 44 189A, avenue Maurice Schumann | | 59140 Dunkerque, France ===========================================================================
On Sun, 30 Aug 2015 14:13:49 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
Hello,
This task used to run very often on my machine and makes every slow. How can I manage it?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
Thank.
Redirecting to a file in bkground?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n > all_packgs.txt
On Sun, 30 Aug 2015 14:25:02 +0200 Luigi Votta luigi.vtt@gmail.com wrote:
On Sun, 30 Aug 2015 14:13:49 +0200 "Patrick Dupre" pdupre@gmx.com wrote:
Hello,
This task used to run very often on my machine and makes every slow. How can I manage it?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
Thank.
Redirecting to a file in bkground?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n > all_packgs.txt
Sorry i missed & at the end: rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n > all_packgs.txt &
On 08/30/2015 05:13 AM, Patrick Dupre wrote:
This task used to run very often on my machine and makes every slow. How can I manage it?
rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
If you're asking how to avoid slowing down everything else, use "nice".
nice rpm -q -a ...
The nice process will run with a lower priority than other processes.
On Sun, Aug 30, 2015 at 02:13:49PM +0200, Patrick Dupre wrote:
Hello, This task used to run very often on my machine and makes every slow. How can I manage it? rpm -q -a --queryformat %{NAME}\n%{VERSION}-%{RELEASE}\n%{EPOCH}\n%{GROUP}\n%{SUMMARY}\n\n
Why does it run very often on your machine?
In any case, you can speed it up by an order of magnitude by adding `--nodigest --nosignature`, like this:
$ time rpm -qa > /dev/null real 0m1.462s user 0m1.390s sys 0m0.042s
$ time rpm --nodigest --nosignature -qa > /dev/null
real 0m0.152s user 0m0.094s sys 0m0.058s