kostya-sigar 1.8.9 → 2.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e173cd5f15d09dfc23b9ca474969b78fd285d008
4
- data.tar.gz: 8217376bea6cb2accb21d5f6c233485a68b6ad2f
3
+ metadata.gz: f258b97c2fc6948581aa1e72f9bec5ea5781cbc4
4
+ data.tar.gz: ecff36d0bde36ee9b14e80b185d254370864dcbd
5
5
  SHA512:
6
- metadata.gz: 84c9081aa63f8028750eeee2ec77ed9bb438c81e825e9abdae6efe4d15723ce1b533cbd3b7d001fee5a94ba77dbe19df2c48b981cbe2df13ff44e5870e71092e
7
- data.tar.gz: b2fdb55068bb67533ae95e845c0cb0b0c4bf0245dd4a5cc420623d6338792a7aef8c00c7570077cfb3254250c03d955d19196a5a3cf170f2cfdf762e0f1a8f20
6
+ metadata.gz: a877c031215303e49a79c134540d9def7b3296928b3d9fb4609bef7d6af047e53f8ac1c8927a15353b3b5f0abaf688100f2838346c9eeef0b0000c71a8e8ce97
7
+ data.tar.gz: 72959a3cff28689427e3ccf5f27f230e2b9c742a402322c8f882c2d5bc0e8c9c4549a0c18d6ed2374cf74b251e26d308aa89fefbf485d97258ecf759cf3d025e
data/README CHANGED
@@ -1,2 +1,12 @@
1
- Visit the SIGAR Wiki for documentation, bugs, support, etc.:
2
- http://sigar.hyperic.com/
1
+
2
+ System Information Gatherer And Reporter. Fork of https://github.com/hyperic/sigar.
3
+
4
+ Fixed:
5
+
6
+ * sigfaulted logger, #28 (c2a1af)
7
+ * bug undefined symbol: sigar_skip_token, #60 (dfe8fe)
8
+ * bug detection boot_time on linux (now it works like gnu ps, and fix some issues with process start_time) (660259)
9
+
10
+ Installation:
11
+
12
+ $ gem install kostya-sigar
@@ -126,9 +126,9 @@ static int sigar_boot_time_get(sigar_t *sigar)
126
126
  {
127
127
  unsigned long seconds_since_1970 = time(NULL);
128
128
  sigar_uptime_t seconds_since_boot;
129
- sigar_uptime_get(sigar, &seconds_since_boot);
130
- sigar->boot_time = (unsigned long)((long)seconds_since_1970 - (long)seconds_since_boot.uptime);
131
- return SIGAR_OK;
129
+ int status = sigar_uptime_get(sigar, &seconds_since_boot);
130
+ sigar->boot_time = seconds_since_1970 - (unsigned long)seconds_since_boot.uptime;
131
+ return status;
132
132
  }
133
133
 
134
134
  int sigar_os_open(sigar_t **sigar)
data/version.properties CHANGED
@@ -1,7 +1,7 @@
1
1
  copyright.year=2004-2011
2
- version.major=1
3
- version.minor=8
4
- version.maint=9
2
+ version.major=2
3
+ version.minor=0
4
+ version.maint=0
5
5
  version.build=0
6
6
  project.name=kostya-sigar
7
7
  project.author=Doug MacEachern
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kostya-sigar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.8.9
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Doug MacEachern