keys of (j),(z), etc. in FreeBSD scheduler related stuff's comments
You can obtain latest list from sys/sys/proc.h:
| |
共58篇文章。
You can obtain latest list from sys/sys/proc.h:
| |
Just for fun:
Add the following to your /etc/csh.cshrc:
setenv LSCOLORS ExGxFxdxCxegedabagExEx
setenv CLICOLOR yes
set prompt = ‘[%B%n@%m%b] %B%~%b%# ’
set autolist
bindkey “^W” backward-delete-word
bindkey -k up history-search-backward
bindkey -k down history-search-forward
And execute:
sed -i.bak -E s/set\ prompt/#set\ prompt/g /root/.cshrc
Then re login.
Source code cleanup:
sed -i '' -E s/\ \ /\ /g *.c *.h
sed -i '' -E s/^\ \ \ \ \ \ \ \ /\ /g *.c *.h
sed -i '' -E s/\ \ \ \ \ \ \ \ \ /\ \ /g *.c *.h
sed -i '' -E s/\ +\$//g *.c *.hgrep cgi-bin scripttime | cut -f6,8 -d’ ’ | sed -E s/\\\?.+//g | grep cgi-bin | sort | uniq -c | sort > statis
Where scripttime is a log with %T (script execution time) log. The above command line will obtain execution time, script name from log, then sort it by the execution time, then have a counted unique.
Top ten established HTTP connection from IP to our box: (IP=127.0.0.1)
netstat -na | grep “127\.0\.0\.1\.80 " | grep ESTABLISHED | cut -c43- |cut -f1-4 -d’.’ | sort | uniq -c | sort -nr | head -10
Merge FreeBSD-CURRENT changes to delphijfork:
retag `cvs -d /home/fcvs rdiff -rHEAD -rDELPHIJ_FORK_LASTMERGE src | grep Index: | awk ‘{print $2;}’ | grep src`
It turns that I need to set up my own cvsup server so I can deploy my fork elsewhere. Here comes how.
A Dell Latitude D600 computer with Windows 2003 Server Enterprise Edition is experiencing problem when installing Windows Update from website. By downloading the hotfix, and trying to install it, it fails with “Data Error, 0x8000007d”
Mutt is a text driven Mail User Agent (MUA). It supports many useful features, including IMAP/POP3 (even TLS) support, and it is very neat.
Here is my configuration file.