devops_system_util_profiler 0.0.1 → 0.0.2

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
  SHA256:
3
- metadata.gz: 21824b8e4dc12c3aa639e67f19d1278d3326a272a55a8599cc957da4cf1de354
4
- data.tar.gz: ba5900dfc7afe19feb1bdec1fce0d5606f4941ef2688cb284543b78ce665a487
3
+ metadata.gz: ac9b2256c8450d7cd582c14233f94857f2b6f3ade8c82ee5def3599cb90eb8f1
4
+ data.tar.gz: 11ad9c12d5bca7acb9dbd8d5208d1b94fe7732bf7def7b6386e556a7eacff827
5
5
  SHA512:
6
- metadata.gz: 6d82b401acd4abfca87d9b332164d3a7ebd181ca295a785546cd23f8d43ae19f5f39ce318aae3cb66e842899c2abf1b8240e63a3c4aae10ef99ede9083e08dad
7
- data.tar.gz: 0fb5545f9741bbda36958c4aa7f3138fbaa846e6488f63e746c93fafb7da3056578b43243e6e686514e32832257bcee8547e23d2af29fd1a15a02649c795bf14
6
+ metadata.gz: 7a045d8c6dc1cc23ada9f435a0942f47bc9bdc3aea9804c6d3f61c106c54d0291b53c3177c2715302d0a9b3e60ff729993080ea05ff4b310336bed1a5857aa23
7
+ data.tar.gz: 10474bfe5ec4d4935d62159538e3306ffbbaa5f4f55ffa2561fa2aa771b172b539e954cf5e0ffcc0f67b9b353a494091fa656df0a85f4f32a63396e4fcbc2135
@@ -51,4 +51,6 @@ class DevopsSystemUtil
51
51
  @dir.each{|each| generating_path.push(dir_string + each) if each.end_with?(@file)}
52
52
  generating_path.map{ |n| "scp -r" + " " + n + " " + @remote + ":" + @remote_add}.each{ |each| puts each}
53
53
  end
54
+ def cpucount
55
+ return `cpuinfo`.split("\n").map{|line| line.split}.each{|n| puts n if n[0] == "Count:"}
54
56
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devops_system_util_profiler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gaurav Sablok
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-09-02 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -41,5 +41,5 @@ signing_key:
41
41
  specification_version: 4
42
42
  summary: devops system utility profiler for bioinformatics that does all the task
43
43
  required in the bioinformatics such as moving files, finding files, generating
44
- ssh and everything
44
+ ssh and everything, added cpu information and additional server management
45
45
  test_files: []