Crinit -- Configurable Rootfs Init
Loading...
Searching...
No Matches
crinitTaskListEntry Struct Reference

#include <crinit-sdefs.h>

Data Fields

char * name
 Task name.
 
pid_t pid
 PID of currently running process subordinate to the task, if any.
 
crinitTaskState_t state
 Task state.
 
struct timespec createTime
 The time the task was created (loaded/parsed).
 
struct timespec startTime
 The time the task was last started (i.e. first command was spawned).
 
struct timespec endTime
 The time the task last ended (i.e. either failed or the last command is done).
 
gid_t gid
 GID of currently running process subordinate to the task.
 
uid_t uid
 UID of currently running process subordinate to the task.
 
char * username
 Username of currently running process subordinate to the task.
 
char * groupname
 Groupname of currently running process subordinate to the task.
 

Detailed Description

Type to represent an entry in a task list.

Field Documentation

◆ createTime

struct timespec crinitTaskListEntry::createTime

The time the task was created (loaded/parsed).

◆ endTime

struct timespec crinitTaskListEntry::endTime

The time the task last ended (i.e. either failed or the last command is done).

◆ gid

gid_t crinitTaskListEntry::gid

GID of currently running process subordinate to the task.

◆ groupname

char* crinitTaskListEntry::groupname

Groupname of currently running process subordinate to the task.

◆ name

char* crinitTaskListEntry::name

Task name.

◆ pid

pid_t crinitTaskListEntry::pid

PID of currently running process subordinate to the task, if any.

◆ startTime

struct timespec crinitTaskListEntry::startTime

The time the task was last started (i.e. first command was spawned).

◆ state

crinitTaskState_t crinitTaskListEntry::state

Task state.

◆ uid

uid_t crinitTaskListEntry::uid

UID of currently running process subordinate to the task.

◆ username

char* crinitTaskListEntry::username

Username of currently running process subordinate to the task.


The documentation for this struct was generated from the following file: