System Monitoring : ps

Review Chapter 3, Linux Files and Processes, in Linux System Administration ps The ps command provides a list of current processes. A process is not a thread Processes run until finished Processes fork: parent and child processes PID PPID Note how the output of ps lets you trace from parent to child. The output of …

Managing Shared Libraries

In Windows we’re familiar with .dll files, Dynamically Linked Libraries. In Unix, these are generally known as Shared Objects, or .so files. For the most part, these contain functions used in common by many applications. Some applications are statically linked. This means that all the libraries used by an app are compiled right into the …

Logs & Logging

Log Files Where are your log files? By strict Unix/Posix standards, log files should be in /var/log/. Sometimes, as with some Apache installations, logs are in the installation directory instead. But generally you can go to /var/log/and find a whole plethora of system logs. Some daemons have their own directories: /var/log/httpd/, /var/log/samba/, etc. Note the …

System V

Review Chapter 7, Linux Files and Processes, section: Terminating/Restarting Processes Using Scripts, and Chapter 3, Startup and Shutdown, “Initialization and Startup Scripts”, in Linux System Administration Also see Mayank Sarup’s article at FreeOS.com Runlevels 0 – Shutdown. Get here by running the command init 0. 1 – Single-user mode. init 1 2 – Multi-user, no …

Working as Root

Review Chapter 1, The Basics of System Administration, the section titled “Working on the System as Root,” pp. 14 ff., in Linux System Administration The Implications of Working As Root It’s fun to work as root on a Unix system. You have access to everything, including every command, directory, and function, as well as every …

Linux Servers

Linux III : Supporting Linux Servers UNM Continuing Education Course Instructor: Glenn Norman Text: Objectives An advanced understanding of Linux server support Familiarity with support, maintenance and deployment of Linux servers Completing preparation for the CompTIA Linux+ Certification Exam