Bug 163411 - top doesn't use saved configuration
top doesn't use saved configuration
Status: CLOSED DUPLICATE of bug 161449
Product: Fedora
Classification: Fedora
Component: procps (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: Karel Zak
Brian Brock
Depends On:
  Show dependency treegraph
Reported: 2005-07-15 18:29 EDT by Craig Goodyear
Modified: 2007-11-30 17:11 EST (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2005-07-17 04:47:58 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Craig Goodyear 2005-07-15 18:29:06 EDT
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):

How reproducible:

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.

Additional info:
Comment 1 Karel Zak 2005-07-15 18:59:33 EDT
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)
  start top
  press 'c'
  press 'W'
  stop top (press 'q')
  start it again

and there should be full command lines after startup.
Comment 2 Craig Goodyear 2005-07-16 16:38:16 EDT
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.
Comment 3 Karel Zak 2005-07-17 04:47:58 EDT
Thanks for confirmation.

*** This bug has been marked as a duplicate of 161449 ***

Note You need to log in before you can comment on or make changes to this bug.