Re: how to rotate a tcpdump file

2009-05-23 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, clos

Re: Crontab for different ime zones

2009-05-23 Thread Tim Judd
On Sat, May 23, 2009 at 9:46 PM, GT wrote: > Late entry to this thread, but... > > I thought I had found an answer to this; at present I think I might have > been mistaken. > > My crontab has about a dozen jobs that need to run in > TZ=America/New_York, and another dozen that ideally want > TZ=Au

Re: Crontab for different ime zones

2009-05-23 Thread Gustavo De Nardin
2009/5/24 GT : > Late entry to this thread, but... > > I thought I had found an answer to this; at present I think I might have > been mistaken. > > My crontab has about a dozen jobs that need to run in > TZ=America/New_York, and another dozen that ideally want > TZ=Australia/Sydney... the server d

Crontab for different ime zones

2009-05-23 Thread GT
Late entry to this thread, but... I thought I had found an answer to this; at present I think I might have been mistaken. My crontab has about a dozen jobs that need to run in TZ=America/New_York, and another dozen that ideally want TZ=Australia/Sydney... the server default is America/Chicago. G

Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1
Polytropon wrote: On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal wrote: I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. You downloaded sources manually? Why not use the ports

Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Fbsd1
Polytropon wrote: On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal wrote: I'm experiencing problems when attempting to install Win4BSD 1.1. I've downloaded the most recent .tbz of W4B, it installs but fails while building kqemu. You downloaded sources manually? Why not use the ports

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

2009-05-23 Thread Yuri
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 up

The FreeBSD Diary: 2009-05-23

2009-05-23 Thread Dan Langille
The FreeBSD Diary contains a large number of practical examples and how-to guides. This message is posted weekly to freebsd-questions@freebsd.org with the aim of letting people know what's available on the website. Before you post a question here it might be a good idea to first search the maili

Re: compiling FreeBSD date on Linux

2009-05-23 Thread Polytropon
Te strlcpy function is part of the system's C library, libc. It is declared in string.h. Did you #include and check if the Linux C library has this function included? If it has, "man strlcpy" should mention it. Oh wait, when talking about Linux, it's possible that there is no manpage for

GSM Modem versus GSM Telemetry

2009-05-23 Thread Exemys
This is a message in multipart MIME format. Your mail client should not be displaying this. Consider upgrading your mail client to view this message correctly. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/fr

Re: netbooks vs FreeBSD

2009-05-23 Thread cpghost
On Sat, May 23, 2009 at 10:40:35PM +0200, Wojciech Puchar wrote: > > I respectfully disagree. As much as I hate Apple as a company, I > > currently have a MacBook Pro that gets over 4 hours of battery > > life and has a 200+gig HDD in it. > > i wrote "somehow incompatible" :) > > your macbook pro

Re: compiling FreeBSD date on Linux

2009-05-23 Thread Roland Smith
On Sat, May 23, 2009 at 05:00:08PM -0300, francis keyes wrote: > I added "#include " to date .c but still get some errors: > > date.c: In function *setthetime*: > date.c:192: warning: assignment makes pointer from integer without a cast > /tmp/ccZTmvsY.o: In function `netsettime': > netdate.c

Re: netbooks vs FreeBSD

2009-05-23 Thread Alexandre "Sunny" Kovalenko
On Sat, 2009-05-23 at 13:31 -0400, Sean Cavanaugh wrote: > -- > From: "Wojciech Puchar" > Sent: Saturday, May 23, 2009 12:09 PM > To: "Gabor Kovesdan" > Cc: ; > Subject: Re: netbooks vs FreeBSD > > >> > >> I'm about to buy a netbook, which: > >> -

Re: netbooks vs FreeBSD

2009-05-23 Thread Wojciech Puchar
point 2 and 3 is somehow incompatible - HDD takes more power. anyway in order of few watts, compared to CPUs taking 20-50W, excluding those really "mobile". so >4 hours on battery&HDD seems possible. I respectfully disagree. As much as I hate Apple as a company, I currently have a MacBook

Re: Why build's user CPU on 4-CPU machine with hyper-threading always higher with -j 8 compared to with -j 4?

2009-05-23 Thread Wojciech Puchar
I noticed that the same exact build on i7-920 (4 CPUs) consumes ~15% more user CPU when run with -j 8 compared to -j 4. Hyper-threading is enabled so top shows 8 CPUs. Why would user time be higher in a hyper-threaded run? because it doesn't count actual instruction executed but - as name sugg

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 08:52:14PM +0100, Frank Shute wrote: > > On Sat, May 23, 2009 at 07:26:37PM +0200, Morgan Wesstrm wrote: > > > > Frank Shute wrote: > > > On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: > > >> I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. >

Re: compiling FreeBSD date on Linux

2009-05-23 Thread francis keyes
I added "#include " to date .c but still get some errors: date.c: In function ‘setthetime’: date.c:192: warning: assignment makes pointer from integer without a cast /tmp/ccZTmvsY.o: In function `netsettime': netdate.c:(.text+0x1f1): undefined reference to `strlcpy' collect2: ld returned 1 exit st

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 07:26:37PM +0200, Morgan Wesstrm wrote: > > Frank Shute wrote: > > On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: > >> I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. > >> > >> Which command should I use ? > >> > > > > You should be able to

Why build's user CPU on 4-CPU machine with hyper-threading always higher with -j 8 compared to with -j 4?

2009-05-23 Thread Yuri
I noticed that the same exact build on i7-920 (4 CPUs) consumes ~15% more user CPU when run with -j 8 compared to -j 4. Hyper-threading is enabled so top shows 8 CPUs. Why would user time be higher in a hyper-threaded run? Yuri ___ freebsd-question

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Gary Kline
On Sat, May 23, 2009 at 12:25:50PM -0400, Thomas Dickey wrote: > On Sat, May 23, 2009 at 03:03:00PM +0200, Polytropon wrote: > > On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey wrote: > > > probably (outside of Linux and a few special cases such as Cygwin, > > > "everyone" else uses ^H for backs

Debugging multithreaded programs with gdb66 doesn't work

2009-05-23 Thread Raphael Kubo da Costa
Hi there, I'm trying to debug some multithreaded programs with gdb 6.6, however commands such as "info threads" or "threads apply all bt" simply do nothing and show nothing. Am I missing something here? Is this the appropriate list to ask? Thanks, Raphael _

Re: how to rotate a tcpdump file

2009-05-23 Thread Matthew Seaman
Morgan Wesström wrote: Frank Shute wrote: On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at ne

Re: how to rotate a tcpdump file

2009-05-23 Thread Morgan Wesström
Frank Shute wrote: > On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: >> I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. >> >> Which command should I use ? >> > > You should be able to set up newsyslog(8) to rotate the dumps. > > You want to have a look at newsyslog

Re: netbooks vs FreeBSD

2009-05-23 Thread Sean Cavanaugh
-- From: "Wojciech Puchar" Sent: Saturday, May 23, 2009 12:09 PM To: "Gabor Kovesdan" Cc: ; Subject: Re: netbooks vs FreeBSD I'm about to buy a netbook, which: - is compatible with FreeBSD (wifi is especially important) - has a good battery lif

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Sat, May 23, 2009 at 03:03:00PM +0200, Polytropon wrote: > On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey wrote: > > probably (outside of Linux and a few special cases such as Cygwin, > > "everyone" else uses ^H for backspace - all of the BSD's and all > > of the vendor Unix's). > > As far

Re: 4x quad core on freebsd

2009-05-23 Thread Wojciech Puchar
pros / cons of running a 4 cpu (16 core) system on FreeBSD. I found FreeBSD 7 is quite scallable, said to work well for up to 8-16 cores. but it depends of what you do. if your I/O (both disk and network) to computind ratio is low it would scale well on even more cores. Tyan S4985 4 x AMD 8

Re: Canon printer and TurboPrint

2009-05-23 Thread kristian.tenorio
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 1) I enabled the linux compatibility by adding as root the following line to /etc/rc.conf linux

Re: netbooks vs FreeBSD

2009-05-23 Thread Wojciech Puchar
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, compared to CPUs taking 20-50W,

Re: how to rotate a tcpdump file

2009-05-23 Thread Frank Shute
On Sat, May 23, 2009 at 02:57:08PM +0300, Yavuz Ma?lak wrote: > > I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. > > Which command should I use ? > You should be able to set up newsyslog(8) to rotate the dumps. You want to have a look at newsyslog.conf(5) to craft a line to p

4x quad core on freebsd

2009-05-23 Thread Cameron Jacobson
I originally posted this on lucky.freebsd.questions newsgroup and don't seem to be getting much love, so figured I might get a better response out of one of freebsd's mailing lists. Below is that original post. In case you think a different group may be better for these questions, let me know. T

Re: A port for FireGPG?

2009-05-23 Thread cpghost
On Sat, May 23, 2009 at 12:31:29AM +0200, cpghost wrote: > Hi, > > I'd like to use GnuPG with Webmail (e.g. with gmail or other > webmails). AFAICS, the following Firefox add-on would help: > > http://www.getfiregpg.org/ > > Unfortunately, according to http://www.getfiregpg.org/install.html >

ANNOUNCE: OpenOffice.org 3.1 (i386) packages now available

2009-05-23 Thread Manolis Kiagias
Hey all, This is a continuation of an effort to offer pre-built packages for OpenOffice, that started with this post: http://lists.freebsd.org/pipermail/freebsd-questions/2009-April/195997.html With the release of OpenOffice 3.1, the new package and all dependencies were rebuilt, and are hosted

netbooks vs FreeBSD

2009-05-23 Thread 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 was told that the new 6 cell Acer Aspire ONEs aren't bad. Could you share your experiences about the following model

how to rotate a tcpdump file

2009-05-23 Thread Yavuz Maşlak
I wish tcpdump to rotate tcpdump file whose size reaches 10Mbyte. Which command should I use ? Bu elektronik posta ve varsa ekleri tamamen gizli ve gönderilen kişiler listesine özeldir. Eğer adınız gönderilen kişiler listesinde yer almıyorsa, lütfen derhal gönderen kişiyi bilgilendiriniz ve i

Re: geom_label usb cdrom

2009-05-23 Thread ajtiM
On Saturday 23 May 2009 06:03:23 Daniel C. Dowse wrote: > On Fri, 22 May 2009 20:10:33 -0500 > > ajtiM wrote: > > My system FreeBSD 7.2 > > Problem with CDROM and usb card reader. It works but swithc from da4s1 to > > da0s1. OK it is no so frustraiting because I mount "manualy" in console. > > The

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Polytropon
On Sat, 23 May 2009 06:35:56 -0400, Thomas Dickey wrote: > probably (outside of Linux and a few special cases such as Cygwin, > "everyone" else uses ^H for backspace - all of the BSD's and all > of the vendor Unix's). As far as I know, ^? indicates the delete key... Maybe the delete key does ^H i

Re: Win4BSD 1.1 on 7.1

2009-05-23 Thread Polytropon
On Fri, 22 May 2009 23:53:09 +0200 (CEST), Ronny Mandal wrote: > I'm experiencing problems when attempting to install Win4BSD 1.1. I've > downloaded the most recent .tbz of W4B, it installs but fails while > building kqemu. You downloaded sources manually? Why not use the ports system, or even

Re: geom_label usb cdrom

2009-05-23 Thread Daniel C. Dowse
On Fri, 22 May 2009 20:10:33 -0500 ajtiM wrote: > My system FreeBSD 7.2 > Problem with CDROM and usb card reader. It works but swithc from da4s1 to > da0s1. OK it is no so frustraiting because I mount "manualy" in console. The > bigger problem is cdrom which switch too but if I use KDE and K3b

Re: backspace-key and ^H when ssh -X remote.

2009-05-23 Thread Thomas Dickey
On Fri, May 22, 2009 at 11:04:05PM -0700, Gary Kline wrote: > guys, > > here's a bug with how the backspace key doesn't work across computers. > i'm not sure if there were troubles going from FBSD to FBSD, but there is > when i ssh from my ubuntu platform to my main desktop. i do this to edit > f