Monitoring

From COMP15212 Wiki
Revision as of 12:46, 26 July 2019 by gravatar Yuron [userbureaucratinterface-adminsysopPHRhYmxlIGNsYXNzPSJ0d3BvcHVwIj48dHI+PHRkIGNsYXNzPSJ0d3BvcHVwLWVudHJ5dGl0bGUiPkdyb3Vwczo8L3RkPjx0ZD51c2VyPGJyIC8+YnVyZWF1Y3JhdDxiciAvPmludGVyZmFjZS1hZG1pbjxiciAvPnN5c29wPGJyIC8+PC90ZD48L3RyPjwvdGFibGU+] (talk | contribs) (1 revision imported)
Depends on Resources

Monitor” is used for numerous things in computing. This article gives a brief outline of the sort of data an operating system might record and hints at some tools which can be useful in seeing what is going on; this is probably called a “system monitor”

System monitor

The example above shows a graphical trace of some of the more significant system information over time. The useful activity of each of the (in this case) four processor ‘cores’ is shown, as is the amount of physical RAM and swap space and the communications activity.

Such graphical tools are useful at giving an overview: there are other tools which give more specific information. Here are some typical Unix utilities:

  • top and htop – list processes in order of how much CPU time each has used recently. (Try these on a server too.)
  • pstree – show the relationship of processes
  • vmstat – virtual memory statistics
  • iostat – CPU/IO statistics
  • lsof – list open files; you may want to filter this a bit!

There is also lots of system information – disguised as files – in the /proc/... subtree.

Here are some other suggestions for tools:



Articles on User
"Everything is a File" • Application Binary Interface (ABI) • Arrays • Boot • Buffer Overflow • Containers • Daemons • Disk Partition • Dynamic Memory Allocation • Emulator traps • Environment Variables • Errors • Exceptions • File Attributes • File Locking • File Permissions • Introduction to Operating Systems • Journalling File System • Links • Locks • Man(ual pages in Unix) • Memory Mapped Files • Monitoring • Network File System (NFS) • PATH • Pipes • Pointers • Relocatable Code • Reset • SETUID • Shell • Sockets • Spooling and Buffering • Streams • Structures • Superuser • System Calls • Unix Signals • User • Using Peripherals