[Bug 217144] procstat -e fails to report changes to environment.

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Feb 16 15:37:18 UTC 2017


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

            Bug ID: 217144
           Summary: procstat -e fails to report changes to environment.
           Product: Base System
           Version: 10.3-RELEASE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Many People
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: mrT1188123 at gmail.com
                CC: freebsd-amd64 at FreeBSD.org
                CC: freebsd-amd64 at FreeBSD.org

procstat -e (PID) (for printing the environment variables of specified PID) 
fails to show updated environments.

This was noticed in the following scenario:
konsole-A  --- 
   procstat -e pidOf-konsole-B  > baseline.txt

konsole-B ---
   export MYTEST="ThisIsMy test string. mrT"

konsole-A ---
   procstat -e pidOf-konsole-B  > test1.txt

---> Both outputs was identical.
     Therefore, any environment changes are NOT reflected in 'procstat -e'
output.
     Got same result even when I ran the same 'procstat -e' on konsole-B.
     Note: other options of procstat, such as '-f' and '-r' (file descriptor,
resource usage)
           did sow updated info as expected.

konsole version 2.14.2
Using KDE Development Platform 4.14.10
kern.osrelease: 10.3-RELEASE-p5
kern.osrevision: 199506
kern.version: FreeBSD 10.3-RELEASE-p5 #0: Thu Jun 30 03:52:15 UTC 2016
    root at amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-amd64 mailing list