View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Aug 25, 2012 12:03 pm 
Offline
Joined: Tue Feb 14, 2006 8:48 pm
Posts: 22
Location: San Diego, CA USA
My hard drive seems to be showing signs of excessive activity even when the system is idle. I would like to see what is causing all that activity. I have used iotop before on other systems for this analysis but the package doesn't appear in either the core or extra repositories for LinHES 7.4.

How would I go about installing iotop in a LinHES 7.4 system without risking damage to my installation by introducing some other repositories?

Gus


Top
 Profile  
 
PostPosted: Sat Aug 25, 2012 2:07 pm 
Offline
Joined: Fri Jul 21, 2006 11:12 pm
Posts: 1194
Location: SC
gwirth wrote:
How would I go about installing iotop in a LinHES 7.4 system without risking damage to my installation by introducing some other repositories?

Open a feature request: http://www.linhes.org/projects/linhes/issues/new


Top
 Profile  
 
PostPosted: Sat Aug 25, 2012 3:24 pm 
Offline
Joined: Tue Feb 14, 2006 8:48 pm
Posts: 22
Location: San Diego, CA USA
I guess I don't really need a package. iotop is a Python program that runs easily from a users directory. I got the tarball here:

http://guichaz.free.fr/iotop/

and just untarred and ran it from a directory off of my home directory.

Example, starting in the home directory:
Code:
$ mkdir -p src/iotop
$ cd src/iotop
$ wget http://guichaz.free.fr/iotop/files/iotop-0.4.4.tar.bz2
$ tar jxvf iotop-0.4.4.tar.bz2
$ cd iotop-0.4.4
$ sudo ./iotop.py -o


With that information I find that [kjournald] seems to be doing most of the I/O followed by "runsv mythbackend". Not sure what is going on with that one, either some kind of polling or logging. I might investigate later.


Top
 Profile  
 
PostPosted: Tue Aug 28, 2012 8:24 pm 
Offline
Joined: Thu Feb 02, 2006 11:55 am
Posts: 23
gwirth wrote:
My hard drive seems to be showing signs of excessive activity even when the system is idle.

I've noticed the same thing on my system. Haven't had a chance to try iotop yet to investigate (thanks for the instructions), but I can hear the hard drive head moving/seeking on a regular interval every 1-2 seconds. I'm pretty sure this was not happening on 7.0.x and started sometime around upgrading to 7.1 or 7.2. I wonder if it might be related to the new style/verbosity of LinHES logging?

Please post back if you find out anything else. I'd like to resolve it.


Top
 Profile  
 
PostPosted: Wed Aug 29, 2012 12:41 am 
Offline
Joined: Wed Dec 10, 2003 8:31 pm
Posts: 1996
Location: /dev/null
Well, for one, why not use the official Arch PKGBUILD for iotop and it installed properly? Does LinHES ship python2 as python?

To your question, look at the command that dictates mythfrontend's behavior. If this case it's the runit file for mythfrontend I think... if you're right, it very likely has a log file associated with mythfrontend (something like this, /usr/bin/mythfrontend -l /var/log/mythfrontend.log). You can either manually edit the service file and:

1) Remove the logfile
2) Find out where it is logging and make a symlink to tmpfs on the filesystem itself. For example if it is logging to /var/log/mythfrontend.log just stop the service, delete the logfile and issue this command before restarting it, `sudo ln -s /var/log/mythfrontend.log /dev/shm/mythfrontend.log`

_________________
Retired KM user (R4 - R6.04); friend to LH users.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu