Committing the first of my dotfiles

This commit is contained in:
Ubuntu
2017-05-29 19:24:39 +00:00
commit 941a12e166
5 changed files with 354 additions and 0 deletions

26
bashrc Normal file
View File

@@ -0,0 +1,26 @@
# .bashrc
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
# User specific aliases and functions
#export PS1="\u@\h\w$ "
alias ll='ls -la'
## pass options to free ##
alias meminfo='free -m -l -t'
## get top processes eating memory ##
alias psmem='ps auxf | sort -nr -k 4'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
## get top processes eating CPU ##
alias pscpu='ps auxf | sort -nr -k 3'
alias pscup10='ps auxf | sort -nr -k 3 | head -10'
## get server CPU info ##
alias cpuinfo='lscpu'