-
Notifications
You must be signed in to change notification settings - Fork 0
linux shell
felix0102 edited this page Jan 2, 2020
·
4 revisions
- cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l
- cat /proc/cpuinfo| grep "cpu cores"| uniq
- cat /proc/cpuinfo| grep "processor"| wc -l
- set a special rule for this user in the /etc/sudoers file using the following (note that there is no %, which is used to denote a group):
- oracle ALL=(ALL:ALL) ALL
- usermod -a -G wheel felix //注意改成你自己的用户名
- scp -r root@192.168.62.10:/root/ .
- ps -ef | grep oracle | grep -v grep | awk '{print "kill -9 "$2}' | sh
- ps -ef |wc -l
This is the footer page