Re: how to rotate a tcpdump file

2009-05-24 Thread Matthew Seaman
Frank Shute wrote: On Sat, May 23, 2009 at 08:52:14PM +0100, Frank Shute wrote: I was thinking of using the -C and -w options to tcpdump(1). From the manpage: -C Before writing a raw packet to a savefile, check whether the file is currently larger than file_size and, if so,

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Matthew Seaman
Yuri wrote: Look below: load over 7 and no processes take much CPU. Yuri 7.2-PRERELEASE, 32-bit on i7-920. last pid: 93192; load averages: 7.68, 6.27, 4.61

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Glen Barber
Hi, Matthew On Sun, May 24, 2009 at 3:46 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Yuri wrote: [snip] Sure. This is not an uncommon occurrence really.  The load average is the number of processes in the queue for a CPU time slice averaged over 5, 10 or 15 minutes.  For

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Matthew Seaman
Glen Barber wrote: Hi, Matthew On Sun, May 24, 2009 at 3:46 AM, Matthew Seaman m.sea...@infracaninophile.co.uk wrote: Yuri wrote: [snip] Sure. This is not an uncommon occurrence really. The load average is the number of processes in the queue for a CPU time slice averaged over 5, 10 or 15

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Glen Barber
On Sun, May 24, 2009 at 5:07 AM, Matthew Seaman wrote: I thought, if it was a dual-core for example, a load average of 1.00 would indicate 50% CPU utilization overall (1 process using only 1 core)[1].  2.00 on a dual-core would be 100%, 3.00 on a dual-core would be 100% utilization, and

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Wojciech Puchar
Look below: load over 7 and no processes take much CPU. load average is NOT sum of CPU loads. for example program reading constantly from HDD and using no CPU will add 1 to load average. other things like net I/O etc. are calculated too. i can't explain you exactly how because i don't

Re: pkgdb -F problem

2009-05-24 Thread Leslie Jensen
Tim Judd skrev: On Thu, May 21, 2009 at 10:20 AM, Frederique Rijsdijk frederi...@isafeelin.org wrote: Leslie Jensen wrote: I've just updated my 7.1-RELEASE to 7.2-RELEASE using freebsd-update. Everything went ok but I've got a problem when I do pkgdb -F /libexec/ld-elf.so.1:

Re: Win4BSD 1.1 on 7.1

2009-05-24 Thread Glen Barber
On Sat, May 23, 2009 at 11:29 PM, Fbsd1 fb...@a1poweruser.com wrote: There is no package for win4bsd on the pkg ftp servers for releases 7.0, 7.1, 7.2, or 8.0. Looks like the release build team has been missed this one for some time now. They did not miss it. The port is marked as

silly Q: any script running before make install /w ports ?

2009-05-24 Thread Robert Joosten
Hi, I have a standard umask of 0077 on a box. I grabbed irssi from ports, but he doesn't connect to any irc server... running it as root will. Now I suspect that umask setting of mine. That leaves me with a silly question: is there any script running before I enter 'make install' ? I cannot

Re: silly Q: any script running before make install /w ports ?

2009-05-24 Thread Glen Barber
Hi, Robert On Sun, May 24, 2009 at 8:31 AM, Robert Joosten rob...@ml.erje.net wrote: Hi, I have a standard umask of 0077 on a box. I grabbed irssi from ports, but he doesn't connect to any irc server... running it as root will. Now I suspect that umask setting of mine. IRC-ing as root is

Re: silly Q: any script running before make install /w ports ?

2009-05-24 Thread Robert Joosten
Hi, IRC-ing as root is a bad idea. Yeah, I know. But I really had to doublecheck. As a normal user, does irssi start? It does start, but it's unable to connect. If not, what are the errors? 14:59 -!- Irssi: Looking up irc.xs4all.nl 14:59 -!- Irssi: Connecting to irc.xs4all.nl

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Scott Bennett
On Sun, 24 May 2009 11:57:08 +0200 (CEST) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote without proper attribution: Look below: load over 7 and no processes take much CPU. load average is NOT sum of CPU loads. for example program reading constantly from HDD and using no CPU will add

Re: netbooks vs FreeBSD

2009-05-24 Thread Gabor Kovesdan
Wojciech Puchar escribió: I'm about to buy a netbook, which: - is compatible with FreeBSD (wifi is especially important) - has a good battery life (at least 4 hours) - has a normal HDD not an SSD point 2 and 3 is somehow incompatible - HDD takes more power. anyway in order of few watts,

Re: netbooks vs FreeBSD

2009-05-24 Thread Gabor Kovesdan
Alexandre Sunny Kovalenko escribió: I did not run FreeBSD on it, so I apologize for slight OT, but my wife's Samsung NC10 (2.8 lbs, 10.2 screen, 160GB 5400RPM HDD) is pushing 6 hours of the battery life with the wireless on and memory upgraded to 2GB. This is under Windows XP HOME ULCPC though.

Re: silly Q: any script running before make install /w ports ?

2009-05-24 Thread Michael Powell
Robert Joosten wrote: Hi, I have a standard umask of 0077 on a box. I grabbed irssi from ports, but he doesn't connect to any irc server... running it as root will. Now I suspect that umask setting of mine. Why not leave it at 022? That leaves me with a silly question: is there any

Re: netbooks vs FreeBSD

2009-05-24 Thread Matthias Apitz
El día Sunday, May 24, 2009 a las 03:43:53PM +0200, Gabor Kovesdan escribió: Alexandre Sunny Kovalenko escribió: I did not run FreeBSD on it, so I apologize for slight OT, but my wife's Samsung NC10 (2.8 lbs, 10.2 screen, 160GB 5400RPM HDD) is pushing 6 hours of the battery life with the

Re: Canon printer and TurboPrint

2009-05-24 Thread Jerry
On Sat, 23 May 2009 09:10:53 -0700 (PDT) kristian.tenorio kristian.teno...@gmail.com wrote: Well, you have a Canon iP8500. I guess I can really help you. I have tried TurboPrint on FreeBSD and it works. Here is what I did: 0) I installed the Fedora linux compat package from my FreeBSD discs

Re: netbooks vs FreeBSD

2009-05-24 Thread Polytropon
On Sun, 24 May 2009 15:52:29 +0200, Matthias Apitz g...@unixarea.de wrote: I have a real netbook, an EeePC 900 with 20 GByte SSD, Wifi, 1024x600 9 display and an attached USB Huawei E220 dongel for UMTS. I have installed 8-CURRENT and all works as it should, only the inbuild cam is not

Re: Win4BSD 1.1 on 7.1

2009-05-24 Thread Polytropon
On Sun, 24 May 2009 06:47:17 -0400, Glen Barber glen.j.bar...@gmail.com wrote: On Sat, May 23, 2009 at 11:29 PM, Fbsd1 fb...@a1poweruser.com wrote: There is no package for win4bsd on the pkg ftp servers for releases 7.0, 7.1, 7.2, or 8.0. Looks like the release build team has been missed

Re: netbooks vs FreeBSD

2009-05-24 Thread Matthias Apitz
El día Sunday, May 24, 2009 a las 04:56:11PM +0200, Polytropon escribió: On Sun, 24 May 2009 15:52:29 +0200, Matthias Apitz g...@unixarea.de wrote: I have a real netbook, an EeePC 900 with 20 GByte SSD, Wifi, 1024x600 9 display and an attached USB Huawei E220 dongel for UMTS. I have

Re: netbooks vs FreeBSD

2009-05-24 Thread Koichiro IWAO
Hi. Gabor Kovesdan : Hello, I'm about to buy a netbook, which: - is compatible with FreeBSD (wifi is especially important) - has a good battery life (at least 4 hours) - has a normal HDD not an SSD I don't know about that you are going to buy, but I have Dell Inspiron mini 12. One

Re: netbooks vs FreeBSD

2009-05-24 Thread Gabor Kovesdan
Koichiro IWAO escribió: The integrated video chip Intel GMA 500 is not a original Intel product. So X11 does not work with Intel driver and the driver is still unavailable. VESA is the only available driver. If you want use X11, do not forget to choose Atom N series. Uh, thanks a lot, I

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Wojciech Puchar
From the glossary (p. 630) of _The_Design_and_Implementation_of_the _FreeBSD_Operating_System_ by McKusick and Neville-Neil: load average A measure of CPU load on the system. The load average in FreeBSD is an average of the number of processes ready to

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Michael David Crawford
This guy advises buying an old G4 Mac laptop to use as a netbook: http://lowendmac.com/ed/herlihy/09ph/ibook-netbook.html While Apple might be planning to stop supporting PowerPC, one could run FreeBSD on it. Mac-Pro has good prices on used Mac laptops. A G4 PowerBook is $500 to $650

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Polytropon
On Sun, 24 May 2009 12:02:41 -0700, Michael David Crawford m...@prgmr.com wrote: Mac-Pro has good prices on used Mac laptops. A G4 PowerBook is $500 to $650 depending on what kind of burner is installed. http://www.mac-pro.com/s.nl/sc.2/category.66/.f Hmmm... I still think about

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Wojciech Puchar
I was just now looking into ARM netbooks. I think there's only one actual shipping model so far, but ARM shows great promise because ARM CPUs use very little power. I expect there will be lots of them by the end of the year. Is there a FreeBSD ARM port? There's not one for 7.2. there are

Re: Problem calling through skype

2009-05-24 Thread Joey Mingrone
On Wed, Apr 29, 2009 at 15:25, Yuri y...@rawbw.com wrote: Beginning from some recent ports update (? maybe) I get a problem making voice calls with Skype. Symptoms are: All calls disconnect after exactly one minute. Time counter on top of the window runs slow. Like one second per 7 real

Re: Problem calling through skype

2009-05-24 Thread Yuri
Joey Mingrone wrote: Yes, I've seen the same behaviour. Also, trying to play the voicemail greeting is messed up. It's very choppy and distorted. Did anyone find any clues? Joey This has been fixed in current. See http://www.freebsd.org/cgi/query-pr.cgi?pr=134251 I don't know why this

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Wojciech Puchar
Is there a FreeBSD ARM port? There's not one for 7.2. I'm not aware of one, but I think NetBSD has it. But finally, NetBSD isn't FreeBSD. :-) quite a big difference. was enough for me to switch to FreeBSD some time ago. ___

Re: Crontab for different ime zones

2009-05-24 Thread GT
On Sat, 2009-05-23 at 23:41 -0600, Tim Judd wrote: SNIP I propose the following: cron itself has no concept of timezone. it is 'date' that is picking up TZ and reporting as such. Cron's job is so simple is that it wakes up each minute to see if it has work to do, regardless of

Re: How can this 'top' command output make sense? Load over 7 and total CPU use ~5%

2009-05-24 Thread Glen Barber
On Sun, May 24, 2009 at 3:02 PM, Michael David Crawford m...@prgmr.com wrote: This guy advises buying an old G4 Mac laptop to use as a netbook:   http://lowendmac.com/ed/herlihy/09ph/ibook-netbook.html While Apple might be planning to stop supporting PowerPC, one could run FreeBSD on it.

Re: Crontab for different ime zones

2009-05-24 Thread Tim Judd
On Sun, May 24, 2009 at 5:31 PM, GT catch@marketmentat.com wrote: On Sat, 2009-05-23 at 23:41 -0600, Tim Judd wrote: SNIP I propose the following: cron itself has no concept of timezone. it is 'date' that is picking up TZ and reporting as such. Cron's job is so simple is

Re: silly Q: any script running before make install /w ports ?

2009-05-24 Thread APseudoUtopia
On Sun, May 24, 2009 at 8:31 AM, Robert Joosten rob...@ml.erje.net wrote: Hi, I have a standard umask of 0077 on a box. I grabbed irssi from ports, but he doesn't connect to any irc server... running it as root will. Now I suspect that umask setting of mine. That leaves me with a silly

Re: Crontab for different ime zones

2009-05-24 Thread GT
On Sun, 2009-05-24 at 18:45 -0600, Tim Judd wrote: How about a jail for America/NY, and a jail for AU/Sydney? that might work. --TJ That's a good solution, but I am still somewhat puzzled by cron's behaviour relative to what I expected from the man page. From the man page for

Re: Errors Installing ca_root_nss Port

2009-05-24 Thread Drew Tomlinson
Drew Tomlinson wrote: I'm using FBSD 6x. It's been a while since I upgraded ports. One of the ports to upgrade is curl from 7.18.0 to 7.19.4. It wants to pull in security/ca_root_nss. This port gets a bunch of errors when attempting to install. Here is an example: Error configuring

Re: Errors Installing ca_root_nss Port

2009-05-24 Thread Tim Judd
On Sun, May 24, 2009 at 9:57 PM, Drew Tomlinson d...@mykitchentable.netwrote: Drew Tomlinson wrote: I'm using FBSD 6x. It's been a while since I upgraded ports. One of the ports to upgrade is curl from 7.18.0 to 7.19.4. It wants to pull in security/ca_root_nss. This port gets a bunch

Secure unsalted or fixed salt symmetric encryption?

2009-05-24 Thread Kelly Jones
Are there any secure openssl symmetric encryption routines that *don't* use a salt? Is it secure to use a random-but-fixed salt (openssl enc -S salt)? man enc says This option [-salt] should ALWAYS be used [...] Reason I ask: I was using this command to backup files using

ps says process has been running for 49710 days

2009-05-24 Thread Kelly Jones
I use /bin/ps -www -ax -eo 'pid etime args' to see how long a process has been running. This usually works fine, but I sometimes see things like: 17469 49710-06:28:15 /usr/bin/fly -q -i [...] indicating a process has been running for 49710+ days. I originally thought that was the time from the