Article View: news.software.nntp
Article #29055Re: Example ktrace's to trace down news latency problems (was Re: Slow news server)
From: Kjetil Torgrim Homme
Date: Wed, 10 Jun 1998 00:00
Date: Wed, 10 Jun 1998 00:00
20 lines
1395 bytes
1395 bytes
Great example, Matt, now I have an incentive to install strace on my Solaris boxes. :-) strace -r gives relative time stamps. That's not quite as good as ktrace, since time spent computing will show up and can be mistaken for time taken in a system call. If this worries you and you don't mind a bit more overhead, you can use strace -T, or even both switches at the same time! par on Irix supports timing system calls as well, if anyone runs news on such a box. (I find par -s -u -SS -t 30 -p pid useful.) I don't know how to accomplish "netstat -t" on non-BSD boxen, though. Anybody? Kjetil T.
Technical Details
Message-ID:
<1rbts11kx7.fsf@haey.ifi.uio.no>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailReferences:
<6l3pr7$fb6$1@ultranews.duc.auburn.edu> <357B6AA1.8965C021@domaintje.com> <6lg45v$836$1@defiant.cistron.nl> <357B8D73.7C488E81@domaintje.com> <6llbrl$dvu$1@flea.best.net>Show Full Headers
Complete Article Headers
Message-ID: <1rbts11kx7.fsf@haey.ifi.uio.no> Subject: Re: Example ktrace's to trace down news latency problems (was Re: Slow news server) Date: Wed, 10 Jun 1998 00:00:00 +0000 From: Kjetil Torgrim Homme <kjetilho@haey.ifi.uio.no> References: <6l3pr7$fb6$1@ultranews.duc.auburn.edu> <357B6AA1.8965C021@domaintje.com> <6lg45v$836$1@defiant.cistron.nl> <357B8D73.7C488E81@domaintje.com> <6llbrl$dvu$1@flea.best.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 361346851 Organization: Dept. of Informatics, University of Oslo, Norway Newsgroups: news.software.nntp