Last active
February 10, 2022 14:12
-
-
Save dongkwan-kim/ce463bdc9e1130d6050e19064a7a9a5c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nvidia-smi --query-compute-apps=pid,process_name,used_memory --format=csv | |
ps all --sort=-time | grep python | |
python -u analysis.py | tee log.txt | |
ps aux | grep -ie "query" | awk '{print $2}' | xargs kill -9 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment