HELO smtp.lalife.net
MAIL FROM: test@localhost
RCPT TO: test@lalife.net
DATA
FROM:test@localhost
Subject: test smtp
test smtp.
.
QUIT
Another way to send mail by command line
echo “testmail” | mail -s “test” yan@yan.lalife.net
HELO smtp.lalife.net
MAIL FROM: test@localhost
RCPT TO: test@lalife.net
DATA
FROM:test@localhost
Subject: test smtp
test smtp.
.
QUIT
Another way to send mail by command line
echo “testmail” | mail -s “test” yan@yan.lalife.net
[singlepic id=43 w=320 h=240 float=left]The past Saturday was a hot summer day in east LA area. We planned to hike up to Ice House Saddle before noon to avoid the heat.
It was pretty warm there on the trail but fortunately many trees gave us a nice shade here and there. A beautiful creek was running along at the beginning of the trail. Even in July there was a good amount of water, which added a high light to the hike. Maybe because of the creek, it was quite popular. On the way going up we met many hikers, especially asian hiker groups.
The trail was 7 miles long, 2300 feet escalation. After half way, we found that the trail started getting very steep, and the steepness almost lasted till the saddle. The saddle was a nice rest area with many trees and cooler wind. Several signs showed that it’s also a place that connects to trails to other famous peaks nearby, such as 3T (Timber, Telegraph, Thunder), Cucamonga peak, Mt Baldy, etc.
Because of the steep part, my legs got pretty tired on the way back. But it was a great work out. I am sure my legs got much stronger after this hike.
On the picture, you can see Mt Baldy, where we hiked up last year, clearly from half way to the saddle.
iptraf is a tool used to monitor the network traffic
To add more ports (beyond 104)
iptraf > Enter > Configure > Additional Ports
To change log interval
iptraf > Enter > Timers > Logging interval
Add/Delete/Active/Unactive Filter
iptraf > Enter > IP
Monitor traffic statistics by port
iptraf > Enter > Statistical breakdowns…
To run iptraf background for 10 min and send data to log files
/usr/bin/iptraf -B -s eth0 -t 10
Log file is under /var/log/iptraf/ by default
Install vnstat
tar -zxvf vnstat-1.xx.tar.gz
Compile and install
make all
make install
Use vnstat
create new database
vnstat -u -i eth0
database is created under /var/lib/vnstat/eth0
Setup cron to collect data
copy from examples/vnstat.cron
#vnstat
#vnstat -i eth0
#vnstat -d
#vnstat -m
rx = recieved
tx = transmitted
[singlepic id=42 w=320 h=240 float=left]日本猪肉酱汤在日语中写为”猪汁“,是我非常喜欢的日本家庭菜。过一段时间就会做一大锅,因为味道很好,做起来也容易,吃后觉得胃里也很舒服。
”猪汁“里有肥瘦都有的切得很薄的猪肉片,牛蒡,白萝卜,魔芋丝,芋头,香菇,当然还有日本的酱汁。除了酱汁之外,前三样是必须有的,后三样没有也可以。我有的时候还加些甘蓝。酱要最后关火之前放入。
热呼呼的来上一大碗,菜肉都有了,就着新做的白米饭,真是棒极了!