diff options
| author | Giampaolo Rodola <g.rodola@gmail.com> | 2018-06-26 16:57:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-06-26 16:57:36 -0700 |
| commit | 2f60e997fc1c500e0c245979bbecf2761f36e820 (patch) | |
| tree | 5459ce3b71fad107ec41c8b720811a8110a3380d /scripts | |
| parent | 7a3ed446447ec845a7d03b32233b4ed7b48f3c26 (diff) | |
| download | psutil-2f60e997fc1c500e0c245979bbecf2761f36e820.tar.gz | |
Rename OSX to macOS (#1298)
rename OSX to macOS
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/internal/bench_oneshot.py | 2 | ||||
| -rwxr-xr-x | scripts/internal/print_announce.py | 6 | ||||
| -rwxr-xr-x | scripts/iotop.py | 2 | ||||
| -rwxr-xr-x | scripts/pmap.py | 2 | ||||
| -rwxr-xr-x | scripts/procsmem.py | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/scripts/internal/bench_oneshot.py b/scripts/internal/bench_oneshot.py index 639e9ad7..28ad4bac 100755 --- a/scripts/internal/bench_oneshot.py +++ b/scripts/internal/bench_oneshot.py @@ -79,7 +79,7 @@ elif psutil.SUNOS: 'terminal', 'uids', ] -elif psutil.OSX: +elif psutil.MACOS: names += [ 'cpu_times', 'create_time', diff --git a/scripts/internal/print_announce.py b/scripts/internal/print_announce.py index 018fb092..c92cbcb2 100755 --- a/scripts/internal/print_announce.py +++ b/scripts/internal/print_announce.py @@ -39,9 +39,9 @@ monitoring, profiling and limiting process resources and management of \ running processes. It implements many functionalities offered by command \ line tools such as: ps, top, lsof, netstat, ifconfig, who, df, kill, free, \ nice, ionice, iostat, iotop, uptime, pidof, tty, taskset, pmap. It \ -currently supports Linux, Windows, OSX, Sun Solaris, FreeBSD, OpenBSD, NetBSD \ -and AIX, both 32-bit and 64-bit architectures, with Python versions from 2.6 \ -to 3.6. PyPy is also known to work. +currently supports Linux, Windows, macOS, Sun Solaris, FreeBSD, OpenBSD, \ +NetBSD and AIX, both 32-bit and 64-bit architectures, with Python versions \ +from 2.6 to 3.6. PyPy is also known to work. What's new ========== diff --git a/scripts/iotop.py b/scripts/iotop.py index 9f76eb1c..dabe957b 100755 --- a/scripts/iotop.py +++ b/scripts/iotop.py @@ -8,7 +8,7 @@ A clone of iotop (http://guichaz.free.fr/iotop/) showing real time disk I/O statistics. -It works on Linux only (FreeBSD and OSX are missing support for IO +It works on Linux only (FreeBSD and macOS are missing support for IO counters). It doesn't work on Windows as curses module is required. diff --git a/scripts/pmap.py b/scripts/pmap.py index 16eebb60..a509bd73 100755 --- a/scripts/pmap.py +++ b/scripts/pmap.py @@ -5,7 +5,7 @@ # found in the LICENSE file. """ -A clone of 'pmap' utility on Linux, 'vmmap' on OSX and 'procstat -v' on BSD. +A clone of 'pmap' utility on Linux, 'vmmap' on macOS and 'procstat -v' on BSD. Report memory map of a process. $ python scripts/pmap.py 32402 diff --git a/scripts/procsmem.py b/scripts/procsmem.py index a28794b9..ab9ad066 100755 --- a/scripts/procsmem.py +++ b/scripts/procsmem.py @@ -41,7 +41,7 @@ import sys import psutil -if not (psutil.LINUX or psutil.OSX or psutil.WINDOWS): +if not (psutil.LINUX or psutil.MACOS or psutil.WINDOWS): sys.exit("platform not supported") |
