Skip to contentSkip to conversation

monitoring swap i/o

DISCUSSION Pol 4 participants 4 messages Jan 11, 2009 – Jan 15, 2009

lore
Share & tools
lore

Pol

author
#0 lore raw

I would like to be able to exactly monitor programs i/o in the swap area; 'top' does not seem to be the right tool as processes are sorted according to the total amount of swap space used, while i would like processes with high i/o activity (albeit in small amounts) to be highlighted.

My case is with firefox and konqueror. They stay silently for hours, then i/o starts, as one can hear that typical noise from the disk and as it can be checked with 'vmstat'.
Also i would like to locate programs more precisely, to tell which browser tab, which plugin has triggered that swapping.

Any hints?

Thank you

--
Pol

#1 lore raw

looks on "sar" you can report statistics for a given process (or from the system)

Firefox: i think firefox is a monolith a tab isn't a childprozess (may be you find a addone, that say you more about firefox)

fridy

2009/1/11, Pol <[email protected]>:

Quoted 25 lines

I would like to be able to exactly monitor programs i/o in the swap area; 'top' does not seem to be the right tool as processes are sorted according to the total amount of swap space used, while i would like processes with high i/o activity (albeit in small amounts) to be highlighted.

My case is with firefox and konqueror. They stay silently for hours, then i/o starts, as one can hear that typical noise from the disk and as it can be checked with 'vmstat'.
Also i would like to locate programs more precisely, to tell which browser tab, which plugin has triggered that swapping.

Any hints?

Thank you

--
Pol

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#2 lore raw

Hello,

Quoted 2 lines

Firefox: i think firefox is a monolith a tab isn't a childprozess (may be you find a addone, that say you more about firefox)

You are right, the only browser I know of that runs every tab as a separate process is Chrome.

--Adrian.

--------------------------------------------------
From: "Ron Herbert" <[email protected]>
Sent: Tuesday, January 13, 2009 11:05 AM
To: <[email protected]>
Cc: <[email protected]>
Subject: Re: monitoring swap i/o

Quoted 39 lines

looks on "sar" you can report statistics for a given process (or from the system)

Firefox: i think firefox is a monolith a tab isn't a childprozess (may be you find a addone, that say you more about firefox)

fridy

2009/1/11, Pol <[email protected]>:

Quoted 17 lines

I would like to be able to exactly monitor programs i/o in the swap area; 'top' does not seem to be the right tool as processes are sorted according to the total amount of swap space used, while i would like processes with high i/o activity (albeit in small amounts) to be highlighted.

My case is with firefox and konqueror. They stay silently for hours, then i/o starts, as one can hear that typical noise from the disk and as it can be checked with 'vmstat'.
Also i would like to locate programs more precisely, to tell which browser tab, which plugin has triggered that swapping.

Any hints?

Thank you

Quoted 8 lines

--
Pol

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

#3 lore raw
In reply to Ron Herbert

+1 for "sar"...another option would be to use "iostat"..

Running "iostat" with a "tail -f" might be what you are looking for..

~Chamith

Quoted 39 lines · Ron Herbert

looks on "sar" you can report statistics for a given process (or from the system)

Firefox: i think firefox is a monolith a tab isn't a childprozess (may be you find a addone, that say you more about firefox)

fridy

2009/1/11, Pol <[email protected]>:

Quoted 17 lines

I would like to be able to exactly monitor programs i/o in the swap area; 'top' does not seem to be the right tool as processes are sorted according to the total amount of swap space used, while i would like processes with high i/o activity (albeit in small amounts) to be highlighted.

My case is with firefox and konqueror. They stay silently for hours, then i/o starts, as one can hear that typical noise from the disk and as it can be checked with 'vmstat'.
Also i would like to locate programs more precisely, to tell which browser tab, which plugin has triggered that swapping.

Any hints?

Thank you

Quoted 8 lines

--
Pol

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-admin" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html

Signature · 1 line
*** Microsoft isn't evil, they just make really crappy operating systems ***