[Bug 193116] New: pgrep -f init doesn't show pid = 1, but pgrep -af init does

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Aug 29 08:02:38 UTC 2014


            Bug ID: 193116
           Summary: pgrep -f init doesn't show pid = 1, but pgrep -af init
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: ngie at FreeBSD.org

pgrep -f init doesn't return anything on FreeBSD, but it does on Linux:

$ uname -a
FreeBSD freebsd-10-x64.localdomain 10.0-STABLE FreeBSD 10.0-STABLE #2
r270252+223d76d(stable/10): Wed Aug 20 20:55:18 PDT 2014    
root at freebsd-10-x64.localdomain:/usr/obj/usr/src/sys/GENERIC-WITHOUT-WITNESS 
$ pgrep -f init
$ pgrep -af init

This is present on a custom version of 7.x, 10, and 11.

You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list