Visit Our UNIX and Linux User Community

Linux and UNIX Man Pages

Test Your Knowledge in Computers #198
Difficulty: Easy
Bash ranked in the top 20 programming languages according to the TIOBE Index for October 2019.
True or False?
Linux & Unix Commands - Search Man Pages

pid_alive(9) [centos man page]

PID_ALIVE(9)							   Driver Basics						      PID_ALIVE(9)

pid_alive - check that a task structure is not stale SYNOPSIS
int pid_alive(struct task_struct * p); ARGUMENTS
p Task structure to be checked. DESCRIPTION
Test if a process is not yet dead (at most zombie state) If pid_alive fails, then pointers within the task structure can be stale and must not be dereferenced. RETURN
1 if the process is alive. 0 otherwise. COPYRIGHT
Kernel Hackers Manual 3.10 June 2014 PID_ALIVE(9)

Check Out this Related Man Page

struct_hrtimer - the basic hrtimer structure SYNOPSIS
struct hrtimer { struct rb_node node; ktime_t _expires; ktime_t _softexpires; enum hrtimer_restart (* function) (struct hrtimer *); struct hrtimer_clock_base * base; unsigned long state; #ifdef CONFIG_TIMER_STATS int start_pid; void * start_site; char start_comm[16]; #endif }; MEMBERS
node red black tree node for time ordered insertion _expires the absolute expiry time in the hrtimers internal representation. The time is related to the clock on which the timer is based. Is setup by adding slack to the _softexpires value. For non range timers identical to _softexpires. _softexpires the absolute earliest expiry time of the hrtimer. The time which was given as expiry time when the timer was armed. function timer expiry callback function base pointer to the timer base (per cpu and per clock) state state information (See bit values above) start_pid timer statistics field to store the pid of the task which started the timer start_site timer statistics field to store the site where the timer was started start_comm[16] timer statistics field to store the name of the process which started the timer DESCRIPTION
The hrtimer structure must be initialized by hrtimer_init COPYRIGHT
Kernel Hackers Manual 2.6. July 2010 STRUCT HRTIMER(9)

Featured Tech Videos