Ecosyste.ms: OpenCollective

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

github.com/giampaolo/psutil

Cross-platform lib for process and system monitoring in Python
https://github.com/giampaolo/psutil

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

a4b8d59403e4ea39a0ba52c91d8c22ffca38e5eb authored over 12 years ago
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

9b6fb34d4698542107f9258b1b87544548986a91 authored over 12 years ago
update CREDITS

06cc4e5ae86bfc44b1f860dcd1bfe8722e591e0b authored over 12 years ago
Fix 271: resolve any potential symlink with os.path.realpath() to fix test process name test

1d2b60fbfb6b733c3d5b33f153896d5f4034b711 authored over 12 years ago
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

b4dd1c6cd878f6e90bba7eecab3383d44e5c0f23 authored over 12 years ago
Fix #273: deprecate psutil.get_process_list()

509769c1eb058b284fa5cf4261852d180e1e2ce0 authored over 12 years ago
fix infinite loop of death which can occur with Process.get_children(recursive=True)

6a8045ce04339c47e0a4d84a2f62990691486c3d authored over 12 years ago
(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.

087c27bc25d58b0daf67b520905156a2421bbe4e authored over 12 years ago
Fix issue #272, Linux, process open files: fix potential race condition on os.readlink() + preentive check for absolutized file names.

3dd8b22e2d299d3199de136ee4a170b8684234a1 authored over 12 years ago
issue 18 (solaris): system virtmem (provisional as I'm not sure what to use to compare results)

7f07bd40069aa286a26e01cc79efde3f94f73ee8 authored over 12 years ago
issue 18 - Solaris: process cwd

9f988305b2d9a66c3a1f6939d4b1fb6d34deb4b5 authored over 12 years ago
issue #18 (solaris): process open files implementation

d11f30ddc9fac2a46ced18672dee9ee787edf056 authored over 12 years ago
#18 (solaris): implement process threads

ce4ed97d37e8d97a255b6f871da5a076b5d09423 authored over 12 years ago
(Solaris) cpu_times/per_cpu_times - the logic was inverted

85366eb9814f67b4990656a623ceb141fcff0f10 authored over 12 years ago
#18 (Solaris): rewrite process uids/gids in C

a7bffa724556f38549a18278ed643f0daf580b38 authored over 12 years ago
fix some POSIX tests for solaris due to 'ps' differences

b1a54816a827b034aade9da62c35c997ce155b5d authored over 12 years ago
#18 (solaris): implement disk_io_counters()

1fe4c75729f90c14ffaae40227471a9706810392 authored over 12 years ago
#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.

5d01a23e1fdfb0dc2bcfd3ba7ba2f881a384aca6 authored over 12 years ago
#18 (solaris): implement system CPU times

2d4958c473f34cc27121f650902064af4ce9d84b authored over 12 years ago
#18: (Solaris) implement disk_partitions()

d26e8853e826a3c35cdc3c3975b7cc5a3e36743a authored over 12 years ago
#18 (Solaris): implement get_users()

b51e6433b48b7d1cbf37161d641a41385f2bd964 authored over 12 years ago
#18: first commit of SunOS branch implemening different parts of the Process API relying on reading /proc.

a353063ea1be099b394529ff3726263e59ce1500 authored over 12 years ago
create sunos branch

ac15309e66660cbec996d1fa8bba818bb4b9b692 authored over 12 years ago
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.

24426c5a2fad68d9b49e39d8798a39a452027d8c authored over 12 years ago
Fix #266 (Windows): get_pid_list() only shows 1024 processes.

f8d5bf940af4d1df1cc7b74bf52f971d95080737 authored over 12 years ago
Fix for mingw32 support.

5c98438d8a3c5ff4f99a4b91f6170cd7b2cc5d59 authored over 12 years ago
Fix #267 (OSX): an erroneous remote address was returned for Process.get_connections() (patch by Amoser)

69cbec62a0bfa7ee6379576de3111a2bfdd44e03 authored over 12 years ago
Fix some VS compiler warnings.

d88364172bf1bea3a64f2d704ffbc07ed8e3cb70 authored almost 13 years ago
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...

bfbb8c8eae08c8c2824098f69b67dde9f7af8759 authored almost 13 years ago
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...

58e55fff294859bddc3f1844bd38c1dd871cd193 authored almost 13 years ago
Fix issue 209 (Windows - disk_partitions() options field).

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

4823a89a82a32c9a6b77e00817fc66346b985dd5 authored almost 13 years ago
Update HISTORY file + indentation.

7df44f46514f93d927adde446dad0ecb74a9e1d3 authored almost 13 years ago
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.

863923f8579fe7a7e9e2483d112f1cfee094e9ba authored almost 13 years ago
Fix issue 260: (Windows) process memory maps

54f5152a587446e62b4b5da6c4ab61b8c29b1c1c authored almost 13 years ago
Fix issue 260: (FreeBSD) process memory maps

14851525c14f185b3d000cae93059b53e0233667 authored almost 13 years ago
Fix issue 260: (Linux) process memory maps

475b8eee77845306a65fc50351c39562fd1367aa authored almost 13 years ago
Fix windows test failure

1291767c32ff657f9b61e740e3748b17c2a8dff4 authored almost 13 years ago
Update credits with my new email address and description

179b29c6e5641be15fcf31c5e20ae8a41db3be2a authored almost 13 years ago
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

d724643bab55e87d1a4f9f7c39f3c8abd5bf5294 authored almost 13 years ago
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)

e7212c52292dcb89dd233793a0ceefdf9f588be0 authored almost 13 years ago
Fix error condition memory leaks in get_open_files() for MSW. Scoped while loop body to make code clearer.

90a20b6f069a709745015ee23723e1950c742830 authored almost 13 years ago
Fixed (highly unlikely to happen) memory leak in get_arg_list on osx

aaf79b65664fef96d1a4a0e17b913c568fca4d98 authored almost 13 years ago
Fix memory leak in get_process_info for the NoSuchProcess and NtQuerySystemInformation() failed cases

d991379622589de33a6aac2f6ab5660ad2279947 authored almost 13 years ago
Add test which compares Process.create_time with ps

7e7d229574349429e395920a96692328f73f744f authored almost 13 years ago
Fix issue #195: implement process handles count on Windows.

54c1a1ee3b6411ab23d8f92706cc045ab850f4ab authored almost 13 years ago
Fix issue #209 (OSX): add partition options

52f982efa423cbcb610c9609a41235dbf0f9f2c0 authored almost 13 years ago
Fix issue #209 (FreeBSD): add partition options

19f9c37d62e09294317c9c68ee32c5eb66cb97a4 authored almost 13 years ago
Fix issue #209 (Linux): add partition options

187bd58d3f0e963405761330a72826739604bf58 authored almost 13 years ago
revert commit against __init__.py committed by accident and update HISTORY file

87c00dd8f70704b6847a1df8fefb11b750fec3ce authored almost 13 years ago
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.

3cb1abb43fc3a210a6fc3a9c310db45a03bd9f7b authored almost 13 years ago
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.

3f4ddc3190bd342f5e9c853cbe0ad0196e346e75 authored almost 13 years ago
add who.py example script

4f87de65750de3d2bc98cdbeb94a0eddc4d1049c authored almost 13 years ago
#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

db67b0f04c24f872f455ce92c5aa70249dc6e98a authored almost 13 years ago
Fix #242: implement Process.get_children(recursive=True)

61c508a0bfd2c602216902703ce266c301e27d6a authored almost 13 years ago
fix bug in psutil.Popen

645097209eaf5819d6a0a2f56a13513f251a7499 authored almost 13 years ago
docstring update

025e8ad7e7d9c82c70f360c8269ef0605056059b authored almost 13 years ago
test number of returned users against 'who'

6c4d4433ac4c94965bcbc97847cfe6b1aea5d459 authored almost 13 years ago
Fix #229: implement get_users() on OSX

052c74c84a17b9a55165e4d691f268229bae1ecb authored almost 13 years ago
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

e7a8ee18eec3c03d9a3e65edfa153ba3ae36b16a authored almost 13 years ago
fix compiler warning

5ba749ee6606d89ec6d6f8023481a39e55a2031d authored almost 13 years ago
Issue #229: get_users() FreeBSD implementation

456ae70ca24cab4b32d97e639d19c14b32be2c28 authored almost 13 years ago
convert ':0.0' to 'localhost'

55d57a8e8cb85eb1cd6851a2f7f34fe07502f635 authored almost 13 years ago
get_users() / Linux: make sure absoulte tty path actually exists, otherwise return the relative tty name

fe1bca0debcdda95a50cff9f8cefc7d4fb0fdb4e authored almost 13 years ago
revert change against memory leak script committed by accident

70870a61cdf743d28298197b7c28328d0de1493e authored almost 13 years ago
free buffer allocated by WTSEnumerateSessions

81ddd49b73b0bb9721c01d4725723da70c1370c3 authored almost 13 years ago
Issue #229: get_users() windows implementation.

1cc76a5c9cb5688bef2c624791a6156634542b25 authored almost 13 years ago
introduce assertIn usage into the test suite

fca86271e752b152603b10f89778031c8d9693ea authored almost 13 years ago
Issue #229: re-add Linux get_users() implementation.

6d585216c233ec4fe578c0c73da8568c749e88a5 authored almost 13 years ago
(Windows) add some missing FreeLibrary() calls which are supposed to be invoked after LoadLibrary().

98c386c5a29a1f22b146cc56f5d9331da8eaa51d authored almost 13 years ago
typo

1d19672f6f6f2f65dab7241802b3ff77e8f73000 authored almost 13 years ago
(OSX) add a test for total swap memory

eac8a504782976844c2ee5c52b1ded1da0a5cec8 authored almost 13 years ago
pass 'pid' to TimeoutExpired exception

9a6aeb8e4b8751a8509cca8000d1aaa6b88d5234 authored almost 13 years ago
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. :-\

ca630e19f91a7d3b62947d72471cfe35559a955f authored about 13 years ago
get_env / Windows: support for 64 bit architectures

90ed7ba6af4802a7ad8d572def4d8363259de5ca authored about 13 years ago
FIx #52: implement process env vars on Windows.

afc747a6570177c0d0cbc3376b9b96d8078fe434 authored about 13 years ago
Fix #52: process env vars on Linux

007413ae7c99243e4f90143df6192fa73c6bad8b authored about 13 years ago
indentation

b7b2d8333aea4dc5fe4f01f40617db718e651142 authored about 13 years ago
Fix issue 252: (Windows) in case of ERROR_PARTIAL_COPY raise AccessDenied instead of NoSuchProcess.

27cdec8f8fc1c53e8e18de74e4e174320ab10a65 authored about 13 years ago
update comments in Windows's get_process_cwd() which were erroneously referring to cmdline code

d9866aa7acb1c9682d3814043a53a7ea22fe4d6b authored about 13 years ago
Fix #248 (Linux): psutil.network_io_counters() might return erroneous NIC names

8109807e5c54c6f643769cdc946c9862409e9912 authored about 13 years ago
fix failing unittest

56fc184ad00f28851527100e66bc4d7ef0b3b526 authored about 13 years ago
use from __future__ import division to reduce python 2/3 incompatibilies

939ae0572aa18394224ecc7a7ba5a2e2ab8bdcc9 authored about 13 years ago
Fix #245: Process.wait() - increases the sleep delay incrementally.

47c4f287c46e8aaf8904fe4f80d09bd3b70d761c authored about 13 years ago
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.

e11fba523bef5115a8a9e1ed3cb34712b86143c9 authored about 13 years ago
pycharm refactoring

591844cfaf8d1514629f634d498e9e70de31f6fb authored about 13 years ago
Issue 238: (windows) implement process CPU affinity

89c04b68a7b726a240bd2950733c4e8a8159ee41 authored about 13 years ago
add NUM_CPUS test; add memory leak tests for get/set_cpu_affinity()

6cb54ae30faec23f4d1417eda00de36607f0ae43 authored about 13 years ago
Issue #238: process cpu affinity (Linux implementation)

3ba5c25d0997ecdd7445a2d7261a5ec8d7f911ba authored about 13 years ago
Added issue 240

e1169e1ce846f0e8f7ee9d3725c72438c5ad697d authored about 13 years ago
Issue #240: Incorrectly used free() in _psutil_osx.c

49f81d6fd19ac9af577ca31ea64d0d2711d84679 authored about 13 years ago
Fix getcwd() related test.

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

9eda960553b0f2fd2e02f7c457933c11a996a1b9 authored about 13 years ago
fix link

c760eba20c9882d9eccfddfbb7efb4d20203f64a authored about 13 years ago
remove wrong metadata in setup.py

5f63911dd186424e264ef52a6d75bc404e5f49db authored about 13 years ago
update HISTORY

acbb28e4b6ebd03ff050346f447b70a91c60d349 authored about 13 years ago
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.

51481684e8b704ddf549183080a087bfdfbbf025 authored about 13 years ago
remove get_users() code on Linux and BSD because we need a bug-fix only release for high-priority issues #232, #230 and #236

b553832c4368382d091d1d0d6d707fdc340f2a0e authored about 13 years ago
fix bytes2human(): in case of n < 1024 we were always returning '0'; we now return '%(num)sB' instead

e809dd911735a20e8861540936d9d77798316bdb authored about 13 years ago
update HISTORY

35fc607d889a674c02d6ca259de118e5eb87ed54 authored about 13 years ago
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...

960af1ec312214e3fdecdd129084c55aedbba16d authored about 13 years ago
wording + indentation fix

09db51f57be8cc4bf390ea614a017e21658f1b63 authored about 13 years ago