pageId = 2097156 | Source
여보세요 세계
こんにちは世界
你好世界
Emoticon
하나
둘
셋
Web Fundamentals
var express = require('express')
var app = express()
app.get('/', function (req, res) {
res.send('Hello World!')
})
app.listen(3000, function () {
console.log('Example app listening on port 3000!')
})
#!/bin/bash
read -p "Enter disk space must be usage: " disk;
usage=`df -h | awk '{print $5}' | sed -e N -e 's/\n//' | awk '{print $2}' | tr -d % -s "\n"`
devnm=`df -h | awk '{print $1}' | sed -e N -e 's/\n//' | awk '{print $2}' | tr -s "\n"`
str="============================="
if [ $usage -ge $disk ]; then
info="Disk usage for $devnm is more than $disk , Current Disk usage is $usage % "
echo -e "$str\n$info\n$str" |mail -s "Alert: Disk Usage for `hostname` on `date`" admin@example.com
else
info="Disk Usage is $usage% for $devnm"
# echo -e "$str\n$info\n$str" | mail -s "Alert: Disk Usage for `hostname` on `date`" admin@example.com
fi
var express = require('express')
var app = express()
#!/bin/bash
echo "haha"