Re: API to find the memory usage of a process.

2010-03-18 Thread Charlie Kester
On Thu 18 Mar 2010 at 18:30:00 PDT J. Johnston wrote: On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which

Re: greylisting with sendmail recommendations

2010-03-18 Thread Warren Block
On Fri, 19 Mar 2010, Jamie Griffin wrote: I'm thinking of implementing a greylisting milter for sendmail. I just wanted to ask here first to see if anyone has any feedback on which one might be the best to go with. I was looking at milter-greylist from ports, which seems quite popular, does a

Re: VirtualBox from the command line

2010-03-18 Thread Aiza
On Thu, Mar 18, 2010 at 7:44 PM, Aiza > wrote: Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? # VirtualBox -h Sun VirtualBox Graphical User Interface 3.1.2_OSE (C) 2005-2009 Sun Microsystems, Inc. All rights re

Re: VirtualBox from the command line

2010-03-18 Thread Warren Block
On Thu, 18 Mar 2010, Adam Vande More wrote: On Thu, Mar 18, 2010 at 7:44 PM, Aiza wrote: Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? # VirtualBox -h Sun VirtualBox Graphical User Interface 3.1.2_OSE (C) 2005-2009 Sun Microsystems, Inc. Al

Re: Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-18 Thread Brandon Gooch
On Fri, Mar 19, 2010 at 1:47 AM, Yuri wrote: > Sometimes after some flash object is displayed firefox gets frozen for many > few seconds,maybe ~20sec. > Do you see the same? Is there anyfix for this? > > In additions I have 54 processes like this one > 50006  ??  I      0:00.00 > /usr/local/lib/ns

greylisting with sendmail recommendations

2010-03-18 Thread Jamie Griffin
Hello I'm thinking of implementing a greylisting milter for sendmail. I just wanted to ask here first to see if anyone has any feedback on which one might be the best to go with. I was looking at milter-greylist from ports, which seems quite popular, does anyone use this and have you found it t

Re: API to find the memory usage of a process.

2010-03-18 Thread J. Johnston
On 03/18/10 10:28, Jayadev Kumar wrote: Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. the source

Flash sometimes freezes firefox, also many npviewer.bin processes left running around

2010-03-18 Thread Yuri
Sometimes after some flash object is displayed firefox gets frozen for many few seconds,maybe ~20sec. Do you see the same? Is there anyfix for this? In additions I have 54 processes like this one 50006 ?? I 0:00.00 /usr/local/lib/nspluginwrapper/i386/linux/npviewer.bin --plugin /usr/loc

Re: VirtualBox from the command line

2010-03-18 Thread Adam Vande More
On Thu, Mar 18, 2010 at 7:44 PM, Aiza wrote: > Does VirtualBox launch from the FBSD command line? > Is there a package for it in the pkg system? > # VirtualBox -h Sun VirtualBox Graphical User Interface 3.1.2_OSE (C) 2005-2009 Sun Microsystems, Inc. All rights reserved. Usage: --startvm s

Xorg xorg-7.4_2 startup

2010-03-18 Thread doug
I have FreeBSD 7.2 built after the xorg-7.4_2 package I installed. Hardware is an IBM thinkpad T42p. I am trying to figure out if I have hardware or software issues. I built FreeBSD and installed Xorg 12/30/09. I am choosing not to use hal so: xorg.conf --- Section "ServerLayo

RE: VirtualBox from the command line

2010-03-18 Thread Don O'Neil
You need to use 'vboxtool'... http://vboxtool.sourceforge.net/ > -Original Message- > From: owner-freebsd-questi...@freebsd.org [mailto:owner-freebsd- > questi...@freebsd.org] On Behalf Of Aiza > Sent: Thursday, March 18, 2010 5:45 PM > To: FreeBSD Questions > Subject: VirtualBox from t

VirtualBox from the command line

2010-03-18 Thread Aiza
Does VirtualBox launch from the FBSD command line? Is there a package for it in the pkg system? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Josh Paetzel
On Thursday 18 March 2010 03:37:32 Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB > of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night > we ran into trouble with the 3ware controllers we have (9650SE-8LPML) > because we cou

Re: Virtualbox on Freebsd

