LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-05-2010, 10:18 AM   #1
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343
Blog Entries: 1

Rep: Reputation: 72
Question top doesn't load saved config


I've been building up my second gentoo system, and I've found a strange issue with top.

Basically I'll load it up, configure it how I want it, sorted by CPU, set the colours etc then I'll save the config via 'W'.

On my old system when I quit out and load top, it automatically loads up my settings from the ~/.toprc file - I dont recall setting this up at all, but maybe I have and just dont rememmber.

Eitherway, on my new system it just ignores my toprc file. I can't see anything in the settings to choose a default file to load, and so am a bit confused by this issue.

Does anyone know why top wont appear how I want? (without having to configure it again)
 
Old 08-05-2010, 06:00 PM   #2
Meson
Member
 
Registered: Oct 2007
Distribution: Arch x86_64
Posts: 606

Rep: Reputation: 67
Does your .toprc exist in your home directory? Did you check the permissions and ownership? Are you using sudo or something like that?
 
Old 08-06-2010, 06:03 PM   #3
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72
Quote:
Originally Posted by Meson View Post
Does your .toprc exist in your home directory? Did you check the permissions and ownership? Are you using sudo or something like that?
tim@MushaV2 ~ $ ls -la ./.toprc
-rw-r--r-- 1 tim tim 606 Aug 5 16:19 ./.toprc

Is the file...
 
Old 08-07-2010, 10:05 AM   #4
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72
I really don't know what to do with this - people keep answering stupidly with stuff like 'use htop' but I don't want to, as I'm used to top :/
 
Old 08-07-2010, 10:45 AM   #5
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

A quick search came up with this: Gentoo Bugzilla - top ignores .toprc. A patch to fix the problem seems to be present.

Hope this helps.
 
1 members found this post helpful.
Old 08-10-2010, 05:45 PM   #6
djsmiley2k
Member
 
Registered: Feb 2005
Location: Coventry, UK
Distribution: Home: Gentoo x86/amd64, Debian ppc. Work: Ubuntu, SuSe, CentOS
Posts: 343

Original Poster
Blog Entries: 1

Rep: Reputation: 72
I honestly did search bugzilla, but didn't find that bug :|

Ah well at least I know now its not my system being weird.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
top - load average - normal? Sum1 Linux - Server 11 12-09-2009 07:20 AM
can i load a diff linux on top of redhat 80 dustysplace Linux - Newbie 3 03-11-2008 07:59 AM
top shows 150% cpu load crashmeister Linux - General 3 02-02-2008 08:18 AM
how to set the device from where puppy should load my saved session file ?? alred Puppy 9 11-04-2006 04:11 AM
Doom 3: Using native installer and can't locate saved game files or config files JBailey742 Linux - Games 11 08-14-2006 06:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:29 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration