You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gopsutil/process
Lomanic 8b96d2e9e2 [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes
e2c79a1 started to blindly set the process name to the full path (instead of the basename) of the cmdline exectuable
if the process name from the process comm was truncated on linux. Python psutil never did that, and this is just wrong
for python (or any executable interpreted script) where the process name is not the interpreter binary but the script
itself.

A new test to check process name value against psutil value is added here, which would hopefully catch any potential
future changes in psutil.

Reverts #542

Fixes #1485
2 years ago
..
testdata Drop test for Darwin Pids() 3 years ago
process.go fix some comments 2 years ago
process_bsd.go gofumpt 3 years ago
process_darwin.go [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes 2 years ago
process_darwin_amd64.go gofumpt 3 years ago
process_darwin_arm64.go gofumpt 3 years ago
process_darwin_cgo.go Fix memory leaks in darwin_cgo 2 years ago
process_darwin_nocgo.go refactor: remove unnecessary exec.LookPath calls 3 years ago
process_fallback.go [process] implement ParentWithContext using PpidWithContext 3 years ago
process_freebsd.go [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes 2 years ago
process_freebsd_386.go run go fmt ./... 8 years ago
process_freebsd_amd64.go run go fmt ./... 8 years ago
process_freebsd_arm.go Add native struct support for FreeBSD/arm. 8 years ago
process_freebsd_arm64.go gofumpt 3 years ago
process_linux.go [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes 2 years ago
process_linux_test.go allow to pass context values to override environment variables 2 years ago
process_openbsd.go [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes 2 years ago
process_openbsd_386.go gofumpt 3 years ago
process_openbsd_amd64.go run go fmt ./... 8 years ago
process_openbsd_arm.go host: add support for OpenBSD/armv7 3 years ago
process_openbsd_arm64.go gofumpt 3 years ago
process_plan9.go [process] implement ParentWithContext using PpidWithContext 3 years ago
process_posix.go allow to pass context values to override environment variables 2 years ago
process_posix_test.go gofumpt 3 years ago
process_race_test.go gofumpt 3 years ago
process_solaris.go allow to pass context values to override environment variables 2 years ago
process_test.go [process][posix] Realign process.Name() with python psutil to return same value on python3 scripts processes 2 years ago
process_windows.go [process][windows] Retrieve process name as basename of executable 2 years ago
process_windows_32bit.go fix lint 2 years ago
process_windows_64bit.go [process][windows] Fix #1216 fix compilation on arm/arm64 3 years ago
types_darwin.go gofumpt 3 years ago
types_freebsd.go gofumpt 3 years ago
types_openbsd.go gofumpt 3 years ago