LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-15-2015, 08:42 AM   #1
Iron Mew
LQ Newbie
 
Registered: Jun 2014
Posts: 2

Rep: Reputation: Disabled
Can't run iotop on the latest PCLinuxOS, kernel parameters missing


I'm determined to have a go at using a distro that isn't Debian- or Ubuntu-based, so I'm giving a shot to PCLinuxOS. I installed the 2014.12 Mate version, and after a couple tweaks it's working pretty well, but I can hear constant disk access. I'd like to figure out what's accessing the drive, so I installed iotop, but it gives me this output:

Code:
[root@longcat ~]# iotop
Could not run iotop as some of the requirements are not met:
- Linux >= 2.6.20 with
  - I/O accounting support (CONFIG_TASKSTATS, CONFIG_TASK_DELAY_ACCT, CONFIG_TASK_IO_ACCOUNTING)
I checked the options by zcatting /proc/config.gz

Code:
[root@longcat ~]# zcat /proc/config.gz | grep TASKST
CONFIG_TASKSTATS=y
[root@longcat ~]# zcat /proc/config.gz | grep TASK_DE
CONFIG_TASK_DELAY_ACCT=y
[root@longcat ~]# zcat /proc/config.gz | grep CONFIG_TASK_IO
[root@longcat ~]#
So apparently I'm missing the last option. What do I do to enable it? I don't know the first thing about kernel tinkering (hence my posting in this subforum), so if there's any recompiling to be done I've no idea how to do it.
 
Old 07-16-2015, 01:30 AM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
According to the Kconfig, CONFIG_TASK_IO_ACCOUNTING depends on CONFIG_TASK_XACCT. May explain it's absence.

So yes, you'll need to get hold of the kernel source tree, make your changes, compile and install it. PCLinuxOS may have a patched tree available (so you get all their changes) - their support fora/wiki would be the place to look.
Else there are innumerable how-to's on the web - search "kernel compile linux".
 
  


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
iotop - how to upgrade kernel 2.6.20, install kvm-12, install gcc 3.4.6 allancth Linux - Software 1 05-20-2013 11:57 PM
[SOLVED] C - How to run an external exe with parameters golmschenk Programming 3 03-09-2010 04:07 PM
run CGI and pass GET parameters extasic Programming 6 10-17-2008 08:53 AM
Insmod seems to be missing (FC4 latest kernel) cynicalicious Linux - Newbie 6 03-18-2006 11:31 PM
Missing PHP parameters on apache2 eplanamente Linux - Software 2 12-29-2005 05:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:13 AM.

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