1 unstable release

0.0.9 Mar 8, 2024
0.0.8 Mar 8, 2024

#1598 in Command line utilities

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

~2.4–3.5MB
~53K SLoC