Download presentation
Presentation is loading. Please wait.
Published byHector Blankenship Modified over 9 years ago
1
Information and Process Management Kevin Jacobson
2
MDS4 Part of the Globus Toolkit Used for monitoring the status of the grid
3
MDS4 as a Web Service Collects data from: – Queuing Systems Torque PBS LSF – Services – Cluster Monitoring Nagios Ganglia
4
WebMDS Web Front-end Generates web content from MDS4’s WS Teragrid WebMDS – CURRENTLY THE SERVER IS DOWN! Another Example – Campus Grid http://iwrcggt4.fzk.de:8080/webmds/
5
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?
6
/proc Part of the virtual filesystem Contains information relating to the state of the system Processes, CPU, Battery, Sensors
7
/proc directory tree File for every PID /proc/uptime – System uptime /proc/acpi/ – Files containing fans, battery, etc..
8
Commands that utilize /proc lspci apm free top
9
lspci Reads from /proc/bus/pci Provides a list of devices on PCI bus EXAMPLE:
10
apm If kernel supports apm Returns status of the acpi -s – Sleep the system -S – Suspends the system
11
free Displays memory and swap usage on the current machine Example: $ free TotalUsedFreeSharedBuffersCached Mem:304465229683567809603836281819560
12
top Realtime system statistics
13
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
14
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
15
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
16
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
17
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
18
http://grid.rit.edu18
19
.REG file format [ \ \ ] “Value Name”= : CMD: REG \s filename.reg
20
In Conclusion System status needs to be monitored Various paradigms of doing so exists – Web services (MDS4) – File Systems (/proc) – Databases (Windows Registry)
21
References GT4 Monitoring and Discovery System: MDS4 http://www.globus.org/alliance/events/sc06/MDS4.pdf MSDN: Registry http://msdn.microsoft.com/en-us/library/ms724871(VS.85).aspx Red Hat: The proc filesystem http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/ref-guide/ch- proc.html
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.