summaryrefslogtreecommitdiff
path: root/psutil/_psutil_aix.c
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-10-30 00:05:58 +0100
committerGiampaolo Rodola <g.rodola@gmail.com>2017-10-30 00:05:58 +0100
commitb30bef830aaa0adb0f3904ed805aa3174aaa2d49 (patch)
treeea5081227577eb80c3b090c5287fd29530a0bb1a /psutil/_psutil_aix.c
parentd6c54a02431d7ad6408231bcc7c8b1a3534c788b (diff)
downloadpsutil-b30bef830aaa0adb0f3904ed805aa3174aaa2d49.tar.gz
add DEVNOTES file; move TODO.aix into _psutil_aix.c
Diffstat (limited to 'psutil/_psutil_aix.c')
-rw-r--r--psutil/_psutil_aix.c24
1 files changed, 18 insertions, 6 deletions
diff --git a/psutil/_psutil_aix.c b/psutil/_psutil_aix.c
index 76ed736b..8ffc8f47 100644
--- a/psutil/_psutil_aix.c
+++ b/psutil/_psutil_aix.c
@@ -4,16 +4,28 @@
* All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
+ /*
+
+/*
+ * AIX support is experimental at this time.
+ * The following functions and methods are unsupported on the AIX platform:
+ * - psutil.Process.memory_maps
+ * - psutil.Process.num_ctx_switches
*
- * AIX platform-specific module methods for _psutil_aix
+ * Known limitations:
+ * - psutil.Process.io_counters read count is always 0
+ * - reading basic process info may fail or return incorrect values when
+ * process is starting (see IBM APAR IV58499 - fixed in newer AIX versions)
+ * - sockets and pipes may not be counted in num_fds (fixed in newer AIX
+ * versions)
*
+ * Useful resources:
+ * - proc filesystem: http://www-01.ibm.com/support/knowledgecenter/
+ * ssw_aix_61/com.ibm.aix.files/proc.htm
+ * - libperfstat: http://www-01.ibm.com/support/knowledgecenter/
+ * ssw_aix_61/com.ibm.aix.files/libperfstat.h.htm
*/
-// Useful resources:
-// proc filesystem: http://www-01.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.files/proc.htm
-// libperfstat: http://www-01.ibm.com/support/knowledgecenter/ssw_aix_61/com.ibm.aix.files/libperfstat.h.htm
-
-
#include <Python.h>
#include <sys/types.h>