1
0
Fork 0
mirror of https://github.com/nishiki/swapus.git synced 2024-11-23 04:47:52 +00:00
Swapus is a little software to get processes who use swap.
Find a file
2018-02-07 17:01:25 +01:00
bin feat: add option to print X lines 2018-02-02 14:01:25 +01:00
lib fix: no raise error if a process is terminated during the swapus execution 2018-02-07 17:01:25 +01:00
.gitignore first commit 2017-10-06 13:55:43 +02:00
.rubocop.yml first commit 2017-10-06 13:55:43 +02:00
.travis.yml chore: update ruby version for travis tests 2018-02-02 14:01:46 +01:00
CHANGELOG.md release: version 1.1.0 2018-02-02 23:06:02 +01:00
Gemfile first commit 2017-10-06 13:55:43 +02:00
LICENSE fix: update LICENSE with good copyright 2017-12-07 14:14:14 +01:00
README.md release: version 1.1.0 2018-02-02 23:06:02 +01:00
swapus.gemspec fix: upgrade the minimum ruby version to 2.3 2017-11-10 08:19:13 +01:00
VERSION release: version 1.1.0 2018-02-02 23:06:02 +01:00

Swapus

Version Build Status License

Swapus is a little software to get processes who use swap.

Install

On debian or ubuntu:

apt install ruby
gem install swapus

How to use

It's simple:

swapus

Output with the swap usage, pid and the command:

144 kB [2119] tmux
256 kB [251] /lib/systemd/systemd-journald
256 kB [1990] ntpd: ntp engine
1088 kB [3253] irssi
1716 kB [275] /lib/systemd/systemd-udevd

License

Copyright (c) 2017 Adrien Waksberg

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.