The first version (0.1.0) of ruby_libgtop is now available at www.colinsteele.org. Ruby_libgtop is a Ruby extension enabling access to the libgtop API from Ruby. You can use it to get the following sorts of data about a system and its processes: colin@ska$ ./test.rb CPU: 2070967 seconds total, 18.55% user, 12.73% nice, 10.48% sys, 58.25% idle Uptime: 23 days uptime, 13 days idle Load Average: 0.13, 0.14, 0.11 Memory: 127704k total - 125104k used = 2600k free Memory: 31804k shared, 4852k buff, 29592k cached, 88448k user, 0k locked Swap: 72252k total - 53248k used = 19004k free Paging: In 75854, Out 63350 68 processes: 65 sleeping, 1 running, 1 stopped, 1 zombie PPID PID STAT SIZE VSIZE RSS SHARE NAME/ARGS 0 1 S 120k 1324k 76k 60k init 1 2 S 0k 0k 0k 0k kflushd 1 3 S 0k 0k 0k 0k kupdate 1 4 S 0k 0k 0k 0k kpiod 1 5 S 0k 0k 0k 0k kswapd 1 6 S 0k 0k 0k 0k mdrecoveryd Please use it in good health. Let me know about problems/issues you run into. NB: Limitations NONE of the SMP-oriented fields are implemented, yet. NONE of the following APIs are implemented: * Network information * Network load * PPP statistics * Mount list * Filesystem usage -- Colin Steele colin / webg2.com / www.colinsteele.org / www.rubycookbook.org From "The Hacker's Dictionary": open switch: [IBM, prob. from railroading] n. An unresolved question, issue, or problem.