Tobias Klauser
cb29e40ade
Update github.com/tklauser/go-sysconf to v0.3.8
...
This fixes the build of go-sysconf on openbsd/386 and openbsd/arm, see
tklauser/go-sysconf#21 and rclone/rclone#5402 for context.
List of changes: https://github.com/tklauser/go-sysconf/compare/v0.3.6...v0.3.8
4 years ago
shirou
ff3e668a6d
Create FUNDING.yml
4 years ago
shirou
ab783600d3
Merge pull request #1116 from shirou/feature/port_to_v2_from_1112
...
[v2][process][linux] port 1112 to v2.
4 years ago
shirou
b27be3812b
[v2][process][linux] port 1112 to v2.
...
This port includes only code. test is not included.
4 years ago
shirou
efc3e519be
Merge pull request #1112 from xuyang2/process-name-linux
...
[process][linux] get name from /proc/(pid)/comm
4 years ago
xuyang2
45a01f678c
[process][linux] get name from /proc/(pid)/comm
4 years ago
xuyang2
7485c8041d
[process][linux] get name from /proc/(pid)/comm
4 years ago
xuyang2
a9757c7de9
[process][linux] get name from /proc/(pid)/comm
4 years ago
shirou
ae17bb5860
Merge pull request #1110 from shirou/feature/change_test_support_version_to_115_and_116
...
change test support version to 1.15 and 1.16.
4 years ago
shirou
1273f2cffb
change test support version to 1.15 and 1.16.
4 years ago
shirou
5c29bd904d
Merge pull request #1109 from shirou/dependabot/go_modules/v3/github.com/tklauser/go-sysconf-0.3.7
...
Bump github.com/tklauser/go-sysconf from 0.3.6 to 0.3.7 in /v3
4 years ago
dependabot[bot]
f41cf8143a
Bump github.com/tklauser/go-sysconf from 0.3.6 to 0.3.7 in /v3
...
Bumps [github.com/tklauser/go-sysconf](https://github.com/tklauser/go-sysconf ) from 0.3.6 to 0.3.7.
- [Release notes](https://github.com/tklauser/go-sysconf/releases )
- [Commits](https://github.com/tklauser/go-sysconf/compare/v0.3.6...v0.3.7 )
---
updated-dependencies:
- dependency-name: github.com/tklauser/go-sysconf
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
shirou
656e0c758a
Merge pull request #1108 from shirou/dependabot/go_modules/v3/github.com/stretchr/testify-1.7.0
...
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /v3
4 years ago
dependabot[bot]
cd789c0cf9
Bump github.com/stretchr/testify from 1.6.1 to 1.7.0 in /v3
...
Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify ) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/stretchr/testify/releases )
- [Commits](https://github.com/stretchr/testify/compare/v1.6.1...v1.7.0 )
---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
shirou
d7540e6cfc
Merge pull request #1113 from lespea/fixWmiAgain
...
Newest version of wmi
4 years ago
Adam Lesperance
7993cb68cc
Newest version of wmi
4 years ago
xuyang2
7203001e29
[process][linux] get name from /proc/(pid)/comm
4 years ago
shirou
48ca99694c
Merge pull request #1099 from edge/master
...
fix wmi version
4 years ago
shirou
a94b35811c
Merge pull request #1107 from rasa/patch-1
...
docs: fix typos and grammer
4 years ago
Ross Smith II
dda0350d41
Update README.rst
4 years ago
shirou
78e21dd887
Merge pull request #1097 from secDre4mer/master
...
feat: Add support for environment variable read
4 years ago
shirou
5fe3154cd3
Merge pull request #1106 from odinje/host-platform_family_rocky
...
Ensure rhel platform family for Rocky Linux
4 years ago
Max Altgelt
3ce14ac1bb
chore: Update golang.org/x/sys to NTStatus support
...
Update the requested version for golang.org/x/sys to the commit
that introduces support for NTStatus which is now used.
4 years ago
Ross Smith II
120ab7fb06
Update README.rst
4 years ago
Ross Smith II
ebe2843f84
More (opinionated) doc fixes
4 years ago
Ross Smith II
e364a40c47
docs: fix typo
4 years ago
odinje
a3e22baec0
Ensure rhel platform family for Rocky Linux
4 years ago
Max Altgelt
9ad6c64727
fix: Remove superfluous EnvironWithContext definitions
...
Since Darwin / FreeBSD / OpenBSD all use process_bsd.go, remove
the duplicated "not implemented" EnvironWithContext definitions
from their custom go files.
Signed-off-by: Max Altgelt <max.altgelt@nextron-systems.com>
4 years ago
Max Altgelt
5f61473ffd
fix: Correct UNICODE_STRING64 definition
...
Correct the UNICODE_STRING64 definition. The length is only
16 bits, followed by 16 bit max length and 32 bit padding.
4 years ago
shirou
4746baa8c7
Merge pull request #1101 from shirou/dependabot/github_actions/actions/labeler-3.0.2
...
Bump actions/labeler from 2 to 3.0.2
4 years ago
dependabot[bot]
0f84c89cb4
Bump actions/labeler from 2 to 3.0.2
...
Bumps [actions/labeler](https://github.com/actions/labeler ) from 2 to 3.0.2.
- [Release notes](https://github.com/actions/labeler/releases )
- [Commits](https://github.com/actions/labeler/compare/v2...v3.0.2 )
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
4 years ago
shirou
3814f4e2a1
Merge pull request #1100 from mmorel-35/chore/dependabot
...
Set up Dependabot
4 years ago
Matthieu MOREL
0e9c4d3b85
Update dependabot.yml
4 years ago
Matthieu MOREL
26442de1b3
Create dependabot.yml
4 years ago
Aneurin Barker Snook
42f69011cc
fix wmi version
4 years ago
Max Altgelt
73fee847e6
chore: add tests
...
Add simple tests to verify that environment variables are read.
4 years ago
Max Altgelt
5337ed8408
chore: Add changes to v3 gopsutil
4 years ago
Max Altgelt
b02b92e16b
feat: Add support for environment variable read
...
Add support (for Linux and Windows for now) for reading the
environment variables of a process, with a similar syntax to
os.Environ().
For Windows, this includes some refactoring for clean access to the
RTL_USER_PROCESS_PARAMETERS structure which points to the command
line and the environment variables.
4 years ago
shirou
42d667edb6
Merge pull request #1096 from lespea/goModWMI
...
Update wmi to go.mod supported version
4 years ago
Adam Lesperance
8a083b8393
Update wmi to go.mod supported version
4 years ago
Ralph Schmieder
9494ebdd94
Additional Darwin CGO implementation
...
- added CwdWithContext to get the current working dir of a process
- added CmdLineWithContext natively w/ support for spaces etc.
4 years ago
shirou
ec072d99db
Merge pull request #1091 from shirou/add_other_flag_to_shellcheck
...
change to use ludeeus/action-shellcheck for shellcheck.
4 years ago
shirou
92aa11e80a
use ludeeus/action-shellcheck for shellcheck.
4 years ago
shirou
d87e955d79
Merge pull request #1090 from MyaLongmire/windows_name_fix
...
simplify mutex usage
4 years ago
shirou
daec167ba2
Merge pull request #1087 from ivandeex/openbsd-process-nocgo
...
process, v3/process (openbsd): remove remaining CGO bits from CmdlineSliceWithContext
4 years ago
Mya
cb512c8500
simplify mutex usage
4 years ago
shirou
7ea8062810
Merge pull request #1083 from elmeyer/fix-processes-smartos
...
process, v3/process (Linux): fix Processes in SmartOS lx containers
4 years ago
shirou
fcbe555401
Merge pull request #1088 from fredwangwang/fix-slow-cpuinfo-win
...
processor, v3/processor (Win): fix slow cpuinfo on multisocket config
4 years ago
Huan Wang
6a572952f0
fix slow cpuinfo on multisocket config
...
updated win32_Processor struct to exclude loadpercentage field.
The loadpercentage takes linearly more time as the # of sockets
increases. By default vSphere maps 1 vCPU to 1 socket, resulting in very
poor performance when getting CPU info against, saying, 40 vCPU VM
(basically 40 sockets as seen by the VM).
4 years ago
Lars Meyer
e89412a81e
[process][linux] copy test for missing iotime in SmartOS lx containers to v3
4 years ago