Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

psutil

Cross-platform lib for process and system monitoring in Python
Collective - Host: opensource - https://opencollective.com/psutil - Code: https://github.com/giampaolo/psutil

update HISTORY and pmap.py docstring

github.com/giampaolo/psutil - f5cd2fee589b436ad293c69347d75eac9ea90858 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 300: add examples/pmap.py script

github.com/giampaolo/psutil - d672f47ab0fda3d74b9909c72c56c862d2f27ec0 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 216 (OSX): add UNIX sockets support

github.com/giampaolo/psutil - 8f5062b14abd539f11a802e790e4fc7921c0786a authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 216 (FreeBSD): add UNIX sockets support

github.com/giampaolo/psutil - 24efa679f8da08e480ac2c5c923c9e60f7e96705 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 216 (Linux): add UNIX sockets support

github.com/giampaolo/psutil - 7a5e9d6760490e537494ecf568bb9a10f7908c0b authored over 12 years ago by Giampaolo Rodola <[email protected]>
OSX: raise warning in case of vm_deallocate() failes instead of printing a msg on stdoud + update HISTORY

github.com/giampaolo/psutil - 948010a9fbea73f06c8b8252a97e1249f57aaa28 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 299 (Windows): Py_DECREF every time we use PyList_New(0)

github.com/giampaolo/psutil - bff623c9773eebd95b14cb17dbda2ce4d0797e8b authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 299 (OSX): Py_DECREF every time we use PyList_New(0)

github.com/giampaolo/psutil - 4e2f0ef60fe474bb38805f27f98187ed76ac89e8 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 299 (Linux): Py_DECREF every time we use PyList_New(0)

github.com/giampaolo/psutil - 980c7f4248d2eab70acc7336ae0f880727013e81 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 299 (BSD): Py_DECREF every time we use PyList_New(0)

github.com/giampaolo/psutil - 7452912b2760962fa45826c36be7c12b6b736ccb authored over 12 years ago by Giampaolo Rodola <[email protected]>
(BSD) fix memory leak in get_num_fds()

github.com/giampaolo/psutil - 8bbad2b0111f212a8af868c0373b2a0fc29c9d31 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue 220: implement get_connections() in C on BSD - get rid of the old lsof parser

github.com/giampaolo/psutil - 6b0ed3faad874c55ad54d0d667743f8ffb396f96 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix 298: (OSX) memory leak in get_num_fds().

github.com/giampaolo/psutil - 23c0195687dcaf50541e21d5089dcb0a263d68cc authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix compiler warning

github.com/giampaolo/psutil - 303a1ef07f8afa631860bdd7bc31a3f1de179b3d authored over 12 years ago by Giampaolo Rodola <[email protected]>
OSX refactoring

github.com/giampaolo/psutil - c52323a52086278e3f55549980abba47424a6b8c authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix examples/top.py on OSX

github.com/giampaolo/psutil - fb93cf41df69bc50cddc94940ae1f2e7c5af5a2f authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 297: finally fix different AccessDenied problems on OSX by using proc_pidinfo() instead of task_for_pid()

github.com/giampaolo/psutil - 4ebf1126bd158e6ea7c91d986359ae9ecde2f653 authored over 12 years ago by Giampaolo Rodola <[email protected]>
remove hasattr() check for process getcwd() + add get_num_handles() memory leak test

github.com/giampaolo/psutil - f1ec37362c34b3b0da7bf879df882f0341d4ed84 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue 295: implement process exe on OSX instead of guessing it from the cmdline

github.com/giampaolo/psutil - 8c1afcfe2991c43d6e4750e3ef07c1a8e5b2b0fe authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue 222 (OSX): implement process cwd

github.com/giampaolo/psutil - 892c908aa51251a29f123e0b828995dc0c95ff9c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Windows: use PROCESS_QUERY_INFORMATION instead of PROCESS_QUERY_LIMITED_INFORMATION as the former is not availble on mingw32

github.com/giampaolo/psutil - 12cc0eb33df9a2ec7def8b26c472d544fde67e85 authored over 12 years ago by Giampaolo Rodola <[email protected]>
update version (sigh!)

