From owner-freebsd-chat@FreeBSD.ORG Sat Feb 12 06:35:07 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 7E17E16A4CE for ; Sat, 12 Feb 2005 06:35:07 +0000 (GMT) Received: from cain.gsoft.com.au (cain.gsoft.com.au [203.31.81.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5E58343D1F for ; Sat, 12 Feb 2005 06:35:04 +0000 (GMT) (envelope-from doconnor@gsoft.com.au) Received: from inchoate.gsoft.com.au (localhost [127.0.0.1]) (authenticated bits=0) by cain.gsoft.com.au (8.12.11/8.12.10) with ESMTP id j1C6Yvws053167; Sat, 12 Feb 2005 17:04:58 +1030 (CST) (envelope-from doconnor@gsoft.com.au) From: "Daniel O'Connor" To: neeraj shrestha Date: Sat, 12 Feb 2005 17:04:41 +1030 User-Agent: KMail/1.7.92 References: <200502121606.50457.doconnor@gsoft.com.au> <1108188213.32115.9.camel@neeraj> In-Reply-To: <1108188213.32115.9.camel@neeraj> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3692981.uTAJqTpfur"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200502121704.52637.doconnor@gsoft.com.au> X-Spam-Score: -4.4 () IN_REP_TO,MIME_LONG_LINE_QP,PGP_SIGNATURE_2,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_03_05,TO_BE_REMOVED_REPLY,USER_AGENT,USER_AGENT_KMAIL X-Scanned-By: MIMEDefang 2.16 (www . roaringpenguin . com / mimedefang) 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:35:07 -0000 --nextPart3692981.uTAJqTpfur Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sat, 12 Feb 2005 16:33, neeraj shrestha wrote: > $ 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. Ahh.. You could write a shellscript version of that in short order I'd imagine :) > 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 ha= s. > > > > > 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, snic= e, > > > > > > sysctl, tload, top, vmstat, w and watch. (kill is not installed; > > > > > > it is available in the sysutils/util-linux package.) This versi= on > > > > > > of procps is maintained by Albert Cahalan, based on original co= de > > > > > > from Michael K. Johnson. > > > > > > > > > > > > I packaged it for Pkgsrc but ONLY_FOR_PLATFORM=3D Linux-*-* bec= ause > > > > > > 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" =2D-=20 Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C --nextPart3692981.uTAJqTpfur Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBCDaOM5ZPcIHs/zowRAnX5AJ4xPi1M8fNaMEqEfDgp4BYBgiDewgCeOwYw ipWmbli4bg2CHCh3etXRwCk= =ZcRh -----END PGP SIGNATURE----- --nextPart3692981.uTAJqTpfur--