procfs: add service pid information
Change-Id: I163ca4c6c6db45cca41515644ac6c2acd0807ee8
This commit is contained in:
parent
f5321d8d55
commit
a8f606defa
1 changed files with 1 additions and 0 deletions
|
@ -304,6 +304,7 @@ service_read(struct inode * node)
|
|||
/* TODO: add a large number of other fields! */
|
||||
buf_printf("filename: %s\n", rpub->proc_name);
|
||||
buf_printf("endpoint: %d\n", rpub->endpoint);
|
||||
buf_printf("pid: %d\n", rp->r_pid);
|
||||
buf_printf("restarts: %d\n", rp->r_restarts);
|
||||
buf_printf("policies: %s\n", service_get_policies(policies, slot));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue