Cramsession Linux Newsletter

Cramsession.com Linux News Archive

Please note that I've stopped writing the Linux News as of January 30, 2003, as Cramsession has cancelled most of their newsletters. You can send any questions or comments about this content to me (sean at ertw . com)
People have been asking for a downloadable version of the archives. [My mbox (one big file, 1.4MB)] [Individual files, text, tarball] [Individual files, html, tarball]
If you're looking for more Linux content, you might like my blog.
Jan 30, 2003
  Linux News - Issue #117
Jan 23, 2003
  Linux News - Issue #116
Jan 16, 2003
  Linux News - Issue #115
Jan 9, 2003
  Linux News - Issue #114
Jan 2, 2003
  Linux News - Issue #113
Dec 19, 2002
  Linux News - Issue #112
Dec 12, 2002
  Linux News - Issue #111
Dec 5, 2002
  Linux News - Issue #110
Nov 28, 2002
  Linux News - Issue #109
Nov 21, 2002
  Linux News - Issue #108
Nov 14, 2002
  Linux News - Issue #107
Nov 7, 2002
  Linux News - Issue #106
Oct 31, 2002
  Linux News - Issue #105
Oct 24, 2002
  Linux News - Issue #104
Oct 17, 2002
  Linux News - Issue #103
Oct 10, 2002
  Linux News - Issue #102
Oct 3, 2002
  Linux News - Issue #101
Sep 26, 2002
  Linux News - Issue #100
Sep 19, 2002
  Linux News - Issue #99
Sep 12, 2002
  Linux News - Issue #98
Sep 5, 2002
  Linux News - Issue #97
Aug 29, 2002
  Linux News - Issue #96
Aug 22, 2002
  Linux News - Issue #95
Aug 15, 2002
  Linux News - Issue #94
Aug 8, 2002
  Linux News - Issue #93
Aug 1, 2002
  Linux News - Issue #92
Jul 25, 2002
  Linux News - Issue #91
Jul 18, 2002
  Linux News - Issue #90
Jul 11, 2002
  Linux News - Issue #89
Jul 4, 2002
  Linux News - Issue #88
Jun 27, 2002
  Linux News - Issue #87
Jun 20, 2002
  Linux News - Issue #86
Jun 13, 2002
  Linux News - Issue #85
Jun 6, 2002
  Linux News - Issue #84
May 30, 2002
  Linux News - May 30, 2002
May 23, 2002
  Pearl In The Shell
May 16, 2002
  Linux Filesystems - Part Two
May 9, 2002
  Inside The Linux Filesystem
May 2, 2002
  CD Burning Under Linux
Apr 25, 2002
  Star Office Vs. Open Office
Apr 18, 2002
  Surfing With Mozilla
Apr 11, 2002
  "We Don't Support Linux..."
Apr 4, 2002
  Visit The UNIX Library
Mar 28, 2002
  Linux and World Domination
Mar 21, 2002
  Working With Keyservers
Mar 14, 2002
  A Look At Public Key Cryptography
Mar 7, 2002
  Monitoring Systems With "vmstat"
Feb 28, 2002
  Star Office 6 Not to be Free for Linux?
Feb 21, 2002
  How Can Programming Benefit a Systems Administrator?
Feb 14, 2002
  Alias: It's Not Just a TV Show
Feb 8, 2002
  Using The diff and patch Utilities
Jan 31, 2002
  How To Detect Cracks
Jan 24, 2002
  Using Razor to Shave Away Spam
Jan 17, 2002
  Stomping Spam
Jan 10, 2002
  Sair Linux Courseware Review
Jan 3, 2002
  2002: The Year of the Penguin!
Dec 27, 2001
  UNIX Apps on a Windows Box?
Dec 20, 2001
  Directory Assistance
Dec 13, 2001
  How Do You Kill Zombies?
Dec 6, 2001
  Using Hard and Soft Symlinks
Nov 29, 2001
  Change Terminal-Based Apps Into Network Apps
Nov 22, 2001
  Adventures In Booting
Nov 15, 2001
  Getting To Know PAM
Nov 8, 2001
  Know Your Enemy
Nov 1, 2001
  Do Mulder and Scully Use X-Windows?
Oct 25, 2001
  A Quick Look at the RHCE Certification
Oct 18, 2001
  What's Up With Linux Certification?
Oct 11, 2001
  Express Yourself Regularly
Oct 4, 2001
  Advice For Lazy Penguins?
Sep 27, 2001
  NVIDIA Jumps On Linux Bandwagon
Sep 20, 2001
  Understanding DNS in a Linux Environment
Sep 13, 2001
  Be Careful With Binaries
Sep 6, 2001
  Party Like It's 999,999,999
Aug 30, 2001
  Rooting Out Memory Hogs
Aug 23, 2001
  Spin Your 'Top'
Aug 16, 2001
  Keeping Time With NTP
Aug 9, 2001
  Supporting True Type Fonts
Aug 2, 2001
  Getting Perl To Fetch
Jul 26, 2001
  Who's The Man?!
Jul 19, 2001
  Adobe Cracks The DMCA Whip
Jul 12, 2001
  Due Processes
Jul 5, 2001
  Going Adobe Free
Jun 28, 2001
  Don't Send Mixed SIgnals
Jun 21, 2001
  Everything is a File. (almost)
Jun 14, 2001
  Know Your Partitions
Jun 7, 2001
  Where it's "at"!
May 31, 2001
  A Sneak Peek at RedHat 7.1
May 24, 2001
  Scheduling Tasks With cron - Part 2
May 17, 2001
  Scheduling Tasks With cron
May 10, 2001
  Open Source - Seeing Through The FUD
May 3, 2001
  A Look At Ximian's New Release
Apr 26, 2001
  Rev Up Your X-Windows Session
Apr 19, 2001
  Wrangling With GNU Cash
Apr 12, 2001
  Tame the syslogd Daemon
Apr 5, 2001
  Test Your Admin Skills At Honeynet
Mar 29, 2001
  Software RAID on Your Linux Box
Mar 22, 2001
  Prevent Disasters: Back It Up
Mar 15, 2001
  Notes From Underground!
Mar 8, 2001
  SuSE 7.1 - A First Look
Mar 1, 2001
  Certification Boot Camp
Feb 22, 2001
  Understanding Runlevels
Feb 15, 2001
  What Are The Advantages of Joining a LUG?
Feb 8, 2001
  Diving For Perls
Feb 1, 2001
  How To Secure Your Linux Installation
Jan 25, 2001
  Linux Problem Solving
Jan 18, 2001
  Stand up and Be Counted!
Jan 11, 2001
  2.4.0 is Here!
Jan 4, 2001
  When will Mom use Linux?
Dec 28, 2000
  The Year in Review
Dec 21, 2000
  The SourceForge Solution
Dec 15, 2000
  How to Compile and Install the New Kernel
Dec 7, 2000
  Put Your E-mail Into A Blackberry Basket
Nov 30, 2000
  Using Perl With Linux
Nov 23, 2000
  Working With MP3's Under Linux
Nov 16, 2000
  Apache 2.0 alpha 4
Nov 9, 2000
  Dell loves Linux!
Nov 2, 2000
  What's Up With RedHat 7?
===========================================================
                        LINUX NEWS
            RESOURCES & LINKS FROM BRAINBUZZ.COM
                Thursday, March 8, 2001
===========================================================

-----------------
TABLE OF CONTENTS
-----------------

1) Sean's Notes

2) Linux News

	SuSE 7.1 - A First Look
	The Little Engine that Could
	Get 'yer BOFH Gear Here
	IBM Puts on the Tux

3) Linux Resources

	Security Features in 2.4
	More Uses of TCP Wrappers
	The e-smith Server and Gateway: A Perl Study
	BOFH Archive
	UNIX System Administration Handbook

4) App o' the week


~~~~~~~~~~~~~~~~~~~~~~ ADVERTISEMENT ~~~~~~~~~~~~~~~~~~~~~~~
                         AUDIOWHIZ

NT Madness 6 CD Set Do you need the ultimate study tool?
Buy this 6 cassette/cd bundle Tutorial for your NT Server
4.0 certification. You will save time and learn faster.

Click here:
http://ad.brainbuzz.com/?RC06&AI64

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

For information on how to advertise in this newsletter
please contact mailto:adsales@BrainBuzz.com or visit
http://cramsession.brainbuzz.com/marketing/default.asp

===========================================================
1) Sean's Notes
===========================================================
In operating systems like Windows NT, a lot of the action is
hidden from you.  Sure, you can get a list of processes from
the Task Manager, even its memory usage and CPU time, but if
you want some real details, you have to grab some extra
utilities from places like sysinternals.com.

UNIX, on the other hand, will give you all the information
you need and more.

A process is really an instance of a program.  The editor I
am typing this in is a process.  It was started from the
shell, which is another process.  That shell was started...
you get the point.  Each process has a name, a priority, a
number, and a whole whack of other attributes.

A process is identified by its process ID, or PID for short.
Typing "ps -ef" will show you all the running processes.
Here is one such entry from the list

UID        PID  PPID  C STIME TTY          TIME CMD
root       874   805  0 Mar05 pts/1    00:00:00 ssh poochie

Starting from the left, you can see the owner of the process,
namely root.  The process id is next, which is 874.  What's
PPID though?  That's the Parent Process ID, ie. the process
that invoked this one.  So what would that be?

% ps -ef | grep 805
sean       805   794  0 Mar05 pts/1    00:00:00 -csh

Hmm... owned by sean, with process id 805 and parent 794.

sean       794     1  0 Mar05 ?      00:00:04 gnome-terminal

And finally parent is process #1.  Discussion of process 1
(init) will have to wait for another day, so let's get back
to the other fields.  'C' is the CPU usage value used for
scheduling.

TTY is the terminal (a throwback to "Teletype").  Users
interact with terminal devices.  If you look at the process
tree above, you'll see that gnome-terminal has no TTY, but
its child, -csh, does.  Following that logic, you can see
that I typed in "ssh poochie" to my shell in my gnome-
terminal, to get process 874.

The second from last field is the CPU time the process has
used.  Remember that we're in a multi-tasking operating
system, so even though everything looks like it has the full
attention of the CPU, it's really taking turns with all the
other processes.  gnome-terminal has taken up 4 seconds of
CPU time, and the other two haven't yet taken up a second.

Of course, the last field is the name of the command.  This
is changeable, so you can't rely on it 100%.

So, from the "ps -ef" listing, you can figure out a few
things.  Processes that have a TTY associated with them are
talking via the keyboard with the user.  If it is listed as
'?', then it's more than likely running in the background.
Processes with a high CPU time may have busy loops, or other
hangs.  Older versions of syslogd would chew CPU, and thus,
show up very clearly in a ps listing.

The date (STIME) of a process is also helpful.  Daemons that
start up per connection (anything run out of inetd, sendmail,
httpd) that have children with old STIMES may be stuck.  It's
unlikely that someone has been FTPing to your site for the
past week!

My apologies to the readers that joined between February 22
and March 1. I had written a two part article last week, but
the second part wouldn't have made much sense without the
first.  I've archived it for you here:

http://www.ertw.com/~sean/newsletter/February+22%2C+2001

Thanks to the reader that pointed this out!  As always, feel
free to email me with your comments, or post questions on
the various boards on Brainbuzz.com.

Long live the Penguin,

Sean
mailto:swalberg@brainbuzz.com

Visit The Linux Newsletter Board
http://boards.brainbuzz.com/boards/vbt.asp?b–2

===========================================================
2) Linux News
===========================================================

-----------------------
SuSE 7.1 - A First Look
-----------------------
SuSE, a distribution from Germany, has become popular with a
lot of people. This review shows what's new and great in the
latest version. It's one of the first released distributions
with the 2.4 kernel, BTW.

http://www.linux.com/newsitem.phtml?sid=1&aid830

----------------------------
The Little Engine that Could
----------------------------
With the decline in prices and the insane increase in speed,
PCs have taken the digital effects world by storm. Come see
how Linux is making inroads into this industry because of its
ease of administration and increasingly available software.

http://www.millimeter.com/2001/02_feb/features/linux/engine.htm

-----------------------
Get 'yer BOFH Gear Here
-----------------------
Show your users that you won't take any flak from them by
wearing some BOFH gear. Don't know what BOFH is? Check out
the "BOFH Archive" below. The phrase "What's your username?"
will never mean the same thing again!

http://www.theregister.co.uk/content/31/17033.html

-------------------
IBM Puts on the Tux
-------------------
I'm looking forward to seeing this one on TV... IBM is
going for a 60's style psychedelic ad featuring the Linux
penguin. The rest of this article shows some impressive
numbers-- 144% growth in IBM Linux server sales in Asia
during 2000, and a global growth of 24%, which beat
Microsoft's 20%.

http://www.wired.com/news/business/0,1367,42156,00.html

===========================================================
3) Linux Resources
===========================================================

------------------------
Security Features in 2.4
------------------------
Linuxsecurity.com has come out with another great article on
new features in Linux 2.4. This time, Dave Wreski talks about
"capabilities", which are fine-grained permissions designed
to reduce reliance on the root account. The second half of
this article is about the cryptographic features available
to plug in to the kernel, such as encrypted file systems.

http://www.linuxsecurity.com/feature_stories/kernel-24-security.htm
l

-------------------------
More Uses of TCP Wrappers
-------------------------
TCP wrappers are great for controlling who can and can't
connect to your TCP-based services. Access control is just
the beginning, though. This article takes an in-depth look
at how the wrappers work, and explores a couple of extra
goodies that you may not know the wrappers have in them.

http://www.freeos.com/articles/3729/

--------------------------------------------
The e-smith Server and Gateway: A Perl Study
--------------------------------------------
e-smith is a pretty cool distribution of Linux, which builds
appliance-like boxes with a great web interface. The web
interface itself is a great example of what Perl can do,
and this article gets behind the scenes with some great
design tips.

http://www.perl.com/pub/2001/02/esmith.html?wwwrrr_20010220.txt

------------
BOFH Archive
------------
Maybe you're wondering what the BOFH is. Maybe you've heard
about it but haven't read the stories. Maybe you're a BOFH
looking for some pointers. Here is a site with links to all
the BOFH info anyone could ever want.

http://members.iinet.net.au/~bofh/

-----------------------------------
UNIX System Administration Handbook
-----------------------------------
If you manage more than a few UNIX machines, with several
users, then you want this book. It's targeted towards
Solaris, Linux, FreeBSD, and HP/UX, and contains essential
information on keeping everything running in top shape. An
all-in-one reference for the system administrator, you'll
be keeping this one close at hand to help solve your UNIX
problems.

http://itresources.brainbuzz.com/tutorials/tutorial.asp?t=S1TU1195

===========================================================
4) App o' the week
===========================================================
The Apache Toolbox takes care of downloading and compiling
various modules into your web server. Download this 46K
script, navigate the menus, and tell it to start compiling.
Presto! It will download the modules you asked for, and build
them into an Apache source tree. A simple "make install" in
that directory later, and you've got a new web server.

http://www.apachetoolbox.com/

===========================================================
(C) 2001 BrainBuzz.com. All Rights Reserved.
===========================================================

_______________________________________________________

         This message is from BrainBuzz.com.

You are currently subscribed to the
   Hottest Linux News and Resources
   as: sean@ertw.com

To un-subscribe from this newsletter by e-mail:
   send a blank email message to:
   mailto:leave-linuxnews-3825955Y@list.cramsession.com

-------------------------------------------------------

To Subscribe to this newsletter by e-mail:
   send a blank email message to:
   mailto:join-linuxnews@list.brainbuzz.com
_______________________________________________________