From owner-freebsd-questions@FreeBSD.ORG Fri Nov 5 23:14:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5407A16A4CE for ; Fri, 5 Nov 2004 23:14:54 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.192]) by mx1.FreeBSD.org (Postfix) with ESMTP id 03B5643D1F for ; Fri, 5 Nov 2004 23:14:54 +0000 (GMT) (envelope-from nick.holley@gmail.com) Received: by rproxy.gmail.com with SMTP id z35so128160rne for ; Fri, 05 Nov 2004 15:14:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=c+85/KomeFDriLioT7wR2/0FBKR+p+o8PQlXIkzLlaZonah13xdWIHXd8o8fvf2/8F/hgv2wHVL2YNRnSHJze62DzsIY/Jw+hbJroEfyjethV+ISPjwn4EM6PEQRzYZRSIQmIwxABy7buoom5mjmM6TcavZSWhVdxwvKy7GvEjY= Received: by 10.38.209.10 with SMTP id h10mr617441rng; Fri, 05 Nov 2004 15:14:49 -0800 (PST) Received: by 10.38.15.43 with HTTP; Fri, 5 Nov 2004 15:14:49 -0800 (PST) Message-ID: <40200b1704110515145a725f18@mail.gmail.com> Date: Fri, 5 Nov 2004 16:14:49 -0700 From: nick holley To: Vittorio In-Reply-To: <200411051329.07849.v.demartino2@virgilio.it> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <200411051329.07849.v.demartino2@virgilio.it> cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD newbye simple question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: nick holley List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Nov 2004 23:14:54 -0000 On Fri, 5 Nov 2004 13:29:07 +0000, Vittorio 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.