Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 12:47:11 +0400
From:      Andrey Chernov <ache@nagual.pp.ru>
To:        gad@freebsd.org, current@freebsd.org
Subject:   pgrep strangeness
Message-ID:  <20040330084711.GA44887@nagual.pp.ru>

next in thread | raw e-mail | index | archive | help
See the picture below. Why it print PID found 3 times?
Is it because too many 'sentinel's in the command line?
It looks like some analog of 'sort -u' should be performed (qsort(3)?)

# pgrep sentinel
547
547
547
# ps ax | grep sentinel
  547  ??  Ss     7:48,83 /usr/local/sbin/sentinel -v1 -c /usr/local/etc/sentinel

-- 
Andrey Chernov | http://ache.pp.ru/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040330084711.GA44887>