1 unstable release

0.0.9 Mar 8, 2024
0.0.8 Mar 8, 2024

#1531 in Command line utilities

Download history 31/week @ 2024-06-30 143/week @ 2024-09-29

143 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

~3.5MB
~54K SLoC