Red Hat Bugzilla – Bug 163411
top doesn't use saved configuration
Last modified: 2007-11-30 17:11:10 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050513 Fedora/1.0.4-1.3.1 Firefox/1.0.4
Description of problem:
The custom configuration for top that I save with the W command is not
used the next time that top is started.
After I change the configuration of top, I use the W command to save the
configuration, and the ~/.toprc file is written to the hard disk.
But after closing top and restarting, the default configuration is used
instead of the new configuration.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. start top and change some of its configuration
2. use the W command to save the new configuration
3. close top
4. restart top
Actual Results: The built in default configuration for top is used instead of the custom
Expected Results: The new custon configuration should be used.
It's already reported problem (see bug #161449) and it should be fixed exactly
in procps-3.2.5-6.3. Do have really this version (check "rpm -qf `whereis -b
top` 2> /dev/null") ?
I cannot reproduce it any more. Please, try:
rm ~/.toprc (or mv ~/.toprc ~/.toprc.backup)
stop top (press 'q')
start it again
and there should be full command lines after startup.
I am using procps-3.2.5-6.3. Deleting ~/.toprc does allow top to work
correctly. I had not tried removing that file previously. You are correct,
this bug is fixed.
Thanks for confirmation.
*** This bug has been marked as a duplicate of 161449 ***