Skip to content

feat: Add NFS statistics support for AIX#1984

Closed
Dylan-M wants to merge 6 commits intoshirou:masterfrom
Dylan-M:dylanmyers/aix_nfs
Closed

feat: Add NFS statistics support for AIX#1984
Dylan-M wants to merge 6 commits intoshirou:masterfrom
Dylan-M:dylanmyers/aix_nfs

Conversation

@Dylan-M
Copy link
Copy Markdown
Contributor

@Dylan-M Dylan-M commented Dec 23, 2025

Description

Adds support for retrieving NFS (Network File System) statistics on AIX systems. This implementation provides both RPC and NFS client/server statistics.

This is a new package, and includes stubs for other OSes to return Not Implemented

Part 6 of splitting #1969: nfs package
Depends on #1979 #1980 #1981 #1982 #1983

Changes

  • New nfs package with core NFS statistics types and interfaces
  • AIX-specific implementation using the nfsstat command
  • Support for tracking RPC client and server statistics
  • Support for tracking NFS client and server statistics with per-operation counts
  • Fallback implementation for non-AIX platforms
  • Unit tests for AIX implementation

Files Added

  • nfs/nfs.go - Core NFS statistics types (RPCClientStat, RPCServerStat, NFSClientStat, NFSServerStat, StatsStat)
  • nfs/nfs_aix.go - AIX-specific implementation with caching support
  • nfs/nfs_aix_test.go - Unit tests for AIX implementation
  • nfs/nfs_fallback.go - Fallback for unsupported platforms

@Dylan-M Dylan-M changed the title Add NFS statistics support for AIX feat: Add NFS statistics support for AIX Dec 23, 2025
@shirou
Copy link
Copy Markdown
Owner

shirou commented Dec 26, 2025

Sorry, we don’t plan to introduce new packages anymore for now, particularly those that are not part of psutil.

@shirou shirou closed this Dec 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants