1
0
mirror of https://github.com/shirou/gopsutil.git synced 2025-04-24 13:48:56 +08:00

2679 Commits

Author SHA1 Message Date
Aidan
bcde3cb240 Removed logging line 2024-06-06 14:39:57 +12:00
aidangill-projects
5dbbebffac
Merge branch 'shirou:master' into issue-1661 2024-06-06 14:39:08 +12:00
Aidan
8f3d0d0c57 Correctly parse new uptime case at zero minutes, has been tested against all test cases 2024-06-06 14:36:40 +12:00
Aidan
789cad37be Correctly parse new uptime case at zero minutes, has been tested against all test cases 2024-06-06 14:35:05 +12:00
Aidan
2b6d0754ed Comments 2024-06-06 12:42:03 +12:00
Aidan
42957707db Return error if hours not in expected format to prevent panic 2024-06-06 12:39:37 +12:00
shirou
ac15d68545
Merge pull request #1659 from aidangill-projects/issue-1658
Issue 1658: Fix for parsing error where 'day,' is ignored on AIX uptime check
2024-06-05 23:39:01 +09:00
Aidan
62e5850726 Fixed parsing error where 'day,' is ignored 2024-06-05 16:03:13 +12:00
shirou
29699cd493
Merge pull request #1656 from thechampagne/master
fix memory leak
2024-06-03 14:28:25 +09:00
XXIV
e19951c34f
fix memory leak 2024-06-02 14:22:22 +03:00
shirou
184fb1ccbc Add a link to v4 release note and Ex struct in README. 2024-06-01 06:03:21 +00:00
shirou
3489a343b2
Merge pull request #1628 from shirou/release/v4
Release/v4
v4.24.5
2024-06-01 12:43:16 +09:00
shirou
9d35f6e749 fix(github): change v4 to v4 in github actions and README 2024-06-01 08:39:55 +09:00
shirou
aca0ba4517 [aix]: move tempereture from host to sensors package. 2024-05-28 22:48:47 +09:00
shirou
c34d29a8bf fix: rename v3 that remained in file c to v4 2024-05-28 22:42:36 +09:00
shirou
6bdbf65126 [process]: Introduce DiskReadBytes on process which shows Disk IO only. 2024-05-28 22:27:17 +09:00
shirou.wakayama
0e9c0ade3c [host][windows]: change platform version from build version to display version 2024-05-28 22:27:17 +09:00
shirou
d725bd1786 fix lint 2024-05-28 22:27:17 +09:00
shirou
3caf443966 [mem][windows]: add ExWindows and implement VirualTotal/Avail
This commit fixes #1588. Thank you!
2024-05-28 22:27:17 +09:00
shirou
930a873984 [mem][linux]: add ExLinux on mem package and move VirtualMemoryEx info on it 2024-05-28 22:27:17 +09:00
shirou
989328f334 add sensors package on labeler. 2024-05-28 22:27:17 +09:00
shirou
5dfaba1490 [sensors][linux]: add ExLinux on sensors.
This commit references and fixes #1589. Thank you!
2024-05-28 22:27:17 +09:00
shirou
5cd488ff30 [net][linux]: remove unused files. go1.11 is not supported now. 2024-05-28 22:27:17 +09:00
shirou
e9591b5b01 rename redundant test function names, such as TestCPU in cpu package 2024-05-28 22:27:17 +09:00
shirou
85f5f3a8e2 process.Uids and process.Gids are now return uint32 2024-05-28 22:27:17 +09:00
Sergey Chernomorets
aace5e9d8f Groups in /proc/PID/status has type uint32.
Fix error of parser:
> error get info about worker process status 3150292: strconv.ParseInt:
> parsing "4294967293": value out of range

$ grep Groups /proc/self/status
Groups: 20001 [...] 4294967293
2024-05-28 22:27:17 +09:00
shirou
f9c39a6d8f fix mktypes.sh 2024-05-28 22:27:17 +09:00
shirou
ab0d977709 [sensors] move Temperatures from host to sensors. 2024-05-28 22:27:17 +09:00
shirou
bc060cc227 add SPDX License, remove old build tag, and replace import 2024-05-28 22:27:17 +09:00
shirou
87b0257e5b bump go version to 1.20, and update go.mod 2024-05-28 22:25:17 +09:00
shirou
42e7556a11 remove unnecessary files and remove coverall 2024-05-28 22:24:36 +09:00
shirou
4336530318
Merge pull request #1649 from shirou/feat/add_process_cwd_openbsd
[process][openbsd]: add cwd on openbsd.
v3.24.5
2024-05-28 22:20:00 +09:00
shirou
cb52f7a661
Merge pull request #1651 from Dylan-M/aix_support
Improve AIX Support
2024-05-27 22:26:31 +09:00
Niv Govrin
aa0b73dc6d
fix: return boot time from stat file
add missing return statement for boot time value retrieved from stat file. Also move current time fetch to be closer to where the "time since boot file" is read
2024-05-26 11:48:29 +03:00
Dylan Myers
125da53703 Update the README charts with the AIX information 2024-05-22 08:53:41 -04:00
Dylan Myers
ff4ae36cc0 Remove extraneous development note comments
Move a function from nocgo to main file for disk package
2024-05-22 08:25:39 -04:00
Dylan Myers
df9c9bf340 Update min version in the readme to match new required min version. 2024-05-21 19:18:11 -04:00
Dylan Myers
1d7b4a315e Revert accidental change of go version in go.mod (wasn't supposed to commit).
Version set properly to 1.18, which is the new minimum needed for changes in this branch.
Run go mod tidy again with version set back to 1.18.
2024-05-18 08:29:54 -04:00
Dylan Myers
9bf502f825 Fix logic errors, syntax errors, and typos 2024-05-17 23:57:00 -04:00
Dylan Myers
b133d602ce Ignore host_aix_ppc64 for now 2024-05-17 23:56:29 -04:00
Dylan Myers
b4d95a4991 Raise minimum go version to 1.18 (required by changes) and run go mod tidy 2024-05-17 21:32:31 -04:00
Dylan Myers
0917790819 Remove inappropriate package addition 2024-05-17 21:31:34 -04:00
Dylan Myers
8df2696709 Account for other possible formats output by AIX uptime command 2024-05-17 20:41:16 -04:00
Dylan Myers
a0bbccacc6 Only handle virtual memory when specifically requested 2024-05-17 15:25:05 -04:00
Dylan Myers
3bf34ce7fb Add AIX disk serial numbers for nocgo 2024-05-17 14:39:44 -04:00
Dylan Myers
ea8f72ed4a Add Usage for AIX nocgo 2024-05-16 09:32:46 -04:00
Dylan Myers
9be5f7d0ad Remove extraneous -1 from users function for AIX 2024-05-15 22:51:58 -04:00
Dylan Myers
bd42769f87 Add a working implementation of host.Users() for AIX 2024-05-15 22:12:03 -04:00
Dylan Myers
d551997afb Fix typos and code misplacement in AIX CPU handling 2024-05-15 22:07:56 -04:00
Dylan Myers
52d61b8669 Add host support for AIX 2024-05-15 21:44:58 -04:00