2010-03-18 Thread Paul Schmehl
--On Thursday, March 04, 2010 13:15:02 -0600 Paul Schmehl wrote: I'm trying to build it from ports right now and running into all sorts of issues with qt4 stuff. After rebuilding all my ports (portupgrade -af) and fixing the problems encountered, VirtualBox is working perfectly. I am now

natd opening partition

2010-03-18 Thread Brian Wolman
Hey there, I run a test server here at the house that also runs natd to share internet across the network. The past few weeks my free space on /var was running dangerously low. After some investigation, I found out that the used space was actually an open file, and here is what lsof showed me: nat

Re: NAT overflow

2010-03-18 Thread Michael Powell
Anton wrote: > >Hello everyone, > >I'm kind of noob in FreeBSD particularily, and in Unix systems at all >:- ). But, I've already mastered an router on freebsd 7.2, which >worked fine u ntil I installed their MySQL with huge database. > >Now, once a day, I have a problem - u

API to find the memory usage of a process.

2010-03-18 Thread Jayadev Kumar
Hi, I need to find the memory usage of a process, from inside the process. Is there any system call do this ? I was trying to find it from 'top' utility source code. I couldn't find the port which it is coming from yet. Thanks, Jayadev. ___ freebsd

RE: Generating a random hostname

2010-03-18 Thread Peter Steele
I've ended up writing a service that runs after netif is complete and sets the hostname based on the MAC address and also updates /etc/hosts. It does what I need... Thanks for all the replies on this... ___ freebsd-questions@freebsd.org mailing list h

Re: shrink /usr size

2010-03-18 Thread Frank Wißmann
Hello! ? ? schrieb: 2010/3/18 Aiza /usr is the last partition in the slice. It has 15GB and only 600mb used. I would like to shrink /usr to 7GB leaving me 7GB for another new partition for mysql DB testing. How do I shrink /usr? ___ freebsd-

gvinum drives extremely slow after upgrade

2010-03-18 Thread Alejandro Imass
Hi, After successfully upgrading my system from 6.2 to 8.0-RELEASE I notice that my gvinum drives are extremely slow. Every command I type takes forever to execute. I know this question is way too generic, but does anyone have a clue as to what this problem may be? Or any hints on what and how to

Re: Irritating delay in mouse in kde4

2010-03-18 Thread Paul Schmehl
--On Wednesday, March 17, 2010 12:49:02 -0600 Warren Block wrote: On Wed, 17 Mar 2010, Paul Schmehl wrote: I recently upgraded from FreeBSD 7.2 STABLE to 8.0 STABLE. I also upgraded from KDE3 to KDE4 and rebuilt all my ports. Everything seems to work fine except the mouse. There is an irr

Re: FreeBSD and vmware

2010-03-18 Thread Paul Schmehl
--On Wednesday, March 17, 2010 21:34:43 +0100 Erik Norgaard wrote: Hi: I have a dual boot Windows/FreeBSD which I use for work, I just tried today to create a virtual machine with vmware on windows to start up the installed FreeBSD. This works except for three problems: - The disk device is

Re: Anybody uses VMWare on FreeBSD?

2010-03-18 Thread Paul Schmehl
--On Wednesday, March 17, 2010 13:28:45 -0700 Yuri wrote: I can't build it, I am getting the following errors. And message to freebsd-emulation@ from 02/10 was never answered. Don't bother. VirtualBox is eminently better and free. -- Paul Schmehl, Senior Infosec Analyst As if it wasn't alr

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Mike Tancsa
At 04:37 AM 3/18/2010, Andy Wodfer wrote: Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a large

Re: Availability of "pm-utils"

2010-03-18 Thread Lowell Gilbert
Carmel writes: > Is 'pm-utils" available in the > ports system? I am unable to locate it if it does exist. I don't think it is. I suspect it would be a big porting job; it looks thoroughly Linux-centric these days. -- Lowell Gilbert, embedded/networkin

International Spotlight at WIBC Asia: Seeking New Growth Horizons

2010-03-18 Thread The World Islamic Banking Conference | Asia Summit
To view this in your browser click here International Spotlight at WIBC Asia: Seeking New Growth Horizons Dear Banking & Finance Leader, As the leading players in the Islamic finance industry continue to adapt business strategies in order to further strengthen and consolidat

Re: Generating a random hostname

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 11:57:56, Peter Steele wrote: >> Thinking about this some more, a good trick would be to generate a >> hostname from the MAC address of the host, since that is guaranteed >> to be unique. > > In fact, this is what we are currently using.

NAT overflow

2010-03-18 Thread Anton
Hello everyone, I'm kind of noob in FreeBSD particularily, and in Unix systems at all :-= ). But, I've already mastered an router on freebsd 7.2, which worked fine u= ntil I installed their MySQL with huge database. Now, once a day, I have a problem - users do not have internet on

Re: Which gdb GUI do you use?

2010-03-18 Thread Andrea Venturoli
On 03/18/10 08:15, Yuri wrote: I know there is ddd, but it has so many bugs that it makes it barely usable. There is emacs, but I am not used to it and don't like it. It's love it or hate it usually for most people. There is some GUI called Insight, for some reason it's not in ports. I've built i

Re: Which gdb GUI do you use?

2010-03-18 Thread Nathan Vidican
For what it's worth - Xcode on Mac OS/X, I do probably 75% of my development there, then just compile/build on FreeBSD. Apple's got a similarly capable O/S and their development suite is not only stable, but free and uses GCC. In my situation, the code works fine on both O/S as I'm not writing any

RE: Generating a random hostname

2010-03-18 Thread Peter Steele
>Thinking about this some more, a good trick would be to generate a hostname >from the MAC address of the host, since that is guaranteed to be unique. In fact, this is what we are currently using. Unfortunately I guess I wasn't entirely clear. I was looking for a facility that actually *assigns*

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Konference
Hi and what about Areca? Natively supported via arcmsr driver. For SATA II http://www.areca.com.tw/products/pcie.htm (ARC-1230, ARC-1260) or http://www.areca.com.tw/products/pcie341.htm On one installation I have successfully set up RAID5 with 8x 1TB SATA II drives on ARC-1220, approx 6.5TB files

Re: shrink /usr size

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 09:52:50, Антон Клесс wrote: > 2010/3/18 Aiza > >> /usr is the last partition in the slice. It has 15GB and only 600mb used. I >> would like to shrink /usr to 7GB leaving me 7GB for another new partition > The same question: how to ex

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 10:09:55, Erik Trulsson wrote: > On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: >> Hi, >> We're setting up two backup servers where each server will have about 4TB of >> harddrives (for now) connected (4x1TB and 8x500GB driv

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Erik Trulsson
On Thu, Mar 18, 2010 at 09:37:32AM +0100, Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB of > harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran > into trouble with the 3ware controllers we have (9650SE-8LPML) because w

Re: shrink /usr size

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 09:36:44, Aiza wrote: > /usr is the last partition in the slice. It has 15GB and only 600mb > used. I would like to shrink /usr to 7GB leaving me 7GB for another new > partition for mysql DB testing. How do I shrink /usr? Backup the cont

Re: shrink /usr size

2010-03-18 Thread Антон Клесс
2010/3/18 Aiza > /usr is the last partition in the slice. It has 15GB and only 600mb used. I > would like to shrink /usr to 7GB leaving me 7GB for another new partition > for mysql DB testing. How do I shrink /usr? > ___ > freebsd-questions@freebsd.org

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Svein Skogen (Listmail Account)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18.03.2010 10:35, Andy Wodfer wrote: > On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law wrote: > > >> Is ZFS not an option? >> > > I'm afraid ZFS is not an option for this customer. I use ZFS on other system > and it works great, but here the requir

shrink /usr size

2010-03-18 Thread Aiza
/usr is the last partition in the slice. It has 15GB and only 600mb used. I would like to shrink /usr to 7GB leaving me 7GB for another new partition for mysql DB testing. How do I shrink /usr? ___ freebsd-questions@freebsd.org mailing list http://list

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
On Thu, Mar 18, 2010 at 10:30 AM, Matthew Law wrote: > Is ZFS not an option? > I'm afraid ZFS is not an option for this customer. I use ZFS on other system and it works great, but here the requirement is RAID5, hotswap, hotspare and so on. Cheers, Andreas ___

Re: Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Matthew Law
On Thu, March 18, 2010 8:37 am, Andy Wodfer wrote: > Hi, > We're setting up two backup servers where each server will have about 4TB > of > harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we > ran > into trouble with the 3ware controllers we have (9650SE-8LPML) because we > c

Re: Generating a random hostname

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 18/03/2010 08:32:31, Matthew Seaman wrote: > On 17/03/2010 22:06:30, Peter Steele wrote: >> Is there any facility in FreeBSD for generating a random hostname? We >> have a template with a fixed hostname that has to be changed after >> the template i

Hardware RAID controller questions - 3Ware vs RocketRaid

2010-03-18 Thread Andy Wodfer
Hi, We're setting up two backup servers where each server will have about 4TB of harddrives (for now) connected (4x1TB and 8x500GB drives). Last night we ran into trouble with the 3ware controllers we have (9650SE-8LPML) because we couldn't create a larger RAID5 than 1.99TB. We are going to use Fr

Re: Which version of FreeBSD is it?

2010-03-18 Thread Антон Клесс
18 марта 2010 г. 10:49 пользователь Tim Judd написал: > On 3/17/10, Антон Клесс wrote: > > That is what I suspected for. > > > > What is the most safe way to upgrade it, remembering that this is > production > > server and I have to keep it working properly? > > > > 6.2-RC1 -> 6.2 RELEASE -> 7.2

Re: Which version of FreeBSD is it?

2010-03-18 Thread Антон Клесс
2010/3/18 Ruben de Groot > > As others have said, it's a RELEASE candidate. But this kernel it's running > was compiled earlier this month (March 5). > > Ruben > It is OK, course I have compiled my own kernel by commenting-out unused devices in GENERIC kernconf-file. Sources was newer updated,

Re: Which gdb GUI do you use?

2010-03-18 Thread Charlie Kester
On Thu 18 Mar 2010 at 00:15:30 PDT Yuri wrote: I know there is ddd, but it has so many bugs that it makes it barely usable. There is emacs, but I am not used to it and don't like it. It's love it or hate it usually for most people. There is some GUI called Insight, for some reason it's not in po

Re: Generating a random hostname

2010-03-18 Thread Olivier Nicole
> Is there any facility in FreeBSD for generating a random hostname? We > have a template with a fixed hostname that has to be changed after > the template is closed. It would be useful to have a hostname I have somewhere a Perl script that can be used/adapted to generate pseudo English words. Yo

Re: Which version of FreeBSD is it?

2010-03-18 Thread Ruben de Groot
On Wed, Mar 17, 2010 at 04:56:20PM +0300, ?? ?? typed: > I have the server that's running FreeBSD for the last few years, but I saw > it only year ago and know nothing about when and how was installed FreeBSD > on it. > > # uname -a > FreeBSD myhost.net 6.2-RC1 FreeBSD 6.2-RC1 #4:

Re: Generating a random hostname

2010-03-18 Thread Matthew Seaman
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 17/03/2010 22:06:30, Peter Steele wrote: > Is there any facility in FreeBSD for generating a random hostname? We > have a template with a fixed hostname that has to be changed after > the template is closed. It would be useful to have a hostname > g

Re: Which version of FreeBSD is it?

2010-03-18 Thread Tim Judd
On 3/17/10, Антон Клесс wrote: > That is what I suspected for. > > What is the most safe way to upgrade it, remembering that this is production > server and I have to keep it working properly? > > 6.2-RC1 -> 6.2 RELEASE -> 7.2 RELEASE -> 8.0 RELEASE, or somehow in this > style? Honestly, if a s

Re: Which gdb GUI do you use?

2010-03-18 Thread Fernando Apesteguía
On Thu, Mar 18, 2010 at 8:15 AM, Yuri wrote: > I know there is ddd, but it has so many bugs that it makes it barely usable. > There is emacs, but I am not used to it and don't like it. It's love it or > hate it usually for most people. > There is some GUI called Insight, for some reason it's not i

Which gdb GUI do you use?

2010-03-18 Thread Yuri
I know there is ddd, but it has so many bugs that it makes it barely usable. There is emacs, but I am not used to it and don't like it. It's love it or hate it usually for most people. There is some GUI called Insight, for some reason it's not in ports. I've built it and it looks unstable. Gives