From: Cristiano Giuffrida Date: Sat, 20 Dec 2014 00:29:37 +0000 (+0100) Subject: procfs: add service pid information X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=a8f606defaaaf0e848e7a006faebc6d29cb1a928;p=minix.git procfs: add service pid information Change-Id: I163ca4c6c6db45cca41515644ac6c2acd0807ee8 --- diff --git a/minix/fs/procfs/service.c b/minix/fs/procfs/service.c index 0dc2f6a19..06db732d7 100644 --- a/minix/fs/procfs/service.c +++ b/minix/fs/procfs/service.c @@ -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)); }