Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


spot on! | 10 comments | Create New Account
Click here to return to the 'spot on!' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
spot on!
Authored by: s2 on Jun 21, '01 05:20:18PM

The words Barry has composed here are entirely true and correct for all UNIX flavours I know. Heed his comments about just leaving things alone, as a general rule output from commands like vm_stat are really only of use if you know:

a) what the system is doing at the time
b) how the kernel behaves wrt the subsystem of interest (this varys with flavour)
c) how the output relates to b) (this is the important part to tuning!)

A word on top though - top is provided in X to show what is going on. It is not perfect, afterall it sucks 10% of my G4 cpu time and is usually at the top of its own table. top is not a suitable tool for tuning, use proper instrumentation such as vm_stat & iostat and do your reading - or go with a well educated guess - that of the developers!



[ Reply to This | # ]
Adding Virtual Memory
Authored by: TheFlib on Jun 27, '01 03:21:38PM

Can someone please tell me how to add virtual memory in X?
Thanks.



[ Reply to This | # ]
spot on!
Authored by: Clint MacDonald on Jun 28, '01 07:35:40PM
A word on top though - top is provided in X to show what is going on. It is not perfect, afterall it sucks 10% of my G4 cpu time [...]

To reduce the usage of the "top" command, type something like:

top -s 5

This causes top to poll less often, in this case every 5 seconds rather than every second. It makes a big difference in cpu usage.


Best wishes,
Clint



[ Reply to This | # ]