HEX
Server: nginx/1.24.0
System: Linux prod-btpayments-io 6.14.0-1018-aws #18~24.04.1-Ubuntu SMP Mon Nov 24 19:46:27 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //proc/3641787/root/sbin/iotop-py
#!/usr/bin/python3
# iotop: Display I/O usage of processes in a top like UI
# Copyright (c) 2007, 2008 Guillaume Chazarain <guichaz@gmail.com>, GPLv2
# See iotop --help for some help

from __future__ import print_function
import sys

try:
    from iotop.ui import main
except ImportError as e:
    print(e)
    print('To run an uninstalled copy of iotop,')
    print('launch iotop.py in the top directory')
else:
    try:
        main()
    except KeyboardInterrupt:
        pass
    sys.exit(0)