linux集群常用命令有什么?集群(cluster)技术是一种较新的技术,通过集群技术,可以在付出较低成本的情况下,获得在性能、可靠性、灵活性方面的相对较高的收益,其任务调度则是集群系统中的核心技术。
1.常用系统关机命令:
halt ,init 0 ,poweroff ,shutdown -h now ,shutdown -h 10
2.常用系统重启命令:
reboot , shutdown -r now , init 1
3.添加主机名与IP映射
[root@controller ~]# vi /etc/hosts192.168.48.10 controller192.168.48.20 compute
4.shell
#!/bin/bash
# 上面中的 #! 是一种约定标记,它可以告诉系统这个脚本需要什么样的解释器来执行
5.crontab任务配置基本格式:
* * * * * command
分钟(0-59) 小时(0-23) 日期(1-31) 月份(1-12) 星期(0-6,0代表星期天) 命令
举例来说:
0 1 * * * /home/testuser/test.sh
每天晚上1点调用/home/testuser/test.sh
*/10 * * * * /home/testuser/test.sh
每10钟调用一次/home/testuser/test.sh
以上是关于linux集群常用命令的介绍。

神马VPS










最新评论
Just desire to say your article is as amazing. The clearness to your put up is just spectacular and i can think you're knowledgeable on this subject. Fine along with your permission let me to snatch your RSS feed to keep up to date with drawing close post. Thank you one million and please continue the enjoyable work.
You have made some really good points there. I checked on the web for more information about the issue and found most individuals will go along with your views on this site.
Hi there, just changed into aware of your blog through Google, and found that it's really informative. I'm gonna watch out for brussels. I will be grateful when you continue this in future. A lot of people shall be benefited out of your writing. Cheers!
That is very interesting, You are an excessively skilled blogger. I have joined your rss feed and sit up for in quest of more of your great post. Additionally, I've shared your site in my social networks
Fantastic goods from you, man. I've understand your stuff previous to and you're just extremely wonderful. I really like what you've acquired here, really like what you're saying and the way in which you say it. You make it entertaining and you still take care of to keep it sensible. I can't wait to read far more from you. This is really a terrific website.
Hi there to all, how is everything, I think every one is getting more from this website, and your views are nice in support of new users.
wonderful publish, very informative. I wonder why the opposite specialists of this sector do not notice this. You must proceed your writing. I'm sure, you've a huge readers' base already!
This is my first time pay a visit at here and i am truly impressed to read all at one place.