Show process signal info on Linux
Perl6
Switch branches/tags
Nothing to show
Latest commit cacb21c Apr 26, 2017 @Gnouc committed on GitHub Merge pull request #2 from samcv/SPDX-license
Use SPDX identifier in license field of META6.json
Permalink
Failed to load latest commit information.
examples Initial commit Jan 28, 2016
lib/Linux/Process v0.0.2 Jan 28, 2016
t v0.0.2 Jan 28, 2016
.gitignore Initial commit Jan 28, 2016
.travis.yml Initial commit Jan 28, 2016
LICENSE Initial commit Jan 28, 2016
META6.json Use SPDX identifier in license field of META6.json Apr 26, 2017
README.md Initial commit Jan 28, 2016

README.md

#Linux::Process::SignalInfo

#Description

Show process signal information in Linux

#Installation

panda install Linux::Process::SignalInfo

#Usage

use v6;
use Linux::Process::SignalInfo;

# Create new signal info instance for PID 1
my $signal_info = Linux::Process::SignalInfo.new(pid => 1);

# Read process signal information
$signal_info.read;

# Parse signal info to make it human readable
$signal_info.parse;

# Pretty print
$signal_info.pprint;

Output:

Blocked: [SIGHUP SIGINT SIGUSR1 SIGUSR2 SIGTERM SIGCHLD SIGWINCH SIGPWR]
Ignored: [SIGPIPE]
Catched: [SIGQUIT SIGILL SIGABRT SIGBUS SIGFPE SIGSEGV]

#Author

Cuong Manh Le cuong.manhle.vn@gmail.com

#License

See LICENSE