1 unstable release

0.0.9 Mar 8, 2024
0.0.8 Mar 8, 2024

#1263 in Command line utilities

Download history 312/week @ 2024-03-01 221/week @ 2024-03-08 174/week @ 2024-03-15 15/week @ 2024-03-22 20/week @ 2024-03-29

174 downloads per month

MIT license

11KB
173 lines

sig-bitmap

A command line tool to interpret signal bitmaps for a process.

Usage

sig-bitmap [OPTIONS] --pid <PID>

Options:
-p, --pid <PID>  PID of the process
-m, --map <MAP>  Type of bitmap to interpret
                    [default: sig-pnd]
                    [possible values: sig-pnd, shd-pnd,
                                      sig-blk, sig-ign, sig-cgt]
-h, --help       Print help (see more with '--help')
-V, --version    Print version

lib.rs:

Signal Bitmap Interpreter

A simple library to interpret signal bitmaps for a process, read from /proc/<pid>/status. Supported signal bitmaps include pending signals (SigPnd), shared pending signals (ShdPnd), blocked signals (SigBlk), ignored signals (SigIgn), and caught signals (SigCgt).

Dependencies

~1.6–2.1MB
~38K SLoC