home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!cs.utexas.edu!uwm.edu!uwm.edu!usenet
- From: rick@ee.uwm.edu (Rick Miller, Linux Device Registrar)
- Newsgroups: comp.os.linux
- Subject: Re: Some minor problems.
- Date: 6 Jan 1993 12:54:19 GMT
- Organization: Just me.
- Lines: 44
- Distribution: world
- Message-ID: <1iekprINN506@uwm.edu>
- References: <738.1189.uupcb@satalink.com>
- NNTP-Posting-Host: 129.89.2.33
-
- john.will@satalink.com (John Will) writes:
- >- My panic has subsided, I finally figured out what the /etc/wtmp file is.
- > Now I have a question for those folks that are using serial terminals
- > and getty, does anyone know why if I have a serial terminal configured,
- > but don't connect it, that I'd get continuous login entries into the
- > wtmp file? Overnight, the file grew to 7 megabytes in size, and the
- > system was doing nothing. If I connect a terminal, the file stops
- > growing. Is there some handshake parameters I need to set to keep
- > the terminal handler from getting confused? I've commented the serial
- [...]
-
- Your problem is probably your modem's configuration. You should have your
- modem set up such that it will *NOT* echo while in command mode. On a Hayes
- (or Hayes-compatible) modem the AT command is "E0". You *should* be able to
- put this into your modem's power-up configuration, but if all else fails you
- may be able to simply "echo" the proper setup commands to it in your /etc/rc
- file...
-
- >- Another problem, not related. I rebuilt the kernel, and found out that
- > top, free, etc. stopped working. I've been told that's because they reach
- > into kernel memory for their information, and when I rebuild, the locations
- > change. That being the case, where do I get the source for those so I
- > can make them match the kernel? I'm a bit surprised they aren't on the
- > SLS distribution, since it seems you can't rebuild without them. Am I
- > missing something really basic? Keep in mind that I'm new to Linux/Unix,
-
- Until now, there really wasn't any way to make even the source-code for the
- kernel-specific utilities portable across new kernel distributions. Some
- kernel changes actually required changes to the *source-code* of ps and the
- like to make them work with the new kernel. Now though, there is a "ps"
- (and hopefully soon "top" and others) which draw their information not from
- the kernel memory, but from the "proc" filesystem.
-
- The proc filesystem is the kernel's way of showing its internals in a way
- which other processes can understand without having to understand the kernel.
- That is, the kernel will allow you to look at its memory as if it were just
- another filesystem (albeit with funny files). This way, only the kernel
- really knows its own memory and "ps" doesn't have to. Since the format of
- the proc filesystem (one directory for each process, containing 'files'
- which specify process information) remains the same even through kernel
- releases, your proc-based "ps" won't even have to be re-compiled.
-
- Rick Miller <rick@ee.uwm.edu> | <rick@discus.mil.wi.us> Ricxjo Muelisto
- Occupation: Husband, Father, WEPCo. WAN Mgr., Discus Sys0p, and Linux fan
-