
Security News
Follow-up and Clarification on Recent Malicious Ruby Gems Campaign
A clarification on our recent research investigating 60 malicious Ruby gems.
A Ruby library for gathering Linux kernel statistics out of /proc/stat
.
gem install linux-kstat
gem cert --add <(curl -Ls https://raw.githubusercontent.com/djberg96/linux-kstat/main/certs/djberg96_pub.pem)
If you have trouble install this gem via bundler, please try this:
bundle config specific_platform true
Then attempt to install again.
# require 'linux-kstat' will also work
require 'linux/kstat'
kstat = Linux::Kstat.new
p kstat[:cpu]
p kstat[:procs_running]
The values for most of the keys are a single numeric value. However, in the case of "cpu" keys, the result is a 7 element hash of numeric values. In the case of the "intr" key, the value is an array containing the list of interrupts.
See http://www.linuxhowtos.org/System/procstat.htm for more information about the meaning of each of the fields.
None known. Please report any bugs on the github project page.
http://www.github.com/djberg96/linux-kstat
Apache-2.0
(C) 2003-2024 Daniel J. Berger All Rights Reserved.`
This package is provided "as is" and without any express or implied warranties, including, without limitation, the implied warranties of merchantability and fitness for a particular purpose.
Daniel J. Berger
FAQs
Unknown package
We found that linux-kstat demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A clarification on our recent research investigating 60 malicious Ruby gems.
Security News
ESLint now supports parallel linting with a new --concurrency flag, delivering major speed gains and closing a 10-year-old feature request.
Research
/Security News
A malicious Go module posing as an SSH brute forcer exfiltrates stolen credentials to a Telegram bot controlled by a Russian-speaking threat actor.