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

restore compatibility with python 2.4 (yield couldn't be used withing a try/finally statement)

github.com/giampaolo/psutil - a4b8d59403e4ea39a0ba52c91d8c22ffca38e5eb authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix issue #274: rewrite code in an idiom which works with both python 2.x and 3.x avoiding the 2to3 run at installation time

github.com/giampaolo/psutil - 9b6fb34d4698542107f9258b1b87544548986a91 authored over 12 years ago by Giampaolo Rodola <[email protected]>
update CREDITS

github.com/giampaolo/psutil - 06cc4e5ae86bfc44b1f860dcd1bfe8722e591e0b authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix 271: resolve any potential symlink with os.path.realpath() to fix test process name test

github.com/giampaolo/psutil - 1d2b60fbfb6b733c3d5b33f153896d5f4034b711 authored over 12 years ago by Giampaolo Rodola <[email protected]>
net/disk IO stat functions: use a list comprehension in conjunction with sum()/zip() to calculate the sum of the total values instead of summing them one by one

github.com/giampaolo/psutil - b4dd1c6cd878f6e90bba7eecab3383d44e5c0f23 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix #273: deprecate psutil.get_process_list()

github.com/giampaolo/psutil - 509769c1eb058b284fa5cf4261852d180e1e2ce0 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix infinite loop of death which can occur with Process.get_children(recursive=True)

github.com/giampaolo/psutil - 6a8045ce04339c47e0a4d84a2f62990691486c3d authored over 12 years ago by Giampaolo Rodola <[email protected]>
(Solaris) in _fill_struct_from_file compare argument size with no. of bytes read from files and if they're different consider that an error.

github.com/giampaolo/psutil - 087c27bc25d58b0daf67b520905156a2421bbe4e authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #272, Linux, process open files: fix potential race condition on os.readlink() + preentive check for absolutized file names.

github.com/giampaolo/psutil - 3dd8b22e2d299d3199de136ee4a170b8684234a1 authored over 12 years ago by Giampaolo Rodola <[email protected]>
issue 18 (solaris): system virtmem (provisional as I'm not sure what to use to compare results)

github.com/giampaolo/psutil - 7f07bd40069aa286a26e01cc79efde3f94f73ee8 authored over 12 years ago by Giampaolo Rodola <[email protected]>
issue 18 - Solaris: process cwd

github.com/giampaolo/psutil - 9f988305b2d9a66c3a1f6939d4b1fb6d34deb4b5 authored over 12 years ago by Giampaolo Rodola <[email protected]>
issue #18 (solaris): process open files implementation

github.com/giampaolo/psutil - d11f30ddc9fac2a46ced18672dee9ee787edf056 authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (solaris): implement process threads

github.com/giampaolo/psutil - ce4ed97d37e8d97a255b6f871da5a076b5d09423 authored over 12 years ago by Giampaolo Rodola <[email protected]>
(Solaris) cpu_times/per_cpu_times - the logic was inverted

github.com/giampaolo/psutil - 85366eb9814f67b4990656a623ceb141fcff0f10 authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (Solaris): rewrite process uids/gids in C

github.com/giampaolo/psutil - a7bffa724556f38549a18278ed643f0daf580b38 authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix some POSIX tests for solaris due to 'ps' differences

github.com/giampaolo/psutil - b1a54816a827b034aade9da62c35c997ce155b5d authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (solaris): implement disk_io_counters()

github.com/giampaolo/psutil - 1fe4c75729f90c14ffaae40227471a9706810392 authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (solaris): implement per CPU times; get rid of the old C function which calculates system-wide times - use per-cpu times instead and make a sum of total values.

github.com/giampaolo/psutil - 5d01a23e1fdfb0dc2bcfd3ba7ba2f881a384aca6 authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (solaris): implement system CPU times

github.com/giampaolo/psutil - 2d4958c473f34cc27121f650902064af4ce9d84b authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18: (Solaris) implement disk_partitions()

github.com/giampaolo/psutil - d26e8853e826a3c35cdc3c3975b7cc5a3e36743a authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18 (Solaris): implement get_users()

github.com/giampaolo/psutil - b51e6433b48b7d1cbf37161d641a41385f2bd964 authored over 12 years ago by Giampaolo Rodola <[email protected]>
#18: first commit of SunOS branch implemening different parts of the Process API relying on reading /proc.

github.com/giampaolo/psutil - a353063ea1be099b394529ff3726263e59ce1500 authored over 12 years ago by Giampaolo Rodola <[email protected]>
create sunos branch

github.com/giampaolo/psutil - ac15309e66660cbec996d1fa8bba818bb4b9b692 authored over 12 years ago by Giampaolo Rodola <[email protected]>
enrich fetch_all_test by adding different sanity checks against various aspect of the Process API; not sure whether all the assumptions might work across all platforms - for now this is only tested on Linux and it passes.

github.com/giampaolo/psutil - 24426c5a2fad68d9b49e39d8798a39a452027d8c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix #266 (Windows): get_pid_list() only shows 1024 processes.

github.com/giampaolo/psutil - f8d5bf940af4d1df1cc7b74bf52f971d95080737 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix for mingw32 support.

github.com/giampaolo/psutil - 5c98438d8a3c5ff4f99a4b91f6170cd7b2cc5d59 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix #267 (OSX): an erroneous remote address was returned for Process.get_connections() (patch by Amoser)

github.com/giampaolo/psutil - 69cbec62a0bfa7ee6379576de3111a2bfdd44e03 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix some VS compiler warnings.

github.com/giampaolo/psutil - d88364172bf1bea3a64f2d704ffbc07ed8e3cb70 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Windows, get_memory_maps(): use lpMaximumApplicationAddress as a limit for number of iterations when using VirtualQueryEx to avoid ending up into an infinite loop.

Sources:
http://stackoverflow.com/questions/4035313/get-allocated-memory-regions-of-running-proce...

github.com/giampaolo/psutil - bfbb8c8eae08c8c2824098f69b67dde9f7af8759 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #257: remove Windows 2000 support (we won't miss you).

Other than the code removed in this commit, I checked that psutil was already broken on Windows 2...

github.com/giampaolo/psutil - 58e55fff294859bddc3f1844bd38c1dd871cd193 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 209 (Windows - disk_partitions() options field).

We now provide a string for "options" value on Windows by including:
- "ro" or "rw" permissions
...

github.com/giampaolo/psutil - 4823a89a82a32c9a6b77e00817fc66346b985dd5 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Update HISTORY file + indentation.

github.com/giampaolo/psutil - 7df44f46514f93d927adde446dad0ecb74a9e1d3 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 262: (Windows - disk_partitions()): move all the function logic in C rather than in python; in case of (all=False && type == DRIVE_REMOVABLE && drive_letter == "A:\\") avoid the os.stat() call in order to avoid the big slowdown we were facing.

github.com/giampaolo/psutil - 863923f8579fe7a7e9e2483d112f1cfee094e9ba authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 260: (Windows) process memory maps

github.com/giampaolo/psutil - 54f5152a587446e62b4b5da6c4ab61b8c29b1c1c authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 260: (FreeBSD) process memory maps

github.com/giampaolo/psutil - 14851525c14f185b3d000cae93059b53e0233667 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue 260: (Linux) process memory maps

github.com/giampaolo/psutil - 475b8eee77845306a65fc50351c39562fd1367aa authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix windows test failure

github.com/giampaolo/psutil - 1291767c32ff657f9b61e740e3748b17c2a8dff4 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Update credits with my new email address and description

github.com/giampaolo/psutil - 179b29c6e5641be15fcf31c5e20ae8a41db3be2a authored over 12 years ago by david daeschler <[email protected]>
Remove free() call on stack variable in get_process_environ() (WIN) causing heap corruption.

Add and comment out the ability to include PDB symbols with the windows release build for debugging

github.com/giampaolo/psutil - d724643bab55e87d1a4f9f7c39f3c8abd5bf5294 authored over 12 years ago by david daeschler <[email protected]>
It is not safe to use LocalFree with malloc'd memory. There could be a memory manager in use. (missing C++ smart pointers right now)

github.com/giampaolo/psutil - e7212c52292dcb89dd233793a0ceefdf9f588be0 authored over 12 years ago by david daeschler <[email protected]>
Fix error condition memory leaks in get_open_files() for MSW. Scoped while loop body to make code clearer.

github.com/giampaolo/psutil - 90a20b6f069a709745015ee23723e1950c742830 authored over 12 years ago by david daeschler <[email protected]>
Fixed (highly unlikely to happen) memory leak in get_arg_list on osx

github.com/giampaolo/psutil - aaf79b65664fef96d1a4a0e17b913c568fca4d98 authored over 12 years ago by david daeschler <[email protected]>
Fix memory leak in get_process_info for the NoSuchProcess and NtQuerySystemInformation() failed cases

github.com/giampaolo/psutil - d991379622589de33a6aac2f6ab5660ad2279947 authored over 12 years ago by david daeschler <[email protected]>
Add test which compares Process.create_time with ps

github.com/giampaolo/psutil - 7e7d229574349429e395920a96692328f73f744f authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #195: implement process handles count on Windows.

github.com/giampaolo/psutil - 54c1a1ee3b6411ab23d8f92706cc045ab850f4ab authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #209 (OSX): add partition options

github.com/giampaolo/psutil - 52f982efa423cbcb610c9609a41235dbf0f9f2c0 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #209 (FreeBSD): add partition options

github.com/giampaolo/psutil - 19f9c37d62e09294317c9c68ee32c5eb66cb97a4 authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #209 (Linux): add partition options

github.com/giampaolo/psutil - 187bd58d3f0e963405761330a72826739604bf58 authored over 12 years ago by Giampaolo Rodola <[email protected]>
revert commit against __init__.py committed by accident and update HISTORY file

github.com/giampaolo/psutil - 87c00dd8f70704b6847a1df8fefb11b750fec3ce authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix issue #258 (Linux): to get process memory info parse /proc/PID/statm instead of /proc/PID/status. The first one is easier to parse in it is 0.5x faster.

github.com/giampaolo/psutil - 3cb1abb43fc3a210a6fc3a9c310db45a03bd9f7b authored over 12 years ago by Giampaolo Rodola <[email protected]>
Issue #240, comment #6: get rid of 'double free' and 'non-aligned pointer being freed' errors; they were caused by free() being called more than once in the for loop.

github.com/giampaolo/psutil - 3f4ddc3190bd342f5e9c853cbe0ad0196e346e75 authored over 12 years ago by Giampaolo Rodola <[email protected]>
add who.py example script

github.com/giampaolo/psutil - 4f87de65750de3d2bc98cdbeb94a0eddc4d1049c authored over 12 years ago by Giampaolo Rodola <[email protected]>
#242: change the recursive algorithm to get process children: use a defaultdict to construct a table where 'values' are all the processes having 'keys' as their parent and then recursively iterate over it. This is an order of magnitude faster

github.com/giampaolo/psutil - db67b0f04c24f872f455ce92c5aa70249dc6e98a authored over 12 years ago by Giampaolo Rodola <[email protected]>
Fix #242: implement Process.get_children(recursive=True)

github.com/giampaolo/psutil - 61c508a0bfd2c602216902703ce266c301e27d6a authored over 12 years ago by Giampaolo Rodola <[email protected]>
fix bug in psutil.Popen

github.com/giampaolo/psutil - 645097209eaf5819d6a0a2f56a13513f251a7499 authored over 12 years ago by Giampaolo Rodola <[email protected]>
docstring update

github.com/giampaolo/psutil - 025e8ad7e7d9c82c70f360c8269ef0605056059b authored almost 13 years ago by Giampaolo Rodola <[email protected]>
test number of returned users against 'who'

github.com/giampaolo/psutil - 6c4d4433ac4c94965bcbc97847cfe6b1aea5d459 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix #229: implement get_users() on OSX

github.com/giampaolo/psutil - 052c74c84a17b9a55165e4d691f268229bae1ecb authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix issue #193: skip pid_exists() check in psutil.Popen constructor so that if the process spawned by subprocess.Popen terminates quickly we don't get a NoSuchProcess exception beforehand

github.com/giampaolo/psutil - e7a8ee18eec3c03d9a3e65edfa153ba3ae36b16a authored almost 13 years ago by Giampaolo Rodola <[email protected]>
fix compiler warning

github.com/giampaolo/psutil - 5ba749ee6606d89ec6d6f8023481a39e55a2031d authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Issue #229: get_users() FreeBSD implementation

github.com/giampaolo/psutil - 456ae70ca24cab4b32d97e639d19c14b32be2c28 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
convert ':0.0' to 'localhost'

github.com/giampaolo/psutil - 55d57a8e8cb85eb1cd6851a2f7f34fe07502f635 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
get_users() / Linux: make sure absoulte tty path actually exists, otherwise return the relative tty name

github.com/giampaolo/psutil - fe1bca0debcdda95a50cff9f8cefc7d4fb0fdb4e authored almost 13 years ago by Giampaolo Rodola <[email protected]>
revert change against memory leak script committed by accident

github.com/giampaolo/psutil - 70870a61cdf743d28298197b7c28328d0de1493e authored almost 13 years ago by Giampaolo Rodola <[email protected]>
free buffer allocated by WTSEnumerateSessions

github.com/giampaolo/psutil - 81ddd49b73b0bb9721c01d4725723da70c1370c3 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Issue #229: get_users() windows implementation.

github.com/giampaolo/psutil - 1cc76a5c9cb5688bef2c624791a6156634542b25 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
introduce assertIn usage into the test suite

github.com/giampaolo/psutil - fca86271e752b152603b10f89778031c8d9693ea authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Issue #229: re-add Linux get_users() implementation.

github.com/giampaolo/psutil - 6d585216c233ec4fe578c0c73da8568c749e88a5 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
(Windows) add some missing FreeLibrary() calls which are supposed to be invoked after LoadLibrary().

github.com/giampaolo/psutil - 98c386c5a29a1f22b146cc56f5d9331da8eaa51d authored almost 13 years ago by Giampaolo Rodola <[email protected]>
typo

github.com/giampaolo/psutil - 1d19672f6f6f2f65dab7241802b3ff77e8f73000 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
(OSX) add a test for total swap memory

github.com/giampaolo/psutil - eac8a504782976844c2ee5c52b1ded1da0a5cec8 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
pass 'pid' to TimeoutExpired exception

github.com/giampaolo/psutil - 9a6aeb8e4b8751a8509cca8000d1aaa6b88d5234 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Double the buffer size of the environment string because 4096 seems not to be enough (string gets truncated). Not sure whether this is safe though. :-\

github.com/giampaolo/psutil - ca630e19f91a7d3b62947d72471cfe35559a955f authored almost 13 years ago by Giampaolo Rodola <[email protected]>
get_env / Windows: support for 64 bit architectures

github.com/giampaolo/psutil - 90ed7ba6af4802a7ad8d572def4d8363259de5ca authored almost 13 years ago by Giampaolo Rodola <[email protected]>
FIx #52: implement process env vars on Windows.

github.com/giampaolo/psutil - afc747a6570177c0d0cbc3376b9b96d8078fe434 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix #52: process env vars on Linux

github.com/giampaolo/psutil - 007413ae7c99243e4f90143df6192fa73c6bad8b authored almost 13 years ago by Giampaolo Rodola <[email protected]>
indentation

github.com/giampaolo/psutil - b7b2d8333aea4dc5fe4f01f40617db718e651142 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix issue 252: (Windows) in case of ERROR_PARTIAL_COPY raise AccessDenied instead of NoSuchProcess.

github.com/giampaolo/psutil - 27cdec8f8fc1c53e8e18de74e4e174320ab10a65 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
update comments in Windows's get_process_cwd() which were erroneously referring to cmdline code

github.com/giampaolo/psutil - d9866aa7acb1c9682d3814043a53a7ea22fe4d6b authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix #248 (Linux): psutil.network_io_counters() might return erroneous NIC names

github.com/giampaolo/psutil - 8109807e5c54c6f643769cdc946c9862409e9912 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
fix failing unittest

github.com/giampaolo/psutil - 56fc184ad00f28851527100e66bc4d7ef0b3b526 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
use from __future__ import division to reduce python 2/3 incompatibilies

github.com/giampaolo/psutil - 939ae0572aa18394224ecc7a7ba5a2e2ab8bdcc9 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix #245: Process.wait() - increases the sleep delay incrementally.

github.com/giampaolo/psutil - 47c4f287c46e8aaf8904fe4f80d09bd3b70d761c authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Fix issue 244: always call time.sleep() in check_interval() function, no matter what the provided timeout is. If we get there, it means the process isn't gone at the first os.waitpid() call, therefore we are already into the busy loop.

github.com/giampaolo/psutil - e11fba523bef5115a8a9e1ed3cb34712b86143c9 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
pycharm refactoring

github.com/giampaolo/psutil - 591844cfaf8d1514629f634d498e9e70de31f6fb authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Issue 238: (windows) implement process CPU affinity

github.com/giampaolo/psutil - 89c04b68a7b726a240bd2950733c4e8a8159ee41 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
add NUM_CPUS test; add memory leak tests for get/set_cpu_affinity()

github.com/giampaolo/psutil - 6cb54ae30faec23f4d1417eda00de36607f0ae43 authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Issue #238: process cpu affinity (Linux implementation)

github.com/giampaolo/psutil - 3ba5c25d0997ecdd7445a2d7261a5ec8d7f911ba authored almost 13 years ago by Giampaolo Rodola <[email protected]>
Added issue 240

github.com/giampaolo/psutil - e1169e1ce846f0e8f7ee9d3725c72438c5ad697d authored almost 13 years ago by Jay Loden <[email protected]>
Issue #240: Incorrectly used free() in _psutil_osx.c

github.com/giampaolo/psutil - 49f81d6fd19ac9af577ca31ea64d0d2711d84679 authored almost 13 years ago by Jay Loden <[email protected]>
Fix getcwd() related test.

Process.getcwd() can return a path of a directory which has been removed in the meantime.
Also se...

github.com/giampaolo/psutil - 9eda960553b0f2fd2e02f7c457933c11a996a1b9 authored about 13 years ago by Giampaolo Rodola <[email protected]>
fix link

github.com/giampaolo/psutil - c760eba20c9882d9eccfddfbb7efb4d20203f64a authored about 13 years ago by Giampaolo Rodola <[email protected]>
remove wrong metadata in setup.py

github.com/giampaolo/psutil - 5f63911dd186424e264ef52a6d75bc404e5f49db authored about 13 years ago by Giampaolo Rodola <[email protected]>
update HISTORY

github.com/giampaolo/psutil - acbb28e4b6ebd03ff050346f447b70a91c60d349 authored about 13 years ago by Giampaolo Rodola <[email protected]>
Windows / get_connections(): socket constants turned into python objs were erroneously DECREFed before being used. Defined a macro to DECREF them all and used it before returning.

github.com/giampaolo/psutil - 51481684e8b704ddf549183080a087bfdfbbf025 authored about 13 years ago by Giampaolo Rodola <[email protected]>
remove get_users() code on Linux and BSD because we need a bug-fix only release for high-priority issues #232, #230 and #236

github.com/giampaolo/psutil - b553832c4368382d091d1d0d6d707fdc340f2a0e authored about 13 years ago by Giampaolo Rodola <[email protected]>
fix bytes2human(): in case of n < 1024 we were always returning '0'; we now return '%(num)sB' instead

github.com/giampaolo/psutil - e809dd911735a20e8861540936d9d77798316bdb authored about 13 years ago by Giampaolo Rodola <[email protected]>
update HISTORY

github.com/giampaolo/psutil - 35fc607d889a674c02d6ca259de118e5eb87ed54 authored about 13 years ago by Giampaolo Rodola <[email protected]>
Fixed bracket-less if statement, added comment for later review.

Possible issue on some systems if PhysicalDisk0 returns an invalid handle,
we end up with an emp...

github.com/giampaolo/psutil - 960af1ec312214e3fdecdd129084c55aedbba16d authored about 13 years ago by Jay Loden <[email protected]>
wording + indentation fix

github.com/giampaolo/psutil - 09db51f57be8cc4bf390ea614a017e21658f1b63 authored about 13 years ago by Giampaolo Rodola <[email protected]>