Skip to content

Instantly share code, notes, and snippets.

@ubermachine
Last active January 21, 2021 13:52
Show Gist options
  • Save ubermachine/d10372d920ba869afc774442d6bce88f to your computer and use it in GitHub Desktop.
Save ubermachine/d10372d920ba869afc774442d6bce88f to your computer and use it in GitHub Desktop.
ps ax|less #show running processes search process using /process name
kill unresponsive programs
pidof PROGRAMNAME
kill $pidof
OR even better
kill $(pidof konsole)
eve better if killall node works
nice and renice to check/change priority
All list of tools related to system performance http://www.brendangregg.com/linuxperf.html
To check how much time a process is taking to finish
use-time processname
use perf for profiling node applications and apachebench to check server load
use pprofile3 for python and kcachegrind to visualize the time spent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment