From owner-freebsd-amd64@freebsd.org Thu Feb 16 15:37:18 2017 Return-Path: Delivered-To: freebsd-amd64@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 5ABCDCE1EAF for ; Thu, 16 Feb 2017 15:37:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 31B9A187A for ; Thu, 16 Feb 2017 15:37:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v1GFbHQP096209 for ; Thu, 16 Feb 2017 15:37:18 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-amd64@FreeBSD.org Subject: [Bug 217144] procstat -e fails to report changes to environment. Date: Thu, 16 Feb 2017 15:37:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: mrT1188123@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2017 15:37:18 -0000 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.=