github.com/giampaolo/psutil - 92b5255151b7ee0070c27e5edf14ffbdeeb634f0 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Windows / process exe: GetProcessImageFileName() might return an erroneus exe name; make a check with os.path.exists(exe) before returning.

github.com/giampaolo/psutil - bdbe4fde2e5c9f8944e2190db7591ef39b5414fe authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 294: (Windows) fix set_cpu_affinity(), there was an hard coded "1" in the function call which was ignoring the specified CPU mask (crap!).

github.com/giampaolo/psutil - f5849506d413bd4b3eadbb29b1508279c54c994a authored over 12 years ago by Giampaolo Rodola <[email protected]>
(Windows) refactoring: in case of PID 0 raise AccessDenied within handle_from_pid() instead of elsewhere to avoid code redundancy.

github.com/giampaolo/psutil - f0dd14e461d599bfe792576a382f194b85fa73d9 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 293: get real process executable path by asking the OS instead of guessing it from cmdline.

With this we get a lot more results than before.

github.com/giampaolo/psutil - bca2890fde0ff27e82558f3467fc18f3fbfbca04 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 292: race condition in process files/threads/connections.

github.com/giampaolo/psutil - 163f29d25f4c5d573fbd436e658829afe95bc1d9 authored over 12 years ago by Giampaolo Rodola <[email protected]>
update HISTORY

github.com/giampaolo/psutil - d84127401a0ed36726b06d557a8e4d0d6bee729c authored over 12 years ago by Giampaolo Rodola <[email protected]>
get_users(), rename 'options' ntuple field to 'opts' plus update README and HISTORY

github.com/giampaolo/psutil - b27c646b65bd840a50490cc08dedb7d5e50fac77 authored over 12 years ago by Giampaolo Rodola <[email protected]>
get_users(): on a second tought it's a bad idea to attempt the guess the absolutized path name of the terminal - in the face of ambiguity, let's refuse the temptation to guess.

github.com/giampaolo/psutil - 3dbba275b6d1e68587ca9a57d1213f68663f3421 authored over 12 years ago by Giampaolo Rodola <[email protected]>
osx/bsd fix relative import not working with python 3

github.com/giampaolo/psutil - 0dc9866e6641cfce2975e02a728505c2d3da9773 authored over 12 years ago by Giampaolo Rodola <[email protected]>
enhance uids/gids tests on POSIX

github.com/giampaolo/psutil - d44d40de88c6f03a658ae61356ab42432df1b3b9 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix failing test on Windows with strange 64-bit dll files which cannot be accessed via os.stat()

github.com/giampaolo/psutil - 692e4cda79a093c79f25ebe152cbf07cea40e7bf authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix some failing tests on Windows.

github.com/giampaolo/psutil - bc8387e3ff93402b4c32e1b2f0df06263a24f3de authored over 12 years ago by Giampaolo Rodola <[email protected]>
disk_io_counters() / network_io_counters(): raise RuntimeError if we can't get any information about disks or network interfaces.

Also, on Windows, add a note for DeviceIoControl() which fails with ERROR_INSUFFICIENT_BUFFER whe...

github.com/giampaolo/psutil - e323d10230ec3113d9e4b8545e0558713812f0d2 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(BSD)

- Process.exe: instead of an empty string return None
- write a specific test for get_memory_maps...

github.com/giampaolo/psutil - b2dc71b3f0632dd83cd1e8811de0a5890f11e5ba authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix some test failures on Linux when running as root

github.com/giampaolo/psutil - f3340bf75a0e7e7ed5939692c3343e71b7d7be55 authored over 12 years ago by Giampaolo Rodola <[email protected]>
use bare assert clauses where we want a more verbose message in case of test failure

github.com/giampaolo/psutil - bf49bbdfcc4f54d5138bdcdd541853bd41b1481a authored over 12 years ago by Giampaolo Rodola <[email protected]>
add more tests to fetch all test class

github.com/giampaolo/psutil - 2d61b4e762e9c678ad15c8c93e7e64092aee2cc6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
test refactoring: move test_fetch_all in a separate class for better maintanability as it grew too large

github.com/giampaolo/psutil - 2c20586ffb8f41bc630d376c2c0dafbd46fa9325 authored over 12 years ago by Giampaolo Rodola <[email protected]>
test refactoring: use test_fetch_all() as the only place where we check return values for all processes instead of using process_iter() in the single tests; this way we save a considerable amount of time (tests complete in 6 secs rather than 8) - more refactoring still has to come.

github.com/giampaolo/psutil - c92244961d0f4f31d319c75336fb7c98847a649d authored over 12 years ago by Giampaolo Rodola <[email protected]>
(windows) fix some py3 related errors

github.com/giampaolo/psutil - 37d26ffdeba60894a8aeba5f2b49beaa35eb22b2 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix 'dictionary changed size during iteration' error on python3.3 when using process_iter()

ERROR: test_fetch_all (__main__.TestCase)
-----------------------------------------------------...

github.com/giampaolo/psutil - 9865f9da725c801883af23787b93bd53ae9bfe4d authored over 12 years ago by Giampaolo Rodola <[email protected]>
- fix python 3 support on linux

- close process maps fd (fix ResourceWarning)
- process_iter(): fix 'dictionary changed size ...

github.com/giampaolo/psutil - 368c5d709bf7fdfa250b9386afad332deb124255 authored over 12 years ago by Giampaolo Rodola <[email protected]>
remove test_sys_cpu_percent_compare as it produces too many false positives

github.com/giampaolo/psutil - 5c5d8301b931d6a66e7e442f29de407f9897dccd authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue 290: deprecate Process.nice in favor of new get_nice() and set_nice() methods

github.com/giampaolo/psutil - d89fdb0520dc1d21ea178cf34a932be133e63ee7 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix yet another 2 test failures on win.

github.com/giampaolo/psutil - ba6cd3768f5ace934db2c15a67ef9b9f39543e57 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix get_users() heap corruption on Windows due to FreeLibrary used too soon.

github.com/giampaolo/psutil - 121db5062c2c589a756bc6e9462621deb7ffd30e authored over 12 years ago by Giampaolo Rodola <[email protected]>
removing doc directory - I became too lazy to maintain this separately plus there's really no actual point as everything is already maintained and updated online on gcode

github.com/giampaolo/psutil - 4fba874e5c7973c90192def516ef5ef8150caf9a authored over 12 years ago by Giampaolo Rodola <[email protected]>
remove Process.get_environ() due to different levels of unreliability on Windows and Linux

github.com/giampaolo/psutil - 1db65c901706390526799a0948e2b1218421112c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix for test_wait() on Windows - when inspecting process cretion time, it seems OpenProcess() does not raise NSP after the process is gone if we previously used p.wait().

Since it is important for p.create_time to raise NSP let's use GetExitCodeProcess() to make sure ...

github.com/giampaolo/psutil - dd56085994894b4d5927c1c4e31a24159102c53c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix some test failures on windows

github.com/giampaolo/psutil - 64da99ca6d5d307295bc011dc8fba08b739f4026 authored over 12 years ago by Giampaolo Rodola <[email protected]>
remove sys.platform.lower() redundancy when checking for what platform we're on; lower() is not necessary

github.com/giampaolo/psutil - 27d96af9e43426c32cf0952b5acc09ce9d0935d1 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix test_get_children_recursive failure on slow machines: give the sub-sub process some time to start

github.com/giampaolo/psutil - a4688be1a93dbf9ce15ff045e24b7a60be437db6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix failing test on OSX + skip get_memory_map memory leak test on OSX because it's too slow

github.com/giampaolo/psutil - 26c15ec9e4937df40ee7751652d0fce93364ca58 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 260: Implement mapped memory regions used by process for OS X.

* svn:ignore: Updated to ignore *.pyc files.

* HISTORY: Added my name to the Windows support fo...

github.com/giampaolo/psutil - cf18ae52882dd5faa1ae7ecce1e0c2eda8dc3f8f authored over 12 years ago by jcscoobyrs <[email protected]>
fix psutil.test() on OSX

github.com/giampaolo/psutil - e235363a973ba105b950a8aa2e4e7ffeeacbb2ee authored over 12 years ago by Giampaolo Rodola <[email protected]>
Process.as_dict(): watch for NotImplementedError exceptions when iterating over attrs and avoid to crash unless the user explicitly asked for that particular attr

github.com/giampaolo/psutil - a77898adf55f30b3b7b299f8fa5df573f7ffec8d authored over 12 years ago by Giampaolo Rodola <[email protected]>
enhanced test case for process_iter()

github.com/giampaolo/psutil - 7fed306dde1ad61fefa1333bd04459540567b2ab authored over 12 years ago by Giampaolo Rodola <[email protected]>
psutil.test() refactoring

github.com/giampaolo/psutil - ee966a3e0517ceafc74fe588c53aca26e8456fa3 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix #287: implement a cache for process_iter()

github.com/giampaolo/psutil - 8b735154be691ad10483acb4d408fe610a23a81c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 286 - cache process creation time at instantiation time so that it can be used later in is_running() method to check process identity

github.com/giampaolo/psutil - 0582a3249b388658816bceb9f83d47cac6862e57 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(FreeBSD) move get_process_memory_map() up so that psutil can compile on FreeBSD < 8

github.com/giampaolo/psutil - 602944b20fc1e107ebce0d3361ae5669254c31b3 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(FreeBSD) raise NotImplementedError instead of AttributeError for unsupported functions on FreeBSD < 8

github.com/giampaolo/psutil - 99c468bceb3b99e78da5be148ca1024bb8d5ccbc authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 284: get_num_fds() (BSD implementation)

github.com/giampaolo/psutil - 07023732b39bc488136a75b03bc27aed9440e8a1 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 284: get_num_fds() (OSX implementation)

github.com/giampaolo/psutil - a937a0de47929f96b99543411dc2aa1b43cb5f9a authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue 284: get_num_fds() (Linux implementation)

github.com/giampaolo/psutil - 530be2547c5350534b5221ce4d46dc83e3ce4dab authored over 12 years ago by Giampaolo Rodola <[email protected]>
(Linux - create time) use ''.rfind instead of ''.find when searching for ')' just in case the process contains ')' as part of its name

github.com/giampaolo/psutil - a3732786ccf09beacd431df319febabb6426943c authored over 12 years ago by Giampaolo Rodola <[email protected]>
speedup Process.is_running() a bit by avoiding to create a new Process instance. Instead use the underlying self._platform_impl.get_process_create_time() directly.

github.com/giampaolo/psutil - 6beee99172860a46e7487c942830ee2971688f26 authored over 12 years ago by Giampaolo Rodola <[email protected]>
import disk/net io namedtuples at module level to save some time

github.com/giampaolo/psutil - 117a44a78e9f2e4b5705b79b62ce54c56079c0bb authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 283: speedup Process.is_running() by caching its return value after the process is terminated.

github.com/giampaolo/psutil - b5969724d3c038ee3bba345d0bbc9a62fd125256 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #282: make psutil.STATUS_* constants str-comparable

github.com/giampaolo/psutil - d816b5c4be1a2f581e802c4be0c29ceb43cf5439 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #281: cache the return value of ppid, name, exe, cmdline and create_time properties of Process class (proposal by Tarek Ziadè)

github.com/giampaolo/psutil - c6b08cd464e5fb5de12c1f8b9f78cbde7eeb00a6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix some failing tests including a fix for issue 270

github.com/giampaolo/psutil - 2ced02b2c16fa7ae0c2ef7c833802889257098f6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix 278: add Process.as_dict()

github.com/giampaolo/psutil - be6c1b26e93882ce3b8a3a3b178b37cdee5d5073 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) disk_partitions(): if all == True only consider partitions having total size > 0

github.com/giampaolo/psutil - a8602748b2f77ac10b57be646e6181e6c71e82df authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) get_memory_maps() can return a path name which points to a symlink which cannot be resolved: if that's the case just return that unrelved link path name

github.com/giampaolo/psutil - 654c6be5eb76447555b8ac8853f135dd858f9ae7 authored over 12 years ago by Giampaolo Rodola <[email protected]>
diminish the failures on POSIX test's create time on sunos by rounding the ctime

github.com/giampaolo/psutil - 5500699f8c85f2a0da4625b655121a84d323fe2e authored over 12 years ago by Giampaolo Rodola <[email protected]>
merge

github.com/giampaolo/psutil - 6b0a83378148b06697904d2310252c8fa4fb1c13 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) this appears to avoid returning weird negative integers for connection status

github.com/giampaolo/psutil - 46e248a78aa596d7955594010d738dfbb39d0af3 authored over 12 years ago by Giampaolo Rodola <[email protected]>
add 'print_' function as 2/3 compatibility layer

github.com/giampaolo/psutil - 3fda52e9e85453ad8bb7b608b5f1dc9d04cbb7bb authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix sunos warning during compiling + fix a test I broke earlier

github.com/giampaolo/psutil - c598645fae9e433e82cded50ba1c118f71e82fe2 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix compile warning on sunos plus fix LimitedUserTestCase error when run as 'python setup.py test'

github.com/giampaolo/psutil - 704ef24917a01d7231b2e7643d68e7a9f08c07aa authored over 12 years ago by Giampaolo Rodola <[email protected]>
guess process exe only if cmdline[0] is an absolute path

github.com/giampaolo/psutil - 198f884b44dcc58830a043a09de6f4be40ffbf39 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) introduce filters for get_connections()

github.com/giampaolo/psutil - 7fc3c451e7f791a968667b0523ff0a4ab0c4dc96 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) make cpu_times() return float in order to be consistent with other platforms' return type

github.com/giampaolo/psutil - a9bc81a20ecfcc5b2f92754e12298e42aae0b37f authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) add commented-out C code for process IO counters; we're not going to add it this functionality as it seems it's not reliable

github.com/giampaolo/psutil - 7d4f5d9bbb83e433c614017afa2f5a44aac416c7 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) turn connection states into constants (from strings)

github.com/giampaolo/psutil - 08c21747a73ace987202c96a9a9a5b265a2b1a9b authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) use PyErr_SetFromErrnoWithFilename() when failing to read a file in /proc plus fix some other tests

github.com/giampaolo/psutil - 89a81bf399995130968b6d22e75318cefc129105 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) add special case for PIDs 2 and 3: getpriority() and setpriority() erroneously return ESRCH even if the process is still alive.

github.com/giampaolo/psutil - d85f2317099586acda52eefdde7cbddd66002b87 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) process cwd: /proc/PID/path/cwd may not be resolved by readlink() even if it exists - return None if that's the case

github.com/giampaolo/psutil - 4fc45770a639b3e777502348f44fea0b2faabb26 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) fix some failing tests

github.com/giampaolo/psutil - 93ca48db4d073bbdc3649197e00ce6b1e397daa6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) fix some example scripts not working on solaris

github.com/giampaolo/psutil - d833ab803f1a345c215caddb927875e10b02e419 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) fix some failing tests

github.com/giampaolo/psutil - 8e87f6e8288aa97d7c49373ee68a1b1043a0de6a authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) merge from default branch

github.com/giampaolo/psutil - 5ad171290c6e18e5ed78931501a11e85b7b9b5f3 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) re-establish Python 3 compatibility

github.com/giampaolo/psutil - 162c9ae223cf7dd336e6f66f3c00558c4e39080c authored over 12 years ago by Giampaolo Rodola <[email protected]>
(sunos) implement process connections.

This is still kind of beta as it:
- parses 'pfiles' cmd output in order to list UNIX sockets
- le...

github.com/giampaolo/psutil - eab90f96de93b7aec597d80658d3eb9b2b18f6d4 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue #275: raise NotImplementeError on old Linux platforms where /proc/PID/io is not available

github.com/giampaolo/psutil - 0d8c6ee142edffd715eeafba4abe785d2c9ef139 authored over 12 years ago by Giampaolo Rodola <[email protected]>
remove isinstance(pid, int) check in Process constructor; the right exception will already be raised by underlying pid_exists() function if it's the case

github.com/giampaolo/psutil - a270d010b15fd5872f9cacc89a84047e1daa087b authored over 12 years ago by Giampaolo Rodola <[email protected]>
ntuple_* variables renaming

github.com/giampaolo/psutil - 11727aae9e024d62f2d65ab006e31883d668efdf authored over 12 years ago by Giampaolo Rodola <[email protected]>