sigar 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README +2 -0
- data/Rakefile +105 -0
- data/bindings/SigarBuild.pm +310 -0
- data/bindings/SigarWrapper.pm +2978 -0
- data/bindings/ruby/examples/arp.rb +24 -0
- data/bindings/ruby/examples/cpu_info.rb +35 -0
- data/bindings/ruby/examples/df.rb +49 -0
- data/bindings/ruby/examples/free.rb +36 -0
- data/bindings/ruby/examples/ifconfig.rb +101 -0
- data/bindings/ruby/examples/logging.rb +58 -0
- data/bindings/ruby/examples/net_info.rb +31 -0
- data/bindings/ruby/examples/netstat.rb +71 -0
- data/bindings/ruby/examples/pargs.rb +35 -0
- data/bindings/ruby/examples/penv.rb +31 -0
- data/bindings/ruby/examples/route.rb +48 -0
- data/bindings/ruby/examples/version.rb +40 -0
- data/bindings/ruby/examples/who.rb +30 -0
- data/bindings/ruby/extconf.rb +128 -0
- data/bindings/ruby/rbsigar.c +888 -0
- data/bindings/ruby/test/cpu_test.rb +40 -0
- data/bindings/ruby/test/file_system_test.rb +43 -0
- data/bindings/ruby/test/helper.rb +57 -0
- data/bindings/ruby/test/loadavg_test.rb +30 -0
- data/bindings/ruby/test/mem_test.rb +45 -0
- data/bindings/ruby/test/swap_test.rb +36 -0
- data/bindings/ruby/test/uptime_test.rb +26 -0
- data/include/sigar.h +939 -0
- data/include/sigar_fileinfo.h +157 -0
- data/include/sigar_format.h +65 -0
- data/include/sigar_getline.h +18 -0
- data/include/sigar_log.h +80 -0
- data/include/sigar_private.h +422 -0
- data/include/sigar_ptql.h +53 -0
- data/include/sigar_util.h +191 -0
- data/src/os/aix/aix_sigar.c +2151 -0
- data/src/os/aix/sigar_os.h +73 -0
- data/src/os/darwin/Info.plist.in +27 -0
- data/src/os/darwin/darwin_sigar.c +3709 -0
- data/src/os/darwin/sigar_os.h +80 -0
- data/src/os/hpux/hpux_sigar.c +1342 -0
- data/src/os/hpux/sigar_os.h +49 -0
- data/src/os/linux/linux_sigar.c +2782 -0
- data/src/os/linux/sigar_os.h +82 -0
- data/src/os/solaris/get_mib2.c +321 -0
- data/src/os/solaris/get_mib2.h +127 -0
- data/src/os/solaris/kstats.c +181 -0
- data/src/os/solaris/procfs.c +97 -0
- data/src/os/solaris/sigar_os.h +224 -0
- data/src/os/solaris/solaris_sigar.c +2717 -0
- data/src/os/win32/peb.c +212 -0
- data/src/os/win32/sigar.rc.in +40 -0
- data/src/os/win32/sigar_os.h +653 -0
- data/src/os/win32/sigar_pdh.h +47 -0
- data/src/os/win32/win32_sigar.c +3911 -0
- data/src/sigar.c +2428 -0
- data/src/sigar_cache.c +179 -0
- data/src/sigar_fileinfo.c +815 -0
- data/src/sigar_format.c +696 -0
- data/src/sigar_getline.c +1849 -0
- data/src/sigar_ptql.c +1967 -0
- data/src/sigar_signal.c +216 -0
- data/src/sigar_util.c +1060 -0
- data/src/sigar_version.c.in +22 -0
- data/src/sigar_version_autoconf.c.in +22 -0
- data/version.properties +11 -0
- metadata +131 -0
@@ -0,0 +1,22 @@
|
|
1
|
+
#include "sigar.h"
|
2
|
+
|
3
|
+
static sigar_version_t sigar_version = {
|
4
|
+
"@@BUILD_DATE@@",
|
5
|
+
"@@SCM_REVISION@@",
|
6
|
+
"@@VERSION_STRING@@",
|
7
|
+
"@@ARCHNAME@@",
|
8
|
+
"@@ARCHLIB@@",
|
9
|
+
"@@BINNAME@@",
|
10
|
+
"SIGAR-@@VERSION_STRING@@, "
|
11
|
+
"SCM revision @@SCM_REVISION@@, "
|
12
|
+
"built @@BUILD_DATE@@ as @@ARCHLIB@@",
|
13
|
+
@@VERSION_MAJOR@@,
|
14
|
+
@@VERSION_MINOR@@,
|
15
|
+
@@VERSION_MAINT@@,
|
16
|
+
@@VERSION_BUILD@@
|
17
|
+
};
|
18
|
+
|
19
|
+
SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void)
|
20
|
+
{
|
21
|
+
return &sigar_version;
|
22
|
+
}
|
@@ -0,0 +1,22 @@
|
|
1
|
+
#include "sigar.h"
|
2
|
+
|
3
|
+
static sigar_version_t sigar_version = {
|
4
|
+
__DATE__,
|
5
|
+
"@SCM_REVISION@",
|
6
|
+
"@PACKAGE_STRING@",
|
7
|
+
"@build@",
|
8
|
+
"@build_os@",
|
9
|
+
"@build_cpu@",
|
10
|
+
"SIGAR-@PACKAGE_VERSION@, "
|
11
|
+
"SCM revision @SCM_REVISION@, "
|
12
|
+
"built "__DATE__" as @build_cpu@",
|
13
|
+
@VERSION_MAJOR@,
|
14
|
+
@VERSION_MINOR@,
|
15
|
+
@VERSION_MAINT@,
|
16
|
+
@VERSION_BUILD@
|
17
|
+
};
|
18
|
+
|
19
|
+
SIGAR_DECLARE(sigar_version_t *) sigar_version_get(void)
|
20
|
+
{
|
21
|
+
return &sigar_version;
|
22
|
+
}
|
data/version.properties
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
copyright.year=2004-2009
|
2
|
+
version.major=1
|
3
|
+
version.minor=7
|
4
|
+
version.maint=0
|
5
|
+
version.build=0
|
6
|
+
project.name=sigar
|
7
|
+
project.author=Doug MacEachern
|
8
|
+
project.email=sigar-users@hyperic.org
|
9
|
+
project.homepage=http://sigar.hyperic.com/
|
10
|
+
project.summary=System Information Gatherer And Reporter
|
11
|
+
|
metadata
ADDED
@@ -0,0 +1,131 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: sigar
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 3
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 7
|
9
|
+
- 0
|
10
|
+
version: 0.7.0
|
11
|
+
platform: ruby
|
12
|
+
authors:
|
13
|
+
- Doug MacEachern
|
14
|
+
autorequire:
|
15
|
+
bindir: bin
|
16
|
+
cert_chain: []
|
17
|
+
|
18
|
+
date: 2010-05-28 00:00:00 +04:00
|
19
|
+
default_executable:
|
20
|
+
dependencies: []
|
21
|
+
|
22
|
+
description: System Information Gatherer And Reporter
|
23
|
+
email: sigar-users@hyperic.org
|
24
|
+
executables: []
|
25
|
+
|
26
|
+
extensions:
|
27
|
+
- bindings/ruby/extconf.rb
|
28
|
+
extra_rdoc_files: []
|
29
|
+
|
30
|
+
files:
|
31
|
+
- README
|
32
|
+
- Rakefile
|
33
|
+
- version.properties
|
34
|
+
- bindings/SigarWrapper.pm
|
35
|
+
- bindings/SigarBuild.pm
|
36
|
+
- bindings/ruby/examples/arp.rb
|
37
|
+
- bindings/ruby/examples/cpu_info.rb
|
38
|
+
- bindings/ruby/examples/df.rb
|
39
|
+
- bindings/ruby/examples/free.rb
|
40
|
+
- bindings/ruby/examples/ifconfig.rb
|
41
|
+
- bindings/ruby/examples/logging.rb
|
42
|
+
- bindings/ruby/examples/net_info.rb
|
43
|
+
- bindings/ruby/examples/netstat.rb
|
44
|
+
- bindings/ruby/examples/pargs.rb
|
45
|
+
- bindings/ruby/examples/penv.rb
|
46
|
+
- bindings/ruby/examples/route.rb
|
47
|
+
- bindings/ruby/examples/version.rb
|
48
|
+
- bindings/ruby/examples/who.rb
|
49
|
+
- bindings/ruby/extconf.rb
|
50
|
+
- bindings/ruby/rbsigar.c
|
51
|
+
- bindings/ruby/test/cpu_test.rb
|
52
|
+
- bindings/ruby/test/file_system_test.rb
|
53
|
+
- bindings/ruby/test/helper.rb
|
54
|
+
- bindings/ruby/test/loadavg_test.rb
|
55
|
+
- bindings/ruby/test/mem_test.rb
|
56
|
+
- bindings/ruby/test/swap_test.rb
|
57
|
+
- bindings/ruby/test/uptime_test.rb
|
58
|
+
- include/sigar.h
|
59
|
+
- include/sigar_fileinfo.h
|
60
|
+
- include/sigar_format.h
|
61
|
+
- include/sigar_getline.h
|
62
|
+
- include/sigar_log.h
|
63
|
+
- include/sigar_private.h
|
64
|
+
- include/sigar_ptql.h
|
65
|
+
- include/sigar_util.h
|
66
|
+
- src/os/aix/aix_sigar.c
|
67
|
+
- src/os/aix/sigar_os.h
|
68
|
+
- src/os/darwin/darwin_sigar.c
|
69
|
+
- src/os/darwin/sigar_os.h
|
70
|
+
- src/os/hpux/hpux_sigar.c
|
71
|
+
- src/os/hpux/sigar_os.h
|
72
|
+
- src/os/linux/linux_sigar.c
|
73
|
+
- src/os/linux/sigar_os.h
|
74
|
+
- src/os/solaris/get_mib2.c
|
75
|
+
- src/os/solaris/get_mib2.h
|
76
|
+
- src/os/solaris/kstats.c
|
77
|
+
- src/os/solaris/procfs.c
|
78
|
+
- src/os/solaris/sigar_os.h
|
79
|
+
- src/os/solaris/solaris_sigar.c
|
80
|
+
- src/os/win32/peb.c
|
81
|
+
- src/os/win32/sigar_os.h
|
82
|
+
- src/os/win32/sigar_pdh.h
|
83
|
+
- src/os/win32/win32_sigar.c
|
84
|
+
- src/sigar.c
|
85
|
+
- src/sigar_cache.c
|
86
|
+
- src/sigar_fileinfo.c
|
87
|
+
- src/sigar_format.c
|
88
|
+
- src/sigar_getline.c
|
89
|
+
- src/sigar_ptql.c
|
90
|
+
- src/sigar_signal.c
|
91
|
+
- src/sigar_util.c
|
92
|
+
- src/os/darwin/Info.plist.in
|
93
|
+
- src/os/win32/sigar.rc.in
|
94
|
+
- src/sigar_version.c.in
|
95
|
+
- src/sigar_version_autoconf.c.in
|
96
|
+
has_rdoc: true
|
97
|
+
homepage: http://sigar.hyperic.com/
|
98
|
+
licenses: []
|
99
|
+
|
100
|
+
post_install_message:
|
101
|
+
rdoc_options: []
|
102
|
+
|
103
|
+
require_paths:
|
104
|
+
- lib
|
105
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
hash: 3
|
111
|
+
segments:
|
112
|
+
- 0
|
113
|
+
version: "0"
|
114
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
115
|
+
none: false
|
116
|
+
requirements:
|
117
|
+
- - ">="
|
118
|
+
- !ruby/object:Gem::Version
|
119
|
+
hash: 3
|
120
|
+
segments:
|
121
|
+
- 0
|
122
|
+
version: "0"
|
123
|
+
requirements: []
|
124
|
+
|
125
|
+
rubyforge_project:
|
126
|
+
rubygems_version: 1.3.7
|
127
|
+
signing_key:
|
128
|
+
specification_version: 3
|
129
|
+
summary: System Information Gatherer And Reporter
|
130
|
+
test_files: []
|
131
|
+
|