;
> passthru ("tail -f $error_log");
> ?>
The following 3-line CGI works fine:
#! /bin/sh
printf "Content-type: text/plain\r\n\r\n"
tail -f /var/log/messages
If you want a PHP solution, try a php mailinglist.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubs
In the last episode (Dec 10), George Georgalis said:
> On Sun, Dec 08, 2002 at 11:45:22PM -0600, Dan Nelson wrote:
> > #! /bin/sh
> > printf "Content-type: text/plain\r\n\r\n"
> > tail -f /var/log/messages
> >
>
> Unfortunatly if you try that you
ronizing two directories, and needs to be able to
read the files on both sides for the sync algorithm to work. If you
just want to back directories up, use tar, and add the 'z' flag to
compress the tarball.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to
ems have a 4gb limit. ufs has some huge number that
you'll never hit.
www.microsoft.com/WINDOWSXP/home/using/productdoc/en/choosing_between_NTFS_FAT_and_FAT32.asp
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freeb
o fpsetmask() calls; one to mask the
condition, and one to restore the previous mask. If you want to
completely ignore floating point errors, call fpsetmask(0) at the top
of main().
I scanned the mailinglists and the thread that covers this issue most
completely is
http://www.freebsd.org/
onymous memory MAP_SHARED, fork a child to bzero it. If the child
dies, unmmap and return NULL. If the child succeeds, use the memory.
This memory won't be freeable with malloc(), though.
-Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
like Quake? How about just calling it
"games" ?
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
per re-implementing it is at http://renoir.vill.edu/~yhang .
It looks like ports/ftp/ncftp3 has all the features of bftp (scheduled
background transfers, auto-resume, multiple file xfers) except it
doens't email the user then the transfer is done.
--
Dan Nelson
[EMAIL PROTECTED]
were a lot of tools floating around.
I like one called Font Mania!; the author doesn't seem to have a web
presence, but an URL is http://jconroy.dragonfire.net/zzt/utilities/Fm.zip
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with &quo
ovided pop account. (Costs less that way, with my current
> ISP.)
If your ISP runs sendmail (possibly other MTAs), you can use the
[EMAIL PROTECTED] syntax. All mail is sent to the "user" mailbox,
but filters like procmail see the "detail" portion too, and can filter
on it.
ision 1.17
date: 1999/06/19 19:49:32; author: green; state: Exp; lines: +25 -21
Miscellaneous dd(1) changes: mainly fixing variable types (size_t,
ssize_t, off_t, int, u_int64_t, etc.). dd(1) should now work properly
with REALLY big amounts of data.
Should be a -stable candidate by now (3 months o
t;
> There is no trivial way to determine this, no.
>
The getrusage() function returns a structure with the follwing field in
it:
ru_nswapthe number of times a process was swapped out of main memory.
Would this do the trick? It only works for yourself or your child
processes th
it has a "recursive glob":
grep draw_mouse **/*.c
You could also use find | xargs:
find . -name "*.c" | xargs grep draw_mouse
Or you could use gtags/global:
gtags
global -gx "draw_mouse"
If you're really looking for the source file that defines a symbo
In the last episode (Oct 19), Wiktor said:
> Is there any way to enlarge the arp database. I've got a feeling that
> it is limited to only 10 enteries... For me it's a bit to less.
$ arp -a | wc -l
256
Maybe you only have 10 machines on your network?
--
Dan Nelso
over the other, why does one simply not
> include the other. In other words, why two _exactly_ the same files?
Actually on my system it's a symlink. My guess is that some committer
was sick of patching every Linux app from to
.
--
Dan Nelson
[EMAIL PROTECTED]
To
e 3of9 font and it scanned them in just
fine.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
>
> I am looking for a
> #if defined (BSD)
> or #ifdef BSD
Do you know that the code you will be putting inside this #ifdef is
BSD-only code (and won't be used by OSF/1, HP-UX, Solaris, etc), or
should you rather be using autoconf and checking for specific functions
(setproctitle()
ough, so you'll
have to write your own low-level memory copying operations if you want
to access other segments.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
140922 614687%/io3
/dev/da1s1e 4399732111 836679%/io4
procfs 000 100%/proc
( / is 7.8 gig, /io3 is 51 gig )
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PR
. This avoids
opening and reading each queue file when preparing to run the queue".
I don't know if any of them really help, but it's worth looking at.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
file in
question, then print the last 10 lines from that.
This bug has been reported as
http://www.freebsd.org/cgi/query-pr.cgi?pr=14786
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ed filesystems with no problems. Gergely: could you
rebuild your kernel with debugging, create a kernel crashdump, and post
a stack traceback of the panic? Instructions are at
http://www.freebsd.org/handbook/kerneldebug.html .
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
local/bin/zsh
var=MixedCase
lvar=${var:l}
echo $lvar
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ons (with a lot more
traffic than you're likely to see). I forget whether it was running
2.2.7 or 3.0, but it was definitely FreeBSD, running a standard ircd.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
oo late. Moving the libs to the end of the commandline lets them
resolve the "ldap_init" symbol. This is why you always see libraries
at the *end* of commandlines :)
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
there is nothing above -O3 (If you see someone
using anything higher, you can be sure they're using pgcc). The -Os
flag automatically sets -O2.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
fer to trap by default. The very few programs that require IEEE
conformance can call fpsetmask() themselves.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
to write a "keyboardd" that resets the mode;
your program would (say) flock /dev/console and go into raw mode.
keyboardd would check every 10 seconds or so to see if the keyboard
is in raw mode. If it is, it does a flock on /dev/console (whick
will block until your program
represent the specified calendar time, but
with their values forced to their normal ranges.
Nov 31 cannot be represented, but it gets normalized to Dec 1. The
only non-representable dates are those that cannot be stored in a
time_t.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubs
CE SIZERES STATETIME WCPUCPU COMMAND
> 25040 root 28 0 844K 1120K RUN 0:00 1.89% 0.34% top
> 24823 freddy2 0 4180K 2964K select 0:00 0.23% 0.23% pine4.21
> 24919 byman 3 0 796K 1040K ttyin0:00 0.04% 0.04% tcsh
> 24537 inch_hom 2 0
In the last episode (Jan 18), spork said:
>
> On Tue, 18 Jan 2000, Dan Nelson wrote:
> > In the last episode (Jan 18), spork said:
>
> > I'm not sure what the problem is. You're 97% idle. Maybe the hosted
> > web sites on this machine are slightly more
In the last episode (Jan 18), spork said:
> On Tue, 18 Jan 2000, Dan Nelson wrote:
> > CTRL-ALT-ESC, and at the prompt type in 'panic'. You'll need DDB
> > compiled into the kernel, and crashdumps enabled.
>
> By now, you should know my next question...
In the last episode (Jan 19), Charles Sprickman said:
> On Tue, 18 Jan 2000, Dan Nelson wrote:
> > The handbook instructions are for kernel-generated panics; for a
> > manual panic like yours, the stack is unimportant. The easiest way
> > to see which processes are
zz-looping on a timer variable, there's not much you
can do about it under Unix. And I'll not even mention what happens to
this when you start swapping.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
obably uses a proprietary protocol anyway.
You might want to take a look at xosview, xperfmon3, xsysinfo, or
xsysstats in the ports tree.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
"man mtio" for the C tape
interface, and "man ch" for the C autoloader interface.
> cat /dev/rsa0
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
irror site, and ran out of mbufs a couple times because I had
a lot of backed-up FTP connections over a T1 link.
Easiest way to determine what you need is to just let the system run
for a while, and then rebuild the kernel with your NMBCLUSTERS set at
your peak value + 50% .
--
Dan Nelso
pacity
after only 9 minutes :) Although if you are already at your peak load
for the day, you might be okay.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ew connections that take a lot of CPU each. I'd say
that most database-backended servers have a similar problem, and do
have per-IP query limits or some other form of restrictions. The best
(worst?) example of this I can think of is the all-too-common IIS
"HTTP/1.0 Server Too Busy"
l to
large volumes. We've got 2TB worth of storage on a pair of Sparcs, and
we probably could have created two 1TB filesystems. We went with 200gb
and 100gb volumes instead, for ease of backup.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
wi
0 pps -> 20 pps -.
)
20 pps<- 20 pps <- 20 pps <-'
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
As for less,
you can contact the author and see if he can fix it; it's not a stock
FreeBSD program.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
a datasize limit in /etc/login.conf .
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
aris box and creating a large file, I see commits
too (a 64K commit every 128K or so on my system). Mounting another
FreeBSD box, I see absolutely no commits at all.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hacker
erical analysis programs and a divide by zero is a coding error.
I'd rather have my program die on an unexpected divide by zero than
continue with invalid data.
Why should we treat (1.0/0.0) any differently from (1/0)?
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
;s faster with tagged queueing,
update PR kern/10398.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ping on underflow :)
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
pe)?
Aha. Yes, it _does_ do FIFO, but if you look at the source, the queue
sorting routine simply sorts on stat(mtime) of the queue file, so jobs
submitted in the same second will sort randomly. A quick fix would be
to sleep for 1 second between "lpr" calls.
--
Dan Nelson
In the last episode (May 03), Chris Dillon said:
> On Tue, 2 May 2000, Dan Nelson wrote:
> > Aha. Yes, it _does_ do FIFO, but if you look at the source, the
> > queue sorting routine simply sorts on stat(mtime) of the queue
> > file, so jobs submitted in the same second w
solution would probably be to cvsup the
gnats collection (130 MB though).
A quick hack to get a single patch downloaded cleanly would be to load
lynx up on the page, and P)rint it to a local file. Then patch -l
should work.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
quot;tcpdump -n", I drop from 1-10% of the packets. If I
use "tcpdump -n -w logfile.txt", I drop no packets.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
modify a structure, so you need to print it before and after.
I had patterened my code after a free version of truss for Digital
Unix.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ion to exist as well, so I ended up making svr4.ko depend
on ibcs2.ko. I'm currently stuck trying to get getdents() and fstat()
work.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ll (int fd, long offset, int whence). UW7
apparently has two additional syscalls: lseek32 and lseek64, but I
don't know what numbers they are; I don't have UW7.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
on what you pass into it. It's hard because SCO doesn't
document any of this. You have to root through headers trying to
figure out what structures are used when.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
ort
powering off PCI slots or re-probing the PCI bus after bootup, both of
which are required for hot-plug. I don't know how hard it would be to
add, either. You'll probably have to ask -hackers about that (cc and
reply-to reset there).
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
In the last episode (Jun 08), Mark Newton said:
> Ok -- I envisaged that there'd be a difficulty with different SysV
> vendors who used different semantics for the same syscalls, or
> different syscall numbering schemes. "It could happen!" (and, as we
> can see, it probably has).
Possibly.. But
f may not
be SVR4-compliant? And this doesn't address any libraries other than
libc, I suppose?
Sounds like trying to emulate "SVR4" in itself isn't sufficient. We
can still call the kld svr4.ko, but it's really doing SCO/SolarisX86
syscall emulation.
--
Dan
ion
Primary Mirror Directory simtelnet/msdos/microsft/
FilenameType Length DateDescription
===
pd0646.zip B21113 921209 Updated CHKDSK.EXE & UNDELETE.EXE for DOS 5.0
$
Try one of those, from your favorit
ked printers at work:
Jun 9 10:34:46 hp8100mp1 printer: paper jam
Jun 9 10:35:12 hp8100mp1 printer: error cleared
Jun 13 08:14:43 hp4000sa printer: paper out
Jun 13 08:14:43 hp4000sa printer: error cleared
so, they are already tagged.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubs
of the ones i previously
> mentioned.
That documentation is misleading, then. The hostname is definitely not
looked at. See syslogd.c, the logmsg() function.
--
Dan Nelson
[EMAIL PROTECTED]
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message
401 - 461 of 461 matches
Mail list logo