Last active
August 29, 2015 13:56
-
-
Save NeilRobbins/8937781 to your computer and use it in GitHub Desktop.
Useful linux commands
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
#==== change text file end-of-line from DOS (Windows) to Linux ====# | |
find . -name "*.sh" -exec sed -i 's/\r\+$//g' '{}' \; | |
#==== hardware/system info ==== | |
numactl --hardware | |
dmesg | |
dmesg | grep -i numa | |
# perl script here: http://jcole.us/blog/files/numa-maps-summary.pl | |
#== which distro/version | |
cat /etc/*-release | |
uname -a | |
uname -mrs | |
cat /proc/version | |
#=== list processes === | |
top | |
pstree | |
#=== Memory allocations === | |
cat /proc/meminfo | |
free |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment