41
Linux系统检查脚本-KaliArch
source link: http://blog.51cto.com/kaliarch/2308233
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
一、背景对登录一个系统,快速查看其系统信息,检查系统各项指标及参数,编写系统快速检查脚本。二、脚本请添加链接描述#!/bin/bash#auth:kaliarch#func:sysinfocheck#version:v1.0#sys:centos6.x/7.x[$(id-u)-gt0]&&echo"请用root用户执行此脚本!"&&exit1sysversion=$
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK