https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193116

            Bug ID: 193116
           Summary: pgrep -f init doesn't show pid = 1, but pgrep -af init
                    does
           Product: Base System
           Version: 11.0-CURRENT
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: [email protected]
          Reporter: [email protected]

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    
[email protected]:/usr/obj/usr/src/sys/GENERIC-WITHOUT-WITNESS 
amd64
$ pgrep -f init
$ pgrep -af init
75489
1
$

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.
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
To unsubscribe, send any mail to "[email protected]"

Reply via email to