* Need help monitoring
@ 2003-03-04 8:53 oidba
2003-03-04 11:01 ` Lukasz Tylutki
0 siblings, 1 reply; 3+ messages in thread
From: oidba @ 2003-03-04 8:53 UTC (permalink / raw)
I am responsible for managing several large databases on a Tru64 true
cluster.
The setup is two GS180s with Tru64. Our sys admins are never
concerned about real system monitoring. Any performance issue and
they contact the dba immediately as if it is a database problem by
default. As far as they are concerned, if 'vmstat 1' returns
acceptable idle time, then the system is fine. I have no root access
and they get very suspicious and are reluctant to run any monitoring
utility (such as sys_check) when asked.
I am looking for pointers on how to monitor the different performacne
metrics myself on a Tru64 system:
1) What is the best way to find out if the system is
low on memory
2) How to detect swapping
3) How to measure IO activity for each file system
4) How to detect the busiest file systems
5) How to monitor each CPU on a 8 CPU machine
(something like prstat on Solaris)
6) In a true cluster, how to find out which node each
file system is
attached to
7) How to find out if process affinity is being enforced
by the system. I understand that in a cluster, CPUs can
be assigned to nodes.
Any other pointers would really help.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Need help monitoring
2003-03-04 8:53 Need help monitoring oidba
@ 2003-03-04 11:01 ` Lukasz Tylutki
2003-03-04 19:14 ` Sylvain Robitaille
0 siblings, 1 reply; 3+ messages in thread
From: Lukasz Tylutki @ 2003-03-04 11:01 UTC (permalink / raw)
Uz.ytkownik oidba napisa?:
Ok, I understand you're using Tru64 ver. 5.1?
The best way to get the performace statistics is to use collect
utility. On former system (4.0) the proper utility is pmgr (performance
manager /var/opt/pm )
> 1) What is the best way to find out if the system is
> low on memory
First of all, free_list is gettig smaller, and system is swappin,
exsessive page out.
> 2) How to detect swapping
Page out's from collect and swapon -s.
> 3) How to measure IO activity for each file system
> 4) How to detect the busiest file systems
> 5) How to monitor each CPU on a 8 CPU machine
> (something like prstat on Solaris)
collect!
> 6) In a true cluster, how to find out which node each
> file system is
> attached to
cfsmgr, hwmgr -view devices -cluster
> 7) How to find out if process affinity is being enforced
> by the system. I understand that in a cluster, CPUs can
> be assigned to nodes.
As far as I know CPUs can't be assigned to nodes (in other way then,
hard partitioning or soft partitioning).
Best regards:
--
?ukasz Tylutki, Gdynia, Poland
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Need help monitoring
2003-03-04 11:01 ` Lukasz Tylutki
@ 2003-03-04 19:14 ` Sylvain Robitaille
0 siblings, 0 replies; 3+ messages in thread
From: Sylvain Robitaille @ 2003-03-04 19:14 UTC (permalink / raw)
Lukasz Tylutki wrote:
> The best way to get the performace statistics is to use collect
> utility.
Although that might be true, you need to be in group "system" in order to
be able to run collect. This means (once again) getting cooperation from
the sysadmins (and I don't want to imply that we aren't a cooperative
bunch, because in my view we are; Now if only those darned DBAs would
learn to be! ;-)
I have the impression the original poster is having difficulty obtaining
cooperation from the sysadmins...
You could try monitor (we got the copy we're using from
ftp://vzmaftpdigpro.zma.compaq.com/pub/Digital/monitor.alpha.Z, but I
make no promises), which you'd be able to install without requiring
sysadmin privileges (though I believe it needs to read from /dev/kmem
and/or /dev/mem; there's that darned sysadmin cooperation requirement
again!). I'm not sure it will tell you as much as collect can, though
this is the tool I normally use, (it will tell you about memory and cpu
usage as well as details of disk activity, though not on a
per-filesystem level; only on a per disk level). Also, I've never used
it on a cluster (unless you count a stand-alone system as a 1-member
cluster) so I can't vouch for its usefulness in that environment.
Either way, you're likely going to need cooperation from the sysadmins.
To the original poster, keep using vmstat but use iostat as well (you'll
need to list which disks you want iostat to monitor). You don't need
sysadmin approval to use either of those, and they'll still give you a
fair amount of information.
As Lukasz pointed out, watching free memory and page out will give you
a picture of the memory and swap usage. If the CPU idle time is high,
but performance seems sluggish, start looking at disk activity; It's
possible that something is disk-bound or the disk subsystem simply isn't
keeping up with the demand.
If your application is mostly client-server, and you find it does look
as though the server is handling its end reasonably well, it's time to
check the network: use "netstat -d -I interface-name 2" (find the
interface name with "ifconfig -a" if you need to and change the interval
as you see fit).
If the network seems to be keeping up, the disks aren't overloaded, and
the CPU and memory resources aren't running low, but the performance of
the whole system still is not satisfacory, you'll need to look
elsewhere: is there an application server, or forms server? What about
the client side?
I hope that helps...
--
----------------------------------------------------------------------
Sylvain Robitaille syl@alcor.concordia.ca
Systems analyst Concordia University
Instructional & Information Technology Montreal, Quebec, Canada
----------------------------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2003-03-04 19:14 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-04 8:53 Need help monitoring oidba
2003-03-04 11:01 ` Lukasz Tylutki
2003-03-04 19:14 ` Sylvain Robitaille
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox