Information and Process Management Kevin Jacobson
MDS4 Part of the Globus Toolkit Used for monitoring the status of the grid
MDS4 as a Web Service Collects data from: – Queuing Systems Torque PBS LSF – Services – Cluster Monitoring Nagios Ganglia
WebMDS Web Front-end Generates web content from MDS4’s WS Teragrid WebMDS – CURRENTLY THE SERVER IS DOWN! Another Example – Campus Grid
Food for Thought Files in Linux are represented as files Devices in Linux are represented as files The state of the system represented as files?
/proc Part of the virtual filesystem Contains information relating to the state of the system Processes, CPU, Battery, Sensors
/proc directory tree File for every PID /proc/uptime – System uptime /proc/acpi/ – Files containing fans, battery, etc..
Commands that utilize /proc lspci apm free top
lspci Reads from /proc/bus/pci Provides a list of devices on PCI bus EXAMPLE:
apm If kernel supports apm Returns status of the acpi -s – Sleep the system -S – Suspends the system
free Displays memory and swap usage on the current machine Example: $ free TotalUsedFreeSharedBuffersCached Mem:
top Realtime system statistics
Using top Use arrows to select Processes – k to Kill – r to Renice More commands – m to toggle memories – o to reorder columns – t toggle CPU and process stats
The Windows Registry A database of settings and options Information ranging from startup settings to serial keys to the user theme Consists of Hives (logical divisions) containing keys and subkeys which are organized in a directory-like structure. Within these subkeys are values
Registry Hives HKEY_CLASSES_ROOT – Information about file-associations and registered applications HKEY_CURRENT_USER – Configuration information relating to the currently logged in user HKEY_LOCAL_MACHINE – Contains service, Windows settings and driver information
Hives … HKEY_USERS – Contains the HKEY_CURRENT_USER settings for all users HKEY_CURRENT_CONFIG – Information gathered at runtime not stored on the hard drive HKEY_PERFORMANCE DATA – Hidden hive containing performance data about the system
Regedit A GUI browser for viewing and modifying the registry database Double click on a value to modify Right Click > New – Add a value in current “directory” File > Export – Backup the entire system registry
.REG file format [ \ \ ] “Value Name”= : CMD: REG \s filename.reg
In Conclusion System status needs to be monitored Various paradigms of doing so exists – Web services (MDS4) – File Systems (/proc) – Databases (Windows Registry)
References GT4 Monitoring and Discovery System: MDS4 MSDN: Registry Red Hat: The proc filesystem proc.html