Process, port, and file usages in Linux
Use lsof
, fuser
, ss
, pgrep
, pstree
, ps
, htop
, etc. to find process, port and file usages in Linux.
Use lsof
, fuser
, ss
, pgrep
, pstree
, ps
, htop
, etc. to find process, port and file usages in Linux.
Databricks Connect allows you to connect your favorite IDE (PyCharm, VSCode, etc.) and other custom applications to Databricks compute and run Spark (or non-Spark) code.
This post is not a comprehensive guide on Databricks Connect; rather, it consists of side notes from the Azure Databricks docs. Most of the notes also apply to Databricks on AWS and GCP.
Name | Scope | web framework middleware | VSCode Extension |
---|---|---|---|
scalene | cpu, gpu, memory, duration | partially | yes |
cProfile (Python native, function level only and cli only) | duration | no | no |
VizTracer | duration | unknown | yes |
profyle (based on Viztracer) | duration | yes | no |
pyinstrument | duration | yes | no |
py-spy | duration | no | no |
yappi (cli only) | duration | unknown | no |
austin | duration | unknown | yes |
Interesting reading: