Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Nov 2004 16:14:49 -0700
From:      nick holley <nick.holley@gmail.com>
To:        Vittorio <v.demartino2@virgilio.it>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: FreeBSD newbye simple question
Message-ID:  <40200b1704110515145a725f18@mail.gmail.com>
In-Reply-To: <200411051329.07849.v.demartino2@virgilio.it>
References:  <200411051329.07849.v.demartino2@virgilio.it>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 5 Nov 2004 13:29:07 +0000, Vittorio <v.demartino2@virgilio.it> wrote:
> 1) I want to tailor my freeBSD slice according to my machine (gentoo
> experience is helpful!). Now, while i I know how to compile an
> application in /usr/ports I cannot find sources of the "base system" I
> had to install when starting the first installation from scratch.
> 
> Where are those sources?

/usr/src
 
> 2) The questions' question: where can I read what are the options I can
> use with a certain source package and how can I use them when
> make(-ing) the program?

I do the same as the others have suggested, read the Makefile.
 
> 3) It goes without saying that many freebsd commands are the same as in
> linux but I cannot find the freebsd command equivalent to the linux
> command 'free' giving info about the size of memory used by the
> system's cache, buffers, swap, etc.

My preferred command for this is 'top -d1|grep -A1 Mem'. If you want
you can alias this using your preferred shell or write a small script
named 'free'.

Nick.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40200b1704110515145a725f18>