Figuring out which VID a process belongs to

Not much to tell …

root@prox2:~# ps aux |grep nrpe
nagios 15071 0.0 0.0 25284 648 ? Ss Mar27 0:36 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root 438172 0.0 0.0 7796 948 pts/4 S+ 14:16 0:00 grep nrpe
nagios 874676 0.0 0.0 25284 1148 ? Ss Apr01 0:08 /usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d
root@prox2:~# cat /proc/874676/status | grep envID
envID:	0
root@prox2:~# cat /proc/15071/status | grep envID
envID:	143

 

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar