Debugging KLD's
Hi I am using the following method to debug a KLD on 4.1 using gdb remote debugging: - Add makeoptions DEBUG=-g to the kernel config - Compile the KLD with -ggdb - Use objdump -h to get the offset of .text in the KLD. - Add this value to the value reported by kldstat and use this as offset for the gdb add-symbol-file command. The problem is that variable values reported by gdb seems to be total garbage. If I add explicit printf's in the C code, the value printed on the console is correct but the values given by gdb are totally different. Everything else seems to be working - I can do a break and the breakpoint will be set correctly. Any help will be greatly appreciated. jacques __ Do You Yahoo!? Thousands of Stores. Millions of Products. All in one Place. http://shopping.yahoo.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
New mergemaster behavior - comparing CVS $Id too
Is there a way to make mergemaster revert to its old behavior - only comparing $FreeBSD tags on files which have those? I keep some of my /etc files in a CVS repository of my own, and in the last mergemaster runs it detects that the file in /etc has an $Id, while the file in /var/tmp/temproot does not, and reports a difference. (Well, yes, I guess I could remove the $Id tags from my own files, but.. is there another way? :) G'luck, Peter PS. And yes, I know RELENG_4 is frozen now, but.. still.. :) -- I am not the subject of this sentence. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Help writing a screen saver module
Hi all I am trying to write a screen saver module that, when it kicks in, will switch to the first console, and then, if a key is pressed, will switch back to the one that was previously active. The idea is that the first console has something useful running on it, typically a tail -f of the logs. The code that I have at the moment is based on other simple saver modules, and the VT_ACTIVATE ioctl code in syscons.c. However, it just causes a reboot. This isn't a very important piece of code, but before I give up on trying to get it to work, I thought I'd throw it out here and see if anyone has any ideas. Here are the two externally visible routines I've added to syscons.c: -- extern int ActivateConsole(int n); extern int GetActiveConsole(void); int ActivateConsole(int n) { int s = spltty(); sc_clean_up(cur_console); splx(s); return switch_scr(cur_console, n); } int GetActiveConsole(void) { return get_scr_num(); } -- Here is the module code: -- #include #include #include #include #include #include #include #include static int last_active, blanked; extern int ActivateConsole(int); extern int GetActiveConsole(); static int switch_saver(video_adapter_t *adp, int blank) { if (adp->va_info.vi_flags & V_INFO_GRAPHICS) return EAGAIN; if (blank) { if (!blanked) { blanked = 1; last_active = GetActiveConsole(); ActivateConsole(0); } } else { if (blanked) { blanked = 0; ActivateConsole(last_active); } } return 0; } static int switch_init(video_adapter_t *adp) { (void)adp; last_active = blanked = 0; return 0; } static int switch_term(video_adapter_t *adp) { (void)adp; return 0; } static scrn_saver_t switch_module = { "switch_saver", switch_init, switch_term, switch_saver, NULL, }; SAVER_MODULE(switch_saver, switch_module); -- Dr Graham WheelerE-mail: [EMAIL PROTECTED] Director, Research and Development WWW:http://www.cequrux.com CEQURUX Technologies Phone: +27(21)423-6065 Firewalls/VPN SpecialistsFax:+27(21)424-3656 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
if_tap and devfs
Hello, I recently moved to using devfs and now if_tap seems unusable. Although the module is loaded, it doesn't show up in /dev or as an interface. >From a quick comparison with if_tun it seems that this is 'expected' behaviour although I'm not a specialist with devfs. Is this so? If yes, is there somebody working to make if_tap devfs-ready? Or I'm doing something wrong? harti -- harti brandt, http://www.fokus.gmd.de/research/cc/cats/employees/hartmut.brandt/private [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
system call and SYSCALL macro
Hi: I am trying to implement a system call. I used the syscalls.master already. I know I have to modify libc, but this requires makeworld and all the binaries must be compiled again. If I don't want to modify libc, I know I have to use the SYSCALL macro or something like that. But I don't know how to use it. Also, I tried the syscall() function but are not getting good results. I just try to add a simple system call for testing: int my_call(int x, int y) { return (x + y); } In my user program: int main(int argc, char ** argv) { int x = 3; int y = 8; int z = 0; z = syscall(SYS_my_call, x, y); printf("%i + %i = %i\n", x, y, z); return 0; } But it prints: 3 + 8 = -1 Can you give me some idea what I did wrong and what I should do? Also, can you tell me how to use the SYSCALL macro because I am not familiar with macros at all? Thanks in advance. Thanks. Ray, To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: dhcp boot was: Re: diskless workstation
> In message <[EMAIL PROTECTED]>, Doug Ambrisko writes: > >| to the kernel's output. I had a look at the pxe code in > >| /sys/boot/i386/libi386/pxe.c where pxeboot is built from and in > >| /sys/i386/i386/autoconf.c which is the kernel side and it looks like > >| they don't do anything about swap. There is a /* XXX set up swap? */ > >| placeholder though. :-) > > > >Yep looks like you're right, I just tried it on 4.2-BETA it worked in > >4.1.1. Swap is now broken ... sigh this is going to be a problem. I > >guess the only thing you might be able to do in the interim is to do a > >vnconfig of a file and then mount that as swap. I think the vnconfig > >man pages describes this. Hopefully it works over NFS. > > The diskless setup we use here is based on a compiled-in MFS root > rather than an NFS root, so we couldn't use the bootp code to enable > NFS swap. Our solution was a modification to swapon() to enable > direct swapping to NFS regular files. > > This results in the same swaponvp() call that the bootp code would > use (at the time we implemented this, swapping over NFS via vnconfig > was extremely unreliable; I think things are much better now). Thanks for the patch. I was able to make a swapfile with vnconfig on -stable, but on -current I just get a device not configured error. Your patch work just fine on -current. John -- John Hay -- [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
[PATCH] Re: if_tap and devfs
Hello, > I recently moved to using devfs and now if_tap seems unusable. Although > the module is loaded, it doesn't show up in /dev or as an interface. > >From a quick comparison with if_tun it seems that this is 'expected' > behaviour although I'm not a specialist with devfs. Is this so? If yes, > is there somebody working to make if_tap devfs-ready? Or I'm doing > something wrong? please try the following patch. it is not tested, sorry i dont have FreeBSD box available right now :( please let me know the results. thanks, emax *** if_tap.c.orig Mon Nov 6 09:24:08 2000 --- if_tap.cMon Nov 6 10:26:35 2000 *** *** 79,84 --- 79,85 static inttapmodevent __P((module_t, int, void *)); /* device */ + static void tapclone__P((void *, char *, int, dev_t *)); static void tapcreate __P((dev_t)); /* network interface */ *** *** 131,157 int type; void*data; { ! static int attached = 0; ! struct ifnet*ifp = NULL; ! int unit, s; switch (type) { case MOD_LOAD: if (attached) return (EEXIST); cdevsw_add(&tap_cdevsw); attached = 1; break; ! case MOD_UNLOAD: if (taprefcnt > 0) return (EBUSY); cdevsw_remove(&tap_cdevsw); unit = 0; while (unit <= taplastunit) { s = splimp(); TAILQ_FOREACH(ifp, &ifnet, if_link) if ((strcmp(ifp->if_name, TAP) == 0) || --- 132,164 int type; void*data; { ! static int attached = 0; ! static eventhandler_tag eh_tag = NULL; switch (type) { case MOD_LOAD: if (attached) return (EEXIST); + eh_tag = EVENTHANDLER_REGISTER(dev_clone, tapclone, 0, 1000); cdevsw_add(&tap_cdevsw); attached = 1; break; ! case MOD_UNLOAD: { ! int unit; ! if (taprefcnt > 0) return (EBUSY); + EVENTHANDLER_DEREGISTER(dev_clone, eh_tag); cdevsw_remove(&tap_cdevsw); unit = 0; while (unit <= taplastunit) { + int s; + struct ifnet*ifp = NULL; + s = splimp(); TAILQ_FOREACH(ifp, &ifnet, if_link) if ((strcmp(ifp->if_name, TAP) == 0) || *** *** 179,185 } attached = 0; ! break; default: return (EOPNOTSUPP); --- 186,192 } attached = 0; ! } break; default: return (EOPNOTSUPP); *** *** 187,192 --- 194,234 return (0); } /* tapmodevent */ + + + /* + * DEVFS handler + * + * We need to support two kind of devices - tap and vmnet + */ + static void + tapclone(arg, name, namlen, dev) + void*arg; + char*name; + int namelen; + dev_t *dev; + { + int unit, minor; + char*device_name = NULL; + + if (*dev != NODEV) + return; + + device_name = TAP; + if (dev_stdclone(name, NULL, device_name, &unit) != 1) { + device_name = VMNET; + + if (dev_stdclone(name, NULL, device_name, &unit) != 1) + return; + + minor = (unit | VMNET_DEV_MASK); + } + else + minor = unit; + + *dev = make_dev(&tap_cdevsw, minor, UID_ROOT, GID_WHEEL, 0600, "%s%d", + device_name, unit); + } /* tapclone */ /* To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
No Subject
To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Streams support.
Riaz Khan wrote: > > Hello, > I just need a clarification regarding streams support. Does FreeBSD > provides support for streams programming. - i don't think so. > I need info regarding how the network stack is implemented in FreeBSD. > hope its very similar to linux architecture. > > If possible please do specify probable links > which speak about internals of networking stack > in FreeBSD. there is some streams supprt as part of the SYSV emulation. I have no idea how complete it is or if it can be used natively. > > clarify. > riaz. > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message -- __--_|\ Julian Elischer / \ [EMAIL PROTECTED] ( OZ) World tour 2000 ---> X_.---._/ presently in: Budapest v To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
My driver source.
Hi guys, My driver's source can be grabbed from: http://www.rink.springer.cx/driver/if_dl.c and http://www.rink.springer.cx/driver/if_dlvar.h Please help me... it crashes for some reason. Thanks! --Rink To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: Streams support.
On Mon, Nov 06, 2000 at 12:52:55PM -0800, Julian Elischer wrote: > Riaz Khan wrote: > > I just need a clarification regarding streams support. Does FreeBSD > > provides support for streams programming. - i don't think so. > > I need info regarding how the network stack is implemented in FreeBSD. > > hope its very similar to linux architecture. > > there is some streams supprt as part of the SYSV emulation. > I have no idea how complete it is or if it can be > used natively. Don't even think about it :-) It's an evil hack. - mark -- Mark Newton Email: [EMAIL PROTECTED] (W) Network Engineer Email: [EMAIL PROTECTED] (H) Internode Systems Pty Ltd Desk: +61-8-82232999 "Network Man" - Anagram of "Mark Newton" Mobile: +61-416-202-223 To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
StarOffice 5.2 port for FreeBSD.
I've been trying to install the StarOffice port for FreeBSD. It appears the checksum for the StarOffice binary from Sun has changed but the port has not. It also appears to have tripped a bug (or limitation) in ld.so. This system is a recent -STABLE: FreeBSD star 4.1.1-STABLE FreeBSD 4.1.1-STABLE #0: Wed Oct 25 15:55:27 MDT 2000 rootb@star:/usr/obj/usr/src/sys/STAR i386 'make' in the staroffice port yeilds: >> Checksum mismatch for staroffice52/so-5_2-ga-bin-linux-en.bin. Running make with NO_CHECKSUM=yes yeilds: ===> staroffice-4.2 depends on file: /compat/linux/lib/libc.so.6 - found BUG IN DYNAMIC LINKER ld.so: dynamic-link.h: 57: elft_get_dynamic_info: Assertion `! "bad dynamic tag"' failed! *** Error code 127 Has anyone else seen this, or a similar problem? Do I just need to cvsup the system again? -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC [EMAIL PROTECTED] http://softweyr.com/ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: StarOffice 5.2 port for FreeBSD.
When I installed SO it didn't spitt out any complaints about the checksum. Did you install the Linux Emulator from /usr/ports/emulators/linux_base ? You need it since the SO port uses the Linux version. Maarten. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
High-availability failover software available.
Hi, Please allow me to introduce myself. I am Andrew Sporner and I have authored a H/A Failover system that happens to work with BSD. I would like to contribute this to the FreeBSD project or at a minimum make it available to those who want it. What it includes is: - Multi-path heartbeat based node failure detection. - Application failover. - Applications can be assigned to two or many nodes in the cluster. If the current node that the application runs on fails, the next successor picks up the application. - Drag&Drop administration interface (X-11 tcl/tk based The current state is alpha and is being tested by several people now. Beta will occur in about a week or so. The current source is located at http://www.sporner.com/bsdclusters Please let me know what I should do... Thanks very much in advance. Respectfully, Andy Sporner PS. I am not sure how many of you were at BSDCon 2000, but that was some very good talks--especially the BIO talk. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: High-availability failover software available.
On Mon, 6 Nov 2000, Andrew Sporner wrote: :Hi, : :Please allow me to introduce myself. I am Andrew Sporner and I have :authored :a H/A Failover system that happens to work with BSD. I would like to Very cool! :The current source is located at http://www.sporner.com/bsdclusters Your webpages seem to be b0rked. David To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
RE: High-availability failover software available.
Hi, Here is the direct link http://www.sporner.com/bsdclusters/download Remember! this is alpha-ware :-) I will be doing some more fixes/updates this evening... Look for fresh stuff tommorrow morning... Thanks in advance for all your support! Andy -Original Message- From: David Scheidt [mailto:[EMAIL PROTECTED]] Sent: Monday, November 06, 2000 6:13 PM To: Andrew Sporner Cc: '[EMAIL PROTECTED]' Subject: Re: High-availability failover software available. On Mon, 6 Nov 2000, Andrew Sporner wrote: :Hi, : :Please allow me to introduce myself. I am Andrew Sporner and I have :authored :a H/A Failover system that happens to work with BSD. I would like to Very cool! :The current source is located at http://www.sporner.com/bsdclusters Your webpages seem to be b0rked. David To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Digi Xem help!
Sorry if this is the wrong list !! Anyway I have a Digi / Xem eisa adapter on 4.1-RELEASE. I have made the kernel and it see's the card. I have also remade the /dev/ttyD* entries. Problem, when I try to access any of the ports I get : cu: open (/dev/ttyD00): Device not configured cu: /dev/ttyD00: Line in use Here is the boot output: dgm0: PC/Xem (type 245) dgm0 at port 0x104-0x107 iomem 0xd-0xd7fff on isa0 dgm0: DigiBIOS loaded, initializing, DigiBIOS running dgm0: FEP/OS loaded, initializing, FEP/OS running dgm0: 16 ports dgm0: driver is using old-style compatability shims Now what do I have to do ? I have played with permissions (cu is setuid, setgid) I have also tried to use stty and comcontrol but they say the same. Any help would be great !! thank you nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable was not updated from 2000/April/25.
Hi. In ftp.FreeBSD.org, below files were not updated from 2000/April/25 Why. ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable/ I hope to sync latest 4-stable FreeBSD tree. - ftp connection to ftp.FreeBSD.org > cd /pub/FreeBSD/branches/4.0-stable/src > dir total 102 -rw-rw-r--1 2035 207 4735 Sep 5 1999 COPYRIGHT drwxrwxr-x2 2035 207512 Apr 24 2000 CVS -rw-rw-r--1 2035 207 7205 Feb 24 2000 Makefile -rw-rw-r--1 2035 207 23892 Mar 9 2000 Makefile.inc1 -rw-rw-r--1 2035 207 9761 Aug 28 1999 Makefile.upgrade -rw-rw-r--1 2035 207 2351 Aug 28 1999 README -rw-rw-r--1 2035 207 24016 Mar 9 2000 UPDATING drwxrwxr-x 33 2035 207512 Apr 24 2000 bin drwxrwxr-x 39 2035 207 1024 Apr 24 2000 contrib <> - Cheers. --- MIHIRA, Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable was not updated from 2000/April/25.
On Tue, Nov 07, 2000 at 11:59:48AM +0900, [EMAIL PROTECTED] wrote: > Hi. > > In ftp.FreeBSD.org, below files were not updated from > 2000/April/25 Why. > > ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable/ > > I hope to sync latest 4-stable FreeBSD tree. Use cvsup, it's much more efficient at syncing, since the majority of the code does not change from one release to another. Kris PGP signature
Re: High-availability failover software available.
Andrew Sporner wrote: > Hi, > > Here is the direct link http://www.sporner.com/bsdclusters/download > > Remember! this is alpha-ware :-) > > I will be doing some more fixes/updates this evening... Look for fresh > stuff tommorrow morning... > > Thanks in advance for all your support! > > Andy > > -Original Message- > From: David Scheidt [mailto:[EMAIL PROTECTED]] > Sent: Monday, November 06, 2000 6:13 PM > To: Andrew Sporner > Cc: '[EMAIL PROTECTED]' > Subject: Re: High-availability failover software available. > > On Mon, 6 Nov 2000, Andrew Sporner wrote: > > :Hi, > : > :Please allow me to introduce myself. I am Andrew Sporner and I have > :authored > :a H/A Failover system that happens to work with BSD. I would like to > > Very cool! > > :The current source is located at http://www.sporner.com/bsdclusters > > Your webpages seem to be b0rked. > > David > > To Unsubscribe: send mail to [EMAIL PROTECTED] > with "unsubscribe freebsd-hackers" in the body of the message I have been doing something very simular at work. I was wondering if you need some help ? nathan To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable was not updated from 2000/April/25.
Yes, I know cvsup and personally I use cvsup. But that direcotry would confused novice user. If no one update these directory, I hope to remove that ``branches/4.0-stable'' directory from ftp.FreeBSD.org. >On Tue, Nov 07, 2000 at 11:59:48AM +0900, [EMAIL PROTECTED] wrote: >> Hi. >> >> In ftp.FreeBSD.org, below files were not updated from >> 2000/April/25 Why. >> >> ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/4.0-stable/ >> >> I hope to sync latest 4-stable FreeBSD tree. > >Use cvsup, it's much more efficient at syncing, since the majority of >the code does not change from one release to another. Cheers. --- MIHIRA, Sanpei Yoshiro Yokohama, Japan. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
"iowait" CPU state
I've been using Solaris a lot lately, and I've noticed that in e.g. top's output, it has a distinct CPU state called "iowait", which seems to be a pretty good indicator of how I/O-bound a system is. Is there any reason that FreeBSD doesn't have such a state? "iostat" also seems a lot less informative than Sun's. What should I be using to measure I/O utilization on FreeBSD? -- Ben 220 go.ahead.make.my.day ESMTP Postfix To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: My driver source.
In message <[EMAIL PROTECTED]>, Rink Springer VII さんいわ く: >Hi guys, > >My driver's source can be grabbed from: > >http://www.rink.springer.cx/driver/if_dl.c >and >http://www.rink.springer.cx/driver/if_dlvar.h > >Please help me... it crashes for some reason. I don't know why it crashes.But I suggest you to use ppbus code. ppbus provides low level register access ,like command register on printer port. See sys/dev/ppbus/ppbio.h . Takanori Watanabe http://www.planet.sci.kobe-u.ac.jp/~takawata/key.html"> Public Key Key fingerprint = 2C 51 E2 78 2C E1 C5 2D 0F F1 20 A3 11 3A 62 2A To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: High-availability failover software available.
>; from [EMAIL PROTECTED] on Mon, Nov 06, 2000 at 05:59:57PM -0500 X-PGP-Fingerprint: 5025 F691 F943 8128 48A8 5025 77CE 29C5 8FA1 2E20 X-PGP-Key-ID: 0x8FA12E20 [Moving to -net, please remove -hackers cc when replying] On Mon, Nov 06, 2000 at 05:59:57PM -0500, Andrew Sporner scribbled: | Hi, | | Please allow me to introduce myself. I am Andrew Sporner and I have Hi, :) | a H/A Failover system that happens to work with BSD. I would like to | contribute | this to the FreeBSD project or at a minimum make it available to those who | What it includes is: | - Multi-path heartbeat based node failure detection. How do you determine that a machine/service is "failing"? Have you considered that the distributed nodes might be very far away from each other, even across the globe? Lag time can lead to daemon falsely thinking that a node is down. Example: condition, Cross pacific link being slow Node A,B in Lake Tahoe, USA. Node C,D in Maldive Islands, South Pacific Node C and D have gigabit LAN between each other, and so does A and B Lake Tahoe Pacific Ocean Maldive Islands (A+B) <---connected via T1---> (C+D) Upon lag and/or service requests to (C+D) in India, while the T1 is slow, (C+D) should take over. Upon service request in America, B is down, C+D still alive, A is under high load, no matter how light the load of C+D, the service request should be routed to A. bla bla bla. (I want to buy houses in these two places one day... 8-P ) Reading your code, I don't think broadcasting over all interfaces is a good idea. A safer way would be requiring two physical interfaces on all nodes, building two seperate physical networks. The nodes communicate information on one network, and do the actual "work" on the other, more powerful, network. The daemons on the nodes should broadcast over these two interfaces. In addition, a comparison between the connectivity of the two physical networks can provide lots of valuable info. There is another bad thing about broadcasting over all interfaces, several types of attacks can be made: A. spoofing node packets, making controlling daemon believe some machinese are down. B. network internal information acquired by people that shouldn't have them. A great thing to do with this code would be using kqueue. | - Application failover. | - Applications can be assigned to two or many nodes in the | cluster. If the current node that the application runs on | fails, the next successor picks up the application. I think there should be a daemon that "routes" service queries, say a http request, to different nodes as the requests come in. | - Drag&Drop administration interface (X-11 tcl/tk based I think this should also include a console-type controller. Real-life work involves admining remotely, and GUI apps are not that great remotely. | The current state is alpha and is being tested by several people now. Beta | The current source is located at http://www.sporner.com/bsdclusters Please document what you have done, so we can learn more about the engineering thinking behind your implementation. | Please let me know what I should do... Will this be BSDL or will it be another license? Also, please include man pages. | Andy Sporner | PS. I am not sure how many of you were at BSDCon 2000, but that was some | very good talks--especially the BIO talk. I think we missed a great chance to talk to each other, since my research interest is the same field as your project. Or we may have met, I'm the Chinese guy that had the shortest hair. P.S. Please keep lines shorter than 80 characters. :) -- +--+ | [EMAIL PROTECTED] | [EMAIL PROTECTED] | | http://peorth.iteration.net/~keichii | Yes, BSD is a conspiracy. | +--+ To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message
Re: "iowait" CPU state
On Tue, Nov 07, 2000 at 05:44:13AM +, void wrote: > I've been using Solaris a lot lately, and I've noticed that in e.g. > top's output, it has a distinct CPU state called "iowait", which seems > to be a pretty good indicator of how I/O-bound a system is. Is there > any reason that FreeBSD doesn't have such a state? "iostat" also seems > a lot less informative than Sun's. What should I be using to measure > I/O utilization on FreeBSD? >From the iostat(8) man page: SEE ALSO fstat(1), netstat(1), nfsstat(1), ps(1), systat(1), pstat(8), vmstat(8) What information are you looking for specifically? Have a look at systat(1). It presents the activity on your system nicely, breaking it down into several descriptive categories which are documented in the man page. Try this: $ systat -io Hope that helps, -brian -- Brian O'Shea [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message