|
Server : Apache System : Linux 10-169-227-96.cprapid.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64 User : kwssawblade ( 1099) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /sbin/ |
Upload File : |
#!/usr/bin/python
# 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)