From owner-freebsd-chat@FreeBSD.ORG Sat Feb 12 06:18:31 2005 Return-Path: Delivered-To: freebsd-chat@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 318D016A4CE for ; Sat, 12 Feb 2005 06:18:31 +0000 (GMT) Received: from smtp4.wlink.com.np (smtp4.wlink.com.np [202.79.32.87]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CA5043D2D for ; Sat, 12 Feb 2005 06:18:27 +0000 (GMT) (envelope-from neeraj@wlink.com.np) Received: (qmail 82841 invoked from network); 12 Feb 2005 06:18:25 -0000 Received: from unknown (HELO av-scanner-02.wlink.com.np) (202.79.32.91) by 0 with SMTP; 12 Feb 2005 06:18:25 -0000 Received: (qmail 2755 invoked by uid 1009); 12 Feb 2005 00:33:22 -0000 Received: from neeraj@wlink.com.np by av-scanner-02.wlink.com.np by uid 1003 with qmail-scanner-1.20 ( Clear:RC:1(202.79.32.78):. Processed in 0.463461 secs); 12 Feb 2005 00:33:22 -0000 Received: from smtp3.wlink.com.np (202.79.32.78) by av-scanner-02.wlink.com.np with SMTP; 12 Feb 2005 00:33:21 -0000 Received: (qmail 23621 invoked by uid 514); 12 Feb 2005 06:02:02 -0000 Received: from [202.79.36.170] (HELO [202.79.36.170]) by smtp3.wlink.com.np (qmail-smtpd) with SMTP; 12 Feb 2005 06:02:02 -0000 (Sat, 12 Feb 2005 11:47:02 +0545) From: neeraj shrestha To: Daniel O'Connor In-Reply-To: <200502121606.50457.doconnor@gsoft.com.au> References: <200502121531.30652.doconnor@gsoft.com.au> <1108186338.32115.2.camel@neeraj> <200502121606.50457.doconnor@gsoft.com.au> Content-Type: text/plain Message-Id: <1108188213.32115.9.camel@neeraj> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Sat, 12 Feb 2005 11:48:33 +0545 Content-Transfer-Encoding: 7bit X-Spam-Check-By: smtp3.wlink.com.np Spam: No ; -4.9 / 5.0 X-Spam-Status-WL: No, hits=-4.9 required=5.0 cc: freebsd-chat@freebsd.org Subject: Re: procps in bsd X-BeenThere: freebsd-chat@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Non technical items related to the community List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Feb 2005 06:18:31 -0000 thanks daniel for your solution. What exactly does the linux watch command do? $ watch -n1 'some command ' will run the command every 1 sec and show the output cont. on terminal. so it is useful to monitor the size of log files and disk space usage. On Sat, 2005-02-12 at 11:21, Daniel O'Connor wrote: > On Sat, 12 Feb 2005 16:02, neeraj shrestha wrote: > > bsd "watch" doesnot allow me to continuously monitor a process or > > command!! and also "top" doesnot shows the total physical memory that my > > No need to use so many exclamation marks.. > > What exactly does the linux watch command do? > > > system has? > > Well, I guess you could add up the fields ;) > sysctl hw.physmem will show you how much physical memory the machine has. > > > On Sat, 2005-02-12 at 10:46, Daniel O'Connor wrote: > > > On Sat, 12 Feb 2005 15:25, neeraj shrestha wrote: > > > > i need "watch" and "free" commmand at least!! > > > > is there bsd equivalent of these linux utilities? > > > > > > Well there is a FreeBSD command called watch which snoops on TTYs.. > > > You can use top to find out how much RAM is free. > > > > > > > On Fri, 2005-02-11 at 22:38, Jeremy C. Reed wrote: > > > > > On Fri, 11 Feb 2005, neeraj shrestha wrote: > > > > > > i could not find the "procps" port or package for freebsd?? > > > > > > if there is available let me know!! > > > > > > > > > > procps is the Linux /proc file system utilities. My package > > > > > description is: The Linux /proc file system utilities are tools for > > > > > reporting about and modifying the state of the system, including > > > > > memory, processes, sending signals to processes, etc. The commands > > > > > include free, oldps, pgrep, pkill, ps, skill, snice, sysctl, tload, > > > > > top, vmstat, w and watch. (kill is not installed; it is available in > > > > > the sysutils/util-linux package.) This version of procps is > > > > > maintained by Albert Cahalan, based on original code from Michael K. > > > > > Johnson. > > > > > > > > > > I packaged it for Pkgsrc but ONLY_FOR_PLATFORM= Linux-*-* because > > > > > this uses Linux include/asm/page.h. I never wasted time trying to > > > > > port to and *BSD, because I already have the tools I needed. > > > > > > > > > > Is there some reason you need procps on FreeBSD? What tool(s) do you > > > > > need? > > > > > > > > > > If you need the Linux procps, then install your Linux compat > > > > > packages. It is included. > > > > > > > > > > Jeremy C. Reed > > > > > > > > > > BSD News, BSD tutorials, BSD links > > > > > http://www.bsdnewsletter.com/ > > > > > > > > > > _______________________________________________ > > > > > freebsd-chat@freebsd.org mailing list > > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > > > > > To unsubscribe, send any mail to > > > > > "freebsd-chat-unsubscribe@freebsd.org" > > > > > > > > _______________________________________________ > > > > freebsd-chat@freebsd.org mailing list > > > > http://lists.freebsd.org/mailman/listinfo/freebsd-chat > > > > To unsubscribe, send any mail to "freebsd-chat-unsubscribe@freebsd.org"