| Server IP : 52.9.100.119 / Your IP : 216.73.216.250 Web Server : Apache/2.4.61 (Amazon) OpenSSL/1.0.2k-fips PHP/7.3.30 Phusion_Passenger/5.1.5 System : Linux ip-172-31-9-35 4.14.355-196.618.amzn1.x86_64 #1 SMP Mon Apr 7 17:09:50 UTC 2025 x86_64 User : root ( 0) PHP Version : 7.3.30 Disable Function : exec,passthru,shell_exec,system,popen,proc_open MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /proc/thread-self/root/sbin/ |
Upload File : |
#!/bin/bash # Copyright (C) 2014 Amazon.com, Inc. or its affiliates. # All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"). # You may not use this file except in compliance with the License. # A copy of the License is located at # # http://aws.amazon.com/apache2.0/ # # or in the "license" file accompanying this file. This file is # distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS # OF ANY KIND, either express or implied. See the License for the # specific language governing permissions and limitations under the # License. if [ "$#" -ne 1 ] ; then echo "$0 <device path>" >&2 exit 1 fi grep -qE '\bmaxcpus=' /proc/cmdline if [ "$?" -ne 1 ]; then echo "maxcpus set, not bringing up additional cpus" >&2 exit 2 fi if [ ! -e /sys$1/online ]; then echo "/sys$1/online does not exist" >&2 exit 3 fi echo 1 > /sys$1/online