Adam Carter wrote:
>> Is there a way to find out what is using swap?  Maybe something related
>> to the video is on swap which at times can be slow, certainly slower
>> than ram.
>>
>> I have always wondered how to find this out myself.
> 
> Well the OS uses swap, i dont know if its possible to then tie that
> directly to a process. You can find out if swap is being at all using
> with vmstat; so= swap out, si=swap in.
> 
> For example, watch the following when you view the video
> 
> adam@proxy ~ $ vmstat -S M 3
> procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
>  r  b   swpd   free   buff  cache   si   so    bi    bo   in   cs us sy id wa
>  0  0      0   1290    379   6617    0    0    26    56  108  107  2  3 93  2
>  0  0      0   1290    379   6617    0    0     1    15   87   91  0  0 100  0
>  0  0      0   1290    379   6617    0    0     0     0   59   54  0  0 100  0
>  0  0      0   1290    379   6617    0    0     0     7   72   73  0  0 100  0
> 
> 


I'm not the OP but posted a two part post that didn't quite come out
like I expected.  One for the OP to try to find out what was using swap,
just in case it mattered.  Two to ask how that is done in case he didn't
know and for me since I don't know either.  lol

I was hoping for a command that says program foo is using X amount of
swap but I guess not.

Interesting that there isn't a real good tool for this.

Dale

:-)  :-)

-- 
I am only responsible for what I said ... Not for what you understood or
how you interpreted my words!

Miss the compile output?  Hint:
EMERGE_DEFAULT_OPTS="--quiet-build=n"

Reply via email to