How to Install and Uninstall perl-Linux-Pid Package on openSUSE Leap
Last updated: November 24,2024
1. Install "perl-Linux-Pid" package
Please follow the step by step instructions below to install perl-Linux-Pid on openSUSE Leap
$
sudo zypper refresh
Copied
$
sudo zypper install
perl-Linux-Pid
Copied
2. Uninstall "perl-Linux-Pid" package
This guide let you learn how to uninstall perl-Linux-Pid on openSUSE Leap:
$
sudo zypper remove
perl-Linux-Pid
Copied
3. Information about the perl-Linux-Pid package on openSUSE Leap
Information for package perl-Linux-Pid:
---------------------------------------
Repository : Main Repository
Name : perl-Linux-Pid
Version : 0.04-1.27
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 13.6 KiB
Installed : No
Status : not installed
Source package : perl-Linux-Pid-0.04-1.27.src
Upstream URL : http://search.cpan.org/dist/Linux-Pid/
Summary : Get the native PID and the PPID on Linux
Description :
Why should one use a module to get the PID and the PPID of a process where
there are the '$$' variable and the 'getppid()' builtin ? (Not mentioning
the equivalent 'POSIX::getpid()' and 'POSIX::getppid()' functions.)
In fact, this is useful on Linux, with multithreaded programs. Linux' C
library, using the linux thread model, returns different values of the PID
and the PPID from different threads. (Other thread models such as NPTL
don't have the same behaviour). This module forces perl to call the
underlying C functions 'getpid()' and 'getppid()'.
---------------------------------------
Repository : Main Repository
Name : perl-Linux-Pid
Version : 0.04-1.27
Arch : x86_64
Vendor : SUSE LLC
Installed Size : 13.6 KiB
Installed : No
Status : not installed
Source package : perl-Linux-Pid-0.04-1.27.src
Upstream URL : http://search.cpan.org/dist/Linux-Pid/
Summary : Get the native PID and the PPID on Linux
Description :
Why should one use a module to get the PID and the PPID of a process where
there are the '$$' variable and the 'getppid()' builtin ? (Not mentioning
the equivalent 'POSIX::getpid()' and 'POSIX::getppid()' functions.)
In fact, this is useful on Linux, with multithreaded programs. Linux' C
library, using the linux thread model, returns different values of the PID
and the PPID from different threads. (Other thread models such as NPTL
don't have the same behaviour). This module forces perl to call the
underlying C functions 'getpid()' and 'getppid()'.