Re: showing total/free memory

2004-01-28 Thread Matthew Hunt
On Thu, Jan 29, 2004 at 08:03:46AM +1100, Rowdy wrote: > I am setting up MRTG and at the moment I am parsing /var/run/dmesg.boot > and the output from `top -b -d 1` to get total and free memory > respectively, but I hope there is an easier way. Try "vmstat" instead. -- M

Re: 'There are suspended jobs.'

2004-01-28 Thread Matthew Hunt
On Wed, Jan 28, 2004 at 03:28:13PM -0600, W. D. wrote: > How do I find out which jobs are suspended, and how > to un-suspend them? Type "jobs". The jobs will be listed, each having a number in brackets. If you want to un-suspend number 3, say "fg %3". -- Matt

Re: Why does `df` lie about free space

2004-03-16 Thread Matthew Hunt
On Tue, Mar 16, 2004 at 02:31:11AM +0200, Kyryll A Mirnenko wrote: > So whats wrong with `df` (e.g. statfs/fstatfs)? It's not a bug, any more than it was when you asked on Friday. -- Matthew Hunt <[EMAIL PROTECTED]> * Salvage, like other forms of virtue, is http://www.

Re: Recursion with grep?

2003-11-13 Thread Matthew Hunt
ain grep *.c then is found on several files. When using "-r", the arguments to grep should be directories. It will process all of the files in the given directories, recursively. There is no provision for searching a subset of the files (i.e. "*.c). If you need to do that, use find

Re: Recursion with grep?

2003-11-13 Thread Matthew Hunt
s not mean the same thing as a regular expression as it does as a wildcard, and it could also match parts of the "ls -l" output besides the filename). -- Matthew Hunt <[EMAIL PROTECTED]> * Stay close to the Vorlon. http://www.pobox.com/~mph/ *

Re: umounting /

2003-12-11 Thread Matthew Hunt
ome (ufs, local, soft-updates) /dev/da0s1e on /usr (ufs, local, soft-updates) mfs:20 on /tmp (mfs, asynchronous, local, nosuid) procfs on /proc (procfs, local) -- Matthew Hunt <[EMAIL PROTECTED]> * Salvage, like other forms of virtue, is http://www.pobox.com/~mph/ * its own reward.

Re: Wondering about mail clients (specific features)

2002-09-26 Thread Matthew Hunt
r ~/.muttrc like this: mailboxes /var/mail/blah =donuts =wombatsex =flagellation (The names of your incoming mailboxes may differ, depending on your interests. The = sign means the folder is in your ~/Mail directory. There's probably some knob to change that, too.) -- Matthew Hunt &l

Re: Newbie - CD Burning Question

2003-09-03 Thread Matthew Hunt
. Basically, you can say: # mkisofs -o image.iso /home/www/directory # burncd -f /dev/acd0c data image.iso fixate Note that image.iso will be approximately as large as the sum of all the files are going onto the CD. -- Matthew Hunt <[EMAIL PROTECTED]> * UNIX is a

Re: Re:Re: Cat a directory

2003-09-22 Thread Matthew Hunt
uot; on Solaris 9 does exactly the same thing as on FreeBSD; shows the contents of the directory, just like you're asking it to. Just because you can't fathom a use for this behavior doesn't mean it's wrong. If you don't want to see it, don't ask "cat" to s

Re: complex crontab query

2003-09-30 Thread Matthew Hunt
month 0 3 1-7 * * [ `date +%a` = Thu ] && mycommand -- Matthew Hunt <[EMAIL PROTECTED]> * Science rules. http://www.pobox.com/~mph/ * ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/

Re: complex crontab query

2003-09-30 Thread Matthew Hunt
cause a command # to be run at 4:30 am on the 1st and 15th of each month, plus every # Friday. -- Matthew Hunt <[EMAIL PROTECTED]> * Salvage, like other forms of virtue, is http://www.pobox.com/~mph/ * its own reward. -George Reamerstaff ___

Re: PS1 command! ?

2003-02-12 Thread Matthew Hunt
king for a command called PS1. You want ${PS1} (curly braces, not parentheses). I think your mind has been tainted by Makefiles which use $(foo) for variable substitution. -- Matthew Hunt <[EMAIL PROTECTED]> * Science rules. http://www.pobox.com/~mph/ * To Unsubscribe:

Re: how to delete a file called ????

2003-02-12 Thread Matthew Hunt
umber in this case is 1238024. Then you can double-check and delete it with find: $ find . -inum 1238024 ./+ $ find . -inum 1238024 -delete (Note that find displays the name differently from ls. It looks like a bold "+" in my xterm.) -- Matthew Hunt <[EMAIL PROTECTED]> * Inertia is

Re: how to delete a file called ????

2003-02-12 Thread Matthew Hunt
uot; is the answer to "How do I delete a file called -i" not "How do I delete a file called ???". But some people seem to think they're all the same question. As I've mentioned before in this thread, it's completely possible that the file doesn't even have que

Re: OT: MUTT folders

2003-02-19 Thread Matthew Hunt
from mutt... Hit "c". Type the name of the folder. (You can say "=blah" as a shortcut for "~/Mail/blah".) -- Matthew Hunt <[EMAIL PROTECTED]> * Science rules. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Re: changing build options for ports

2002-10-31 Thread Matthew Hunt
important, say something like: make PREFIX=/opt -- Matthew Hunt <[EMAIL PROTECTED]> * Salvage, like other forms of virtue, is http://www.pobox.com/~mph/ * its own reward. -George Reamerstaff To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Re: spamassassin port ...

2002-11-14 Thread Matthew Hunt
found with "grep" or an editor in > "/usr/port/INDEX". Or, $ cd /usr/ports $ make search key=spamassassin -- Matthew Hunt <[EMAIL PROTECTED]> * Stay close to the Vorlon. http://www.pobox.com/~mph/ * To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Re: Disable PING command

2003-07-03 Thread Matthew Hunt
time=0.240 ms -- Matthew Hunt <[EMAIL PROTECTED]> * Science rules. http://www.pobox.com/~mph/ * ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Re: Disable PING command

2003-07-03 Thread Matthew Hunt
did ask to > disable it or get rid of it all together. Just shutting down the > /sbin/ping isn't enough. That's all I am saying. :) You're wrong. You would be right if we were talking about lots of other programs, but not ping. -- Matthew Hunt <[EMAI

Re: spamassassin slow to process messages

2003-07-07 Thread Matthew Hunt
MHz 486-class CPU) with no L2 cache. :-) Is the machine heavily loaded with other work? Assuming that there are no messages between the ones you posted, it doesn't look like the machine is overburdened by mail alone. -- Matthew Hunt <[EMAIL PROTECTED]> *

Re: Cannot install any port

2003-07-28 Thread Matthew Hunt
the failing "pkg_info -O whatever" command by hand made the problem visible, and I deleted the bad directory. -- Matthew Hunt <[EMAIL PROTECTED]> * Clearly there are more things in the http://www.pobox.com/~mph/ * heavens than anyone anticipated. -enp ___

Re: mac file to unix format

2003-02-26 Thread Matthew Hunt
archiver/compressor similar to zip, or tar+gzip. You'll need to extract the file(s) in the archive and see what graphics format they're really in. Take a look at /usr/ports/archivers/stuffit. I don't know if it works with all Stuffit files or not (e.g. it may be outdated). -- Matthe