ruby-libgtop2 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.txt +9 -0
- data/Manifest.txt +1 -2
- data/examples/first.rb +0 -0
- data/examples/mountlist.rb +0 -0
- data/examples/netload.rb +0 -0
- data/examples/procmap.rb +0 -0
- data/examples/second.rb +0 -0
- data/examples/smp.rb +0 -0
- data/examples/sysdeps.rb +0 -0
- data/ext/libgtop/MANIFEST +1 -0
- data/ext/libgtop/rb_glibtop.c +3 -0
- data/ext/libgtop/rb_glibtop_proc_affinity.c +41 -0
- data/lib/libgtop/version.rb +1 -1
- metadata +48 -42
- data/ext/libgtop/Makefile +0 -149
- data/ext/libgtop/mkmf.log +0 -39
data/CHANGELOG.txt
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
2008-10-21 DATE Ken <itacchi@gmail.com>
|
2
|
+
|
3
|
+
* check & merge new features (libgtop 2.22.1 - 2.24.0)
|
4
|
+
* implement new api: rb_glibtop_proc_affinity.c
|
5
|
+
|
6
|
+
2008-04-03 DATE Ken <itacchi@gmail.com>
|
7
|
+
|
8
|
+
* check new version libgtop 2.22.0 (nothing changed)
|
9
|
+
|
1
10
|
2008-03-09 DATE Ken <itacchi@gmail.com>
|
2
11
|
|
3
12
|
* check & merge new features (libgtop 2.21.92)
|
data/Manifest.txt
CHANGED
@@ -15,9 +15,7 @@ examples/second.rb
|
|
15
15
|
examples/smp.rb
|
16
16
|
examples/sysdeps.rb
|
17
17
|
ext/libgtop/MANIFEST
|
18
|
-
ext/libgtop/Makefile
|
19
18
|
ext/libgtop/extconf.rb
|
20
|
-
ext/libgtop/mkmf.log
|
21
19
|
ext/libgtop/rb_glibtop.c
|
22
20
|
ext/libgtop/rb_glibtop.h
|
23
21
|
ext/libgtop/rb_glibtop_cpu.c
|
@@ -30,6 +28,7 @@ ext/libgtop/rb_glibtop_msg_limits.c
|
|
30
28
|
ext/libgtop/rb_glibtop_netlist.c
|
31
29
|
ext/libgtop/rb_glibtop_netload.c
|
32
30
|
ext/libgtop/rb_glibtop_ppp.c
|
31
|
+
ext/libgtop/rb_glibtop_proc_affinity.c
|
33
32
|
ext/libgtop/rb_glibtop_proc_args.c
|
34
33
|
ext/libgtop/rb_glibtop_proc_kernel.c
|
35
34
|
ext/libgtop/rb_glibtop_proc_map.c
|
data/examples/first.rb
CHANGED
File without changes
|
data/examples/mountlist.rb
CHANGED
File without changes
|
data/examples/netload.rb
CHANGED
File without changes
|
data/examples/procmap.rb
CHANGED
File without changes
|
data/examples/second.rb
CHANGED
File without changes
|
data/examples/smp.rb
CHANGED
File without changes
|
data/examples/sysdeps.rb
CHANGED
File without changes
|
data/ext/libgtop/MANIFEST
CHANGED
data/ext/libgtop/rb_glibtop.c
CHANGED
@@ -0,0 +1,41 @@
|
|
1
|
+
/*
|
2
|
+
* GLibTop is a wrapper library of a libgtop-2.x
|
3
|
+
*
|
4
|
+
* @author DATE Ken <itacchi@gmail.com>
|
5
|
+
* @see http://rubyforge.org/projects/ruby-libgtop2/
|
6
|
+
*/
|
7
|
+
|
8
|
+
#include <ruby.h>
|
9
|
+
#include <rb_glibtop.h>
|
10
|
+
#ifdef GLIBTOP_SYSDEPS_PROC_AFFINITY
|
11
|
+
#include <glibtop/procaffinity.h>
|
12
|
+
|
13
|
+
|
14
|
+
static VALUE rb_glibtop_proc_affinity(VALUE self, VALUE pid)
|
15
|
+
{
|
16
|
+
glibtop_proc_affinity buf;
|
17
|
+
VALUE hash, all;
|
18
|
+
|
19
|
+
glibtop_get_proc_affinity(&buf, NUM2LONG(pid));
|
20
|
+
|
21
|
+
if (buf.all == TRUE) {
|
22
|
+
all = Qtrue;
|
23
|
+
} else {
|
24
|
+
all = Qfalse;
|
25
|
+
}
|
26
|
+
|
27
|
+
hash = rb_hash_new();
|
28
|
+
|
29
|
+
rb_hash_aset(hash, rb_str_new2("flags"), rb_uint2inum(buf.flags));
|
30
|
+
rb_hash_aset(hash, rb_str_new2("number"), rb_uint2inum(buf.number));
|
31
|
+
rb_hash_aset(hash, rb_str_new2("all"), all);
|
32
|
+
|
33
|
+
return hash;
|
34
|
+
}
|
35
|
+
|
36
|
+
|
37
|
+
void Init_glibtop_proc_affinity()
|
38
|
+
{
|
39
|
+
rb_define_method(cLibGTop, "proc_affinity", rb_glibtop_proc_affinity, 1);
|
40
|
+
}
|
41
|
+
#endif
|
data/lib/libgtop/version.rb
CHANGED
metadata
CHANGED
@@ -1,34 +1,31 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
|
-
rubygems_version: 0.9.4
|
3
|
-
specification_version: 1
|
4
2
|
name: ruby-libgtop2
|
5
3
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.1.
|
7
|
-
date: 2008-03-09 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:
|
4
|
+
version: 0.1.3
|
26
5
|
platform: ruby
|
27
|
-
signing_key:
|
28
|
-
cert_chain:
|
29
|
-
post_install_message:
|
30
6
|
authors:
|
31
7
|
- date
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2008-10-22 00:00:00 +09:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Ruby bindings for GNOME libgtop version2.x.
|
17
|
+
email: itacchi@gmail.com
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions:
|
21
|
+
- ext/libgtop/extconf.rb
|
22
|
+
extra_rdoc_files:
|
23
|
+
- CHANGELOG.txt
|
24
|
+
- History.txt
|
25
|
+
- INSTALL.txt
|
26
|
+
- Manifest.txt
|
27
|
+
- README.txt
|
28
|
+
- TUTORIAL.txt
|
32
29
|
files:
|
33
30
|
- CHANGELOG.txt
|
34
31
|
- History.txt
|
@@ -47,9 +44,7 @@ files:
|
|
47
44
|
- examples/smp.rb
|
48
45
|
- examples/sysdeps.rb
|
49
46
|
- ext/libgtop/MANIFEST
|
50
|
-
- ext/libgtop/Makefile
|
51
47
|
- ext/libgtop/extconf.rb
|
52
|
-
- ext/libgtop/mkmf.log
|
53
48
|
- ext/libgtop/rb_glibtop.c
|
54
49
|
- ext/libgtop/rb_glibtop.h
|
55
50
|
- ext/libgtop/rb_glibtop_cpu.c
|
@@ -62,6 +57,7 @@ files:
|
|
62
57
|
- ext/libgtop/rb_glibtop_netlist.c
|
63
58
|
- ext/libgtop/rb_glibtop_netload.c
|
64
59
|
- ext/libgtop/rb_glibtop_ppp.c
|
60
|
+
- ext/libgtop/rb_glibtop_proc_affinity.c
|
65
61
|
- ext/libgtop/rb_glibtop_proc_args.c
|
66
62
|
- ext/libgtop/rb_glibtop_proc_kernel.c
|
67
63
|
- ext/libgtop/rb_glibtop_proc_map.c
|
@@ -84,23 +80,33 @@ files:
|
|
84
80
|
- setup.rb
|
85
81
|
- test/ruby-libgtop2_test.rb
|
86
82
|
- test/test_helper.rb
|
87
|
-
|
88
|
-
|
83
|
+
has_rdoc: true
|
84
|
+
homepage: http://ruby-libgtop2.rubyforge.org
|
85
|
+
post_install_message:
|
89
86
|
rdoc_options:
|
90
87
|
- --main
|
91
88
|
- README.txt
|
92
|
-
|
93
|
-
-
|
94
|
-
-
|
95
|
-
|
96
|
-
|
97
|
-
-
|
98
|
-
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
89
|
+
require_paths:
|
90
|
+
- lib
|
91
|
+
- ext
|
92
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
93
|
+
requirements:
|
94
|
+
- - ">="
|
95
|
+
- !ruby/object:Gem::Version
|
96
|
+
version: "0"
|
97
|
+
version:
|
98
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
103
|
+
version:
|
103
104
|
requirements: []
|
104
105
|
|
105
|
-
|
106
|
-
|
106
|
+
rubyforge_project: ruby-libgtop2
|
107
|
+
rubygems_version: 1.1.1
|
108
|
+
signing_key:
|
109
|
+
specification_version: 2
|
110
|
+
summary: Ruby bindings for GNOME libgtop version2.x.
|
111
|
+
test_files:
|
112
|
+
- test/ruby-libgtop2_test.rb
|
data/ext/libgtop/Makefile
DELETED
@@ -1,149 +0,0 @@
|
|
1
|
-
|
2
|
-
SHELL = /bin/sh
|
3
|
-
|
4
|
-
#### Start of system configuration section. ####
|
5
|
-
|
6
|
-
srcdir = .
|
7
|
-
topdir = /usr/lib/ruby/1.8/i686-linux
|
8
|
-
hdrdir = $(topdir)
|
9
|
-
VPATH = $(srcdir):$(topdir):$(hdrdir)
|
10
|
-
prefix = $(DESTDIR)/usr
|
11
|
-
exec_prefix = $(prefix)
|
12
|
-
sitedir = $(DESTDIR)/usr/lib/ruby/site_ruby
|
13
|
-
rubylibdir = $(libdir)/ruby/$(ruby_version)
|
14
|
-
docdir = $(datarootdir)/doc/$(PACKAGE)
|
15
|
-
dvidir = $(docdir)
|
16
|
-
datarootdir = $(prefix)/share
|
17
|
-
archdir = $(rubylibdir)/$(arch)
|
18
|
-
sbindir = $(exec_prefix)/sbin
|
19
|
-
psdir = $(docdir)
|
20
|
-
localedir = $(datarootdir)/locale
|
21
|
-
htmldir = $(docdir)
|
22
|
-
datadir = $(DESTDIR)/usr/share
|
23
|
-
includedir = $(prefix)/include
|
24
|
-
infodir = $(DESTDIR)/usr/share/info
|
25
|
-
sysconfdir = $(DESTDIR)/etc
|
26
|
-
mandir = $(DESTDIR)/usr/share/man
|
27
|
-
libdir = $(exec_prefix)/lib
|
28
|
-
sharedstatedir = $(prefix)/com
|
29
|
-
oldincludedir = $(DESTDIR)/usr/include
|
30
|
-
pdfdir = $(docdir)
|
31
|
-
sitearchdir = $(sitelibdir)/$(sitearch)
|
32
|
-
bindir = $(exec_prefix)/bin
|
33
|
-
localstatedir = $(DESTDIR)/var/lib
|
34
|
-
sitelibdir = $(sitedir)/$(ruby_version)
|
35
|
-
libexecdir = $(exec_prefix)/libexec
|
36
|
-
|
37
|
-
CC = i686-pc-linux-gnu-gcc
|
38
|
-
LIBRUBY = $(LIBRUBY_SO)
|
39
|
-
LIBRUBY_A = lib$(RUBY_SO_NAME)-static.a
|
40
|
-
LIBRUBYARG_SHARED = -Wl,-R -Wl,$(libdir) -L$(libdir) -l$(RUBY_SO_NAME)
|
41
|
-
LIBRUBYARG_STATIC = -l$(RUBY_SO_NAME)-static
|
42
|
-
|
43
|
-
RUBY_EXTCONF_H =
|
44
|
-
CFLAGS = -fPIC -march=athlon-xp -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
|
45
|
-
INCFLAGS = -I. -I. -I/usr/lib/ruby/1.8/i686-linux -I.
|
46
|
-
CPPFLAGS = -DHAVE_GLIBTOP_H
|
47
|
-
CXXFLAGS = $(CFLAGS)
|
48
|
-
DLDFLAGS = -L. -rdynamic -Wl,-export-dynamic
|
49
|
-
LDSHARED = $(CC) -shared
|
50
|
-
AR = i686-pc-linux-gnu-ar
|
51
|
-
EXEEXT =
|
52
|
-
|
53
|
-
RUBY_INSTALL_NAME = ruby18
|
54
|
-
RUBY_SO_NAME = ruby18
|
55
|
-
arch = i686-linux
|
56
|
-
sitearch = i686-linux
|
57
|
-
ruby_version = 1.8
|
58
|
-
ruby = /usr/bin/ruby18
|
59
|
-
RUBY = $(ruby)
|
60
|
-
RM = rm -f
|
61
|
-
MAKEDIRS = mkdir -p
|
62
|
-
INSTALL = /bin/install -c
|
63
|
-
INSTALL_PROG = $(INSTALL) -m 0755
|
64
|
-
INSTALL_DATA = $(INSTALL) -m 644
|
65
|
-
COPY = cp
|
66
|
-
|
67
|
-
#### End of system configuration section. ####
|
68
|
-
|
69
|
-
preload =
|
70
|
-
|
71
|
-
libpath = . $(libdir)
|
72
|
-
LIBPATH = -L'.' -L'$(libdir)' -Wl,-R'$(libdir)'
|
73
|
-
DEFFILE =
|
74
|
-
|
75
|
-
CLEANFILES = mkmf.log
|
76
|
-
DISTCLEANFILES =
|
77
|
-
|
78
|
-
extout =
|
79
|
-
extout_prefix =
|
80
|
-
target_prefix =
|
81
|
-
LOCAL_LIBS =
|
82
|
-
LIBS = $(LIBRUBYARG_SHARED) -lgtop-2.0 -lgtop-2.0 -lglib-2.0 -lpthread -ldl -lcrypt -lm -lc
|
83
|
-
SRCS = rb_glibtop_mountlist.c rb_glibtop_fsusage.c rb_glibtop_init.c rb_glibtop_ppp.c rb_glibtop_proc_open_files.c rb_glibtop_proclist.c rb_glibtop_proc_map.c rb_glibtop_proc_signal.c rb_glibtop_proc_mem.c rb_glibtop_proc_kernel.c rb_glibtop_proc_state.c rb_glibtop_uptime.c rb_glibtop_proc_uid.c rb_glibtop_sem_limits.c rb_glibtop_msg_limits.c rb_glibtop_shm_limits.c rb_glibtop_swap.c rb_glibtop_loadavg.c rb_glibtop_mem.c rb_glibtop_proc_args.c rb_glibtop.c rb_glibtop_proc_time.c rb_glibtop_netlist.c rb_glibtop_cpu.c rb_glibtop_proc_segment.c rb_glibtop_netload.c rb_glibtop_sysdeps.c rb_glibtop_proc_wd.c
|
84
|
-
OBJS = rb_glibtop_mountlist.o rb_glibtop_fsusage.o rb_glibtop_init.o rb_glibtop_ppp.o rb_glibtop_proc_open_files.o rb_glibtop_proclist.o rb_glibtop_proc_map.o rb_glibtop_proc_signal.o rb_glibtop_proc_mem.o rb_glibtop_proc_kernel.o rb_glibtop_proc_state.o rb_glibtop_uptime.o rb_glibtop_proc_uid.o rb_glibtop_sem_limits.o rb_glibtop_msg_limits.o rb_glibtop_shm_limits.o rb_glibtop_swap.o rb_glibtop_loadavg.o rb_glibtop_mem.o rb_glibtop_proc_args.o rb_glibtop.o rb_glibtop_proc_time.o rb_glibtop_netlist.o rb_glibtop_cpu.o rb_glibtop_proc_segment.o rb_glibtop_netload.o rb_glibtop_sysdeps.o rb_glibtop_proc_wd.o
|
85
|
-
TARGET = libgtop
|
86
|
-
DLLIB = $(TARGET).so
|
87
|
-
EXTSTATIC =
|
88
|
-
STATIC_LIB =
|
89
|
-
|
90
|
-
RUBYCOMMONDIR = $(sitedir)$(target_prefix)
|
91
|
-
RUBYLIBDIR = $(sitelibdir)$(target_prefix)
|
92
|
-
RUBYARCHDIR = $(sitearchdir)$(target_prefix)
|
93
|
-
|
94
|
-
TARGET_SO = $(DLLIB)
|
95
|
-
CLEANLIBS = $(TARGET).so $(TARGET).il? $(TARGET).tds $(TARGET).map
|
96
|
-
CLEANOBJS = *.o *.a *.s[ol] *.pdb *.exp *.bak
|
97
|
-
|
98
|
-
all: $(DLLIB)
|
99
|
-
static: $(STATIC_LIB)
|
100
|
-
|
101
|
-
clean:
|
102
|
-
@-$(RM) $(CLEANLIBS) $(CLEANOBJS) $(CLEANFILES)
|
103
|
-
|
104
|
-
distclean: clean
|
105
|
-
@-$(RM) Makefile $(RUBY_EXTCONF_H) conftest.* mkmf.log
|
106
|
-
@-$(RM) core ruby$(EXEEXT) *~ $(DISTCLEANFILES)
|
107
|
-
|
108
|
-
realclean: distclean
|
109
|
-
install: install-so install-rb
|
110
|
-
|
111
|
-
install-so: $(RUBYARCHDIR)
|
112
|
-
install-so: $(RUBYARCHDIR)/$(DLLIB)
|
113
|
-
$(RUBYARCHDIR)/$(DLLIB): $(DLLIB)
|
114
|
-
$(INSTALL_PROG) $(DLLIB) $(RUBYARCHDIR)
|
115
|
-
install-rb: pre-install-rb install-rb-default
|
116
|
-
install-rb-default: pre-install-rb-default
|
117
|
-
pre-install-rb: Makefile
|
118
|
-
pre-install-rb-default: Makefile
|
119
|
-
$(RUBYARCHDIR):
|
120
|
-
$(MAKEDIRS) $@
|
121
|
-
|
122
|
-
site-install: site-install-so site-install-rb
|
123
|
-
site-install-so: install-so
|
124
|
-
site-install-rb: install-rb
|
125
|
-
|
126
|
-
.SUFFIXES: .c .m .cc .cxx .cpp .C .o
|
127
|
-
|
128
|
-
.cc.o:
|
129
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
130
|
-
|
131
|
-
.cxx.o:
|
132
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
133
|
-
|
134
|
-
.cpp.o:
|
135
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
136
|
-
|
137
|
-
.C.o:
|
138
|
-
$(CXX) $(INCFLAGS) $(CPPFLAGS) $(CXXFLAGS) -c $<
|
139
|
-
|
140
|
-
.c.o:
|
141
|
-
$(CC) $(INCFLAGS) $(CPPFLAGS) $(CFLAGS) -c $<
|
142
|
-
|
143
|
-
$(DLLIB): $(OBJS)
|
144
|
-
@-$(RM) $@
|
145
|
-
$(LDSHARED) -o $@ $(OBJS) $(LIBPATH) $(DLDFLAGS) $(LOCAL_LIBS) $(LIBS)
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
$(OBJS): ruby.h defines.h
|
data/ext/libgtop/mkmf.log
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
package configuration for libgtop-2.0
|
2
|
-
cflags: -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
|
3
|
-
ldflags:
|
4
|
-
libs: -lgtop-2.0 -lglib-2.0
|
5
|
-
|
6
|
-
have_header: checking for glibtop.h... -------------------- yes
|
7
|
-
|
8
|
-
"i686-pc-linux-gnu-gcc -E -I. -I/usr/lib/ruby/1.8/i686-linux -I. -march=athlon-xp -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -o conftest.i"
|
9
|
-
checked program was:
|
10
|
-
/* begin */
|
11
|
-
1: #include <glibtop.h>
|
12
|
-
/* end */
|
13
|
-
|
14
|
-
--------------------
|
15
|
-
|
16
|
-
have_library: checking for glibtop_init_r() in -lgtop-2.0... -------------------- yes
|
17
|
-
|
18
|
-
"i686-pc-linux-gnu-gcc -o conftest -I. -I/usr/lib/ruby/1.8/i686-linux -I. -march=athlon-xp -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L'.' -L'/usr/lib' -Wl,-R'/usr/lib' -L. -rdynamic -Wl,-export-dynamic -lgtop-2.0 -lglib-2.0 -lruby18-static -lgtop-2.0 -lgtop-2.0 -lglib-2.0 -lpthread -ldl -lcrypt -lm -lc"
|
19
|
-
conftest.c: In function `t':
|
20
|
-
conftest.c:3: error: `glibtop_init_r' ���������Ƥ��ޤ��� (���δؿ���Ǻǽ������)
|
21
|
-
conftest.c:3: error: (̤����γ��ѿ��ˤĤ��Ƥϡ����줬�ǽ�˸���줿���줾��δؿ�
|
22
|
-
conftest.c:3: error: ���Ф��ư��٤�����𤵤�ޤ���)
|
23
|
-
checked program was:
|
24
|
-
/* begin */
|
25
|
-
1: /*top*/
|
26
|
-
2: int main() { return 0; }
|
27
|
-
3: int t() { void ((*volatile p)()); p = (void ((*)()))glibtop_init_r; return 0; }
|
28
|
-
/* end */
|
29
|
-
|
30
|
-
"i686-pc-linux-gnu-gcc -o conftest -I. -I/usr/lib/ruby/1.8/i686-linux -I. -march=athlon-xp -O2 -pipe -fno-strict-aliasing -fPIC -I/usr/include/libgtop-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include conftest.c -L'.' -L'/usr/lib' -Wl,-R'/usr/lib' -L. -rdynamic -Wl,-export-dynamic -lgtop-2.0 -lglib-2.0 -lruby18-static -lgtop-2.0 -lgtop-2.0 -lglib-2.0 -lpthread -ldl -lcrypt -lm -lc"
|
31
|
-
checked program was:
|
32
|
-
/* begin */
|
33
|
-
1: /*top*/
|
34
|
-
2: int main() { return 0; }
|
35
|
-
3: int t() { glibtop_init_r(); return 0; }
|
36
|
-
/* end */
|
37
|
-
|
38
|
-
--------------------
|
39
|
-
|