~mohan

konsole what are you doing?

Posted by: மோகன் on: June 18, 2008

I use Fedora 9 with KDE4. Recently I have noticed that the system’s hard disk is continuously being accessed. Some times it leads to slow system response.

So I wanted to know which process writes continuously. With my colleague’s help I used SystemTap

probe syscall.write {

printf(“%s=====> %s\n”,execname(),argstr);

}

And run this script by
stap -vv write.stp

Partial output from the script is

konsole=====> 30, “k”, 1236
konsole=====> 25, “\30\1\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\4\5\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\2\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\4\7\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “h\4\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “<\1\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\20\6\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\4\2\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\7\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “\4\4\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “`\1\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236
konsole=====> 25, “4\6\5.\4\2\5\6\1″, 4
konsole=====> 31, “”, 1
konsole=====> 30, “k”, 1236

So KDE konsole application keeps on writing into some tmp files. I don’t know why konsole keeps on writing. Somebody from KDE could answer/fix this?

But I am still not sure whether this one leads to continuous hard disk access or some other application is responsible for that.

4 Responses to "konsole what are you doing?"

Combined with “lsof”, or with another systemtap probe on syscall.open, you can find out which files are being written to. It might be a socket talking to the X server to update a window.

Or you might be hitting that recent firefox paranoid fsync bug.

Thank you Eigler for your comments.

But I verified those files are present in /tmp/ directory. They are regular files only.

its very usefull bro.
thx for sharing.

Hi Subash,

Thanks for your visit and comment.

Leave a Reply

Get your own domain

Moved

Hi Folks, This is to inform you that I am moving to the new address http://mohankumarmp.wordpress.com

There will not be any further update in this blog. I migrated all blogs and comments into the new blog.

Please update your bookmarks (if you had so :) )

If you have any feedback, post them in my new blog.

 

June 2008
M T W T F S S
« May   Jul »
 1
2345678
9101112131415
16171819202122
23242526272829
30  

Blog Stats

  • 4,338 hits

  • زهير: You can try "irssi". It's so wonderful.. :D http://irssi.org/
  • gurdev: i have bsnl broadband from the 2year i have not face problem from two year. i thing airtel can not provide broadband on such low prices at last east o
  • Jerome: so far i have found different it's on the backlight on the keypad... sometimes it won't turn on.......then sometimes it's turn on when the display li

Links

My Tamil_Blog