ruby-libgtop2 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. data/CHANGELOG.txt +30 -0
  2. data/History.txt +6 -0
  3. data/INSTALL.txt +19 -0
  4. data/Manifest.txt +53 -0
  5. data/README.txt +21 -0
  6. data/Rakefile +59 -0
  7. data/TODO +4 -0
  8. data/TUTORIAL.txt +28 -0
  9. data/examples/README +1 -0
  10. data/examples/first.rb +220 -0
  11. data/examples/mountlist.rb +30 -0
  12. data/examples/netload.rb +50 -0
  13. data/examples/procmap.rb +41 -0
  14. data/examples/second.rb +207 -0
  15. data/examples/smp.rb +76 -0
  16. data/examples/sysdeps.rb +86 -0
  17. data/ext/libgtop/MANIFEST +30 -0
  18. data/ext/libgtop/Makefile +149 -0
  19. data/ext/libgtop/extconf.rb +9 -0
  20. data/ext/libgtop/mkmf.log +27 -0
  21. data/ext/libgtop/rb_glibtop.c +61 -0
  22. data/ext/libgtop/rb_glibtop.h +15 -0
  23. data/ext/libgtop/rb_glibtop_cpu.c +69 -0
  24. data/ext/libgtop/rb_glibtop_fsusage.c +43 -0
  25. data/ext/libgtop/rb_glibtop_init.c +25 -0
  26. data/ext/libgtop/rb_glibtop_loadavg.c +42 -0
  27. data/ext/libgtop/rb_glibtop_mem.c +39 -0
  28. data/ext/libgtop/rb_glibtop_mountlist.c +53 -0
  29. data/ext/libgtop/rb_glibtop_msg_limits.c +37 -0
  30. data/ext/libgtop/rb_glibtop_netlist.c +36 -0
  31. data/ext/libgtop/rb_glibtop_netload.c +82 -0
  32. data/ext/libgtop/rb_glibtop_ppp.c +39 -0
  33. data/ext/libgtop/rb_glibtop_proc_args.c +39 -0
  34. data/ext/libgtop/rb_glibtop_proc_kernel.c +50 -0
  35. data/ext/libgtop/rb_glibtop_proc_map.c +69 -0
  36. data/ext/libgtop/rb_glibtop_proc_mem.c +37 -0
  37. data/ext/libgtop/rb_glibtop_proc_open_files.c +65 -0
  38. data/ext/libgtop/rb_glibtop_proc_segment.c +39 -0
  39. data/ext/libgtop/rb_glibtop_proc_signal.c +48 -0
  40. data/ext/libgtop/rb_glibtop_proc_state.c +46 -0
  41. data/ext/libgtop/rb_glibtop_proc_time.c +54 -0
  42. data/ext/libgtop/rb_glibtop_proc_uid.c +58 -0
  43. data/ext/libgtop/rb_glibtop_proclist.c +56 -0
  44. data/ext/libgtop/rb_glibtop_sem_limits.c +40 -0
  45. data/ext/libgtop/rb_glibtop_shm_limits.c +35 -0
  46. data/ext/libgtop/rb_glibtop_swap.c +36 -0
  47. data/ext/libgtop/rb_glibtop_sysdeps.c +78 -0
  48. data/ext/libgtop/rb_glibtop_uptime.c +36 -0
  49. data/lib/libgtop.rb +3 -0
  50. data/lib/libgtop/version.rb +9 -0
  51. data/setup.rb +1585 -0
  52. data/test/ruby-libgtop2_test.rb +11 -0
  53. data/test/test_helper.rb +4 -0
  54. metadata +98 -0
@@ -0,0 +1,11 @@
1
+ require File.dirname(__FILE__) + '/test_helper.rb'
2
+
3
+ class LibGTopTest < Test::Unit::TestCase
4
+
5
+ def setup
6
+ end
7
+
8
+ def test_truth
9
+ assert true
10
+ end
11
+ end
@@ -0,0 +1,4 @@
1
+ $:.unshift(File.join(File.dirname(__FILE__), '..', 'ext', 'libgtop'))
2
+
3
+ require 'test/unit'
4
+ require File.dirname(__FILE__) + '/../lib/libgtop'
metadata ADDED
@@ -0,0 +1,98 @@
1
+ --- !ruby/object:Gem::Specification
2
+ rubygems_version: 0.8.11
3
+ specification_version: 1
4
+ name: ruby-libgtop2
5
+ version: !ruby/object:Gem::Version
6
+ version: 0.1.0
7
+ date: 2007-04-19 00:00:00 +09:00
8
+ summary: Ruby bindings for GNOME libgtop version2.x.
9
+ require_paths:
10
+ - lib
11
+ - ext
12
+ email: itacchi@gmail.com
13
+ homepage: http://ruby-libgtop2.rubyforge.org
14
+ rubyforge_project: ruby-libgtop2
15
+ description: Ruby bindings for GNOME libgtop version2.x.
16
+ autorequire:
17
+ default_executable:
18
+ bindir: bin
19
+ has_rdoc: true
20
+ required_ruby_version: !ruby/object:Gem::Version::Requirement
21
+ requirements:
22
+ - - ">"
23
+ - !ruby/object:Gem::Version
24
+ version: 0.0.0
25
+ version:
26
+ platform: ruby
27
+ signing_key:
28
+ cert_chain:
29
+ authors:
30
+ - date
31
+ files:
32
+ - CHANGELOG.txt
33
+ - History.txt
34
+ - INSTALL.txt
35
+ - Manifest.txt
36
+ - README.txt
37
+ - Rakefile
38
+ - TODO
39
+ - TUTORIAL.txt
40
+ - examples/README
41
+ - examples/first.rb
42
+ - examples/mountlist.rb
43
+ - examples/netload.rb
44
+ - examples/procmap.rb
45
+ - examples/second.rb
46
+ - examples/smp.rb
47
+ - examples/sysdeps.rb
48
+ - ext/libgtop/MANIFEST
49
+ - ext/libgtop/Makefile
50
+ - ext/libgtop/extconf.rb
51
+ - ext/libgtop/mkmf.log
52
+ - ext/libgtop/rb_glibtop.c
53
+ - ext/libgtop/rb_glibtop.h
54
+ - ext/libgtop/rb_glibtop_cpu.c
55
+ - ext/libgtop/rb_glibtop_fsusage.c
56
+ - ext/libgtop/rb_glibtop_init.c
57
+ - ext/libgtop/rb_glibtop_loadavg.c
58
+ - ext/libgtop/rb_glibtop_mem.c
59
+ - ext/libgtop/rb_glibtop_mountlist.c
60
+ - ext/libgtop/rb_glibtop_msg_limits.c
61
+ - ext/libgtop/rb_glibtop_netlist.c
62
+ - ext/libgtop/rb_glibtop_netload.c
63
+ - ext/libgtop/rb_glibtop_ppp.c
64
+ - ext/libgtop/rb_glibtop_proc_args.c
65
+ - ext/libgtop/rb_glibtop_proc_kernel.c
66
+ - ext/libgtop/rb_glibtop_proc_map.c
67
+ - ext/libgtop/rb_glibtop_proc_mem.c
68
+ - ext/libgtop/rb_glibtop_proc_open_files.c
69
+ - ext/libgtop/rb_glibtop_proc_segment.c
70
+ - ext/libgtop/rb_glibtop_proc_signal.c
71
+ - ext/libgtop/rb_glibtop_proc_state.c
72
+ - ext/libgtop/rb_glibtop_proc_time.c
73
+ - ext/libgtop/rb_glibtop_proc_uid.c
74
+ - ext/libgtop/rb_glibtop_proclist.c
75
+ - ext/libgtop/rb_glibtop_sem_limits.c
76
+ - ext/libgtop/rb_glibtop_shm_limits.c
77
+ - ext/libgtop/rb_glibtop_swap.c
78
+ - ext/libgtop/rb_glibtop_sysdeps.c
79
+ - ext/libgtop/rb_glibtop_uptime.c
80
+ - lib/libgtop.rb
81
+ - lib/libgtop/version.rb
82
+ - setup.rb
83
+ - test/ruby-libgtop2_test.rb
84
+ - test/test_helper.rb
85
+ test_files:
86
+ - test/ruby-libgtop2_test.rb
87
+ rdoc_options: []
88
+
89
+ extra_rdoc_files: []
90
+
91
+ executables: []
92
+
93
+ extensions:
94
+ - ext/libgtop/extconf.rb
95
+ requirements: []
96
+
97
+ dependencies: []
98
+