Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Feb 2017 15:37:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-amd64@FreeBSD.org
Subject:   [Bug 217144] procstat -e fails to report changes to environment.
Message-ID:  <bug-217144-6@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D217144

            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@FreeBSD.org
          Reporter: mrT1188123@gmail.com
                CC: freebsd-amd64@FreeBSD.org
                CC: freebsd-amd64@FreeBSD.org

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

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

konsole-B ---
   export MYTEST=3D"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 descripto=
r,
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@amd64-builder.pcbsd.org:/usr/obj/usr/src/sys/GENERIC

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



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