Date: Mon, 19 Nov 2001 16:24:59 +0800 (MYT) From: Dinesh Nair <dinesh@alphaque.com> To: freebsd-stable@freebsd.org Subject: process cpu and memory usage profiling Message-ID: <Pine.BSF.4.21.0111191623480.2288-100000@prophet.alphaque.com>
next in thread | raw e-mail | index | archive | help
am in a position where i am about to deploy a few freebsd 4.4R boxes with vnc clients coming from windoze boxes running everything from netscape to staroffice 5.2 over kde 2.2.1. i need to size the freebsd server which has to handle all of this, and to this end, am wondering if anyone has any pointers or previous sizing information i can look at. also, if there is a tool, like pmap on solaris, which gives process memory usage, shared and non-shared, which would allow me to size both RAM and swap on the server as well as map out cpu utilization per user. i could use /usr/bin/size on each binary and library in use, and then assume that the text segment is shared while data+bss is replicated for each user, but then this doesnt cover cases where malloc() calls are made to dynamically allocate memory during runtime. from my conversations with sun folk, staroffice does this a lot. what i would like is to run the average user environment, with all programs open and running, then have some sort of tool reading procfs and profiling memory and cpu usage for each process, giving me shared and copy-on-write/dynamic memory sizing. Regards, /\_/\ "All dogs go to heaven." dinesh@alphaque.com (0 0) http://www.alphaque.com/ +==========================----oOO--(_)--OOo----==========================+ | for a in past present future; do | | for b in clients employers associates relatives neighbours pets; do | | echo "The opinions here in no way reflect the opinions of my $a $b." | | done; done | +=========================================================================+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0111191623480.2288-100000>