Skip to content
This repository has been archived by the owner on Jul 31, 2021. It is now read-only.

cuonglm/p6-linux-process-signalinfo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Linux::Process::SignalInfo

Description

Show process signal information in Linux

Installation

zef 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

About

Show process signal info on Linux

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Other 100.0%