FreeBSD newbye simple question

nick holley nick.holley at gmail.com
Fri Nov 5 15:14:54 PST 2004


On Fri, 5 Nov 2004 13:29:07 +0000, Vittorio <v.demartino2 at 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.


More information about the freebsd-questions mailing list