Test syntaxVarious kinds of tests are usually performed in Bash's various process controls, and then different actions are performed based on the test results, sometimes in combination with conditional statements such as ifSyntax descriptionFormat-1:
User account Management:User account management, add, delete, modifyUser Password ManagementUser Group ManagementFirst, user account management1. Add User, Useradd#useradd option User Name-C Comment Specifies a descriptive description of the
1.CD entering the catalogue2../shuntdown.sh Stop Tomcat 3.ps-ef |grep + process name View process status 4. Kill+ process name strong kill kill-9 + process5./startup.sh & Background Launch6.tail-f catalina.out Console viewing logs7. output file:
Brendan Gregg is currently the senior performance architect for Netflix, where he performs large-scale computer performance design, analysis, and tuning. He is the author of technical books such as "Systems performance", and has been awarded the 2013
Command formatID [OPTION] ... [USERNAME]Command parameters-AIgnored and designed only for compatibility with other versions.-Z,--contextDisplays only the security environment for the current user.-G,--groupOnly valid user group IDs are displayed.-G,-
1. View System process commandsTopAfter entering can press s plus time, specify how long time to refresh2. View CPU InformationCat/proc/cpuinfo3. View memory InformationCat/proc/meminfo4. Clean up Memory: active garbage
Scp-r/home/space/music/[Email protected]:/home/root/others/remote server copy fileCopy from remote to localSCP [Email protected]/172.19.2.75:/home/root/full.tar.gz/home/daisy/full.tar.gzLS-LHT will list the size of all files in the current directory
The PS command is used to list the processes currently running on the system. Use this command to determine which processes are running and running, whether the process is complete, if the process is dead, which processes are consuming too many
Read Catalogue
Order
Check List
Common Linux Commands
Build the Environment
Series Index
This article is copyright Mephisto and Blog Park is shared, welcome reprint, but must retain this paragraph statement, and give
Linux view command termination process[Email protected]:~$ PS PID TTY time CMD 2576 pts/0 00:00:00 bash 2742 pts/0 00:00:00 ps[email protected ] : ~$ kill-9 [2742]bash:kill: [2742]: The parameter must be a process or a task ID-9
How to organize disk fragments in Linux
One myth is that Linux disks never need to be fragmented. In most cases, this is true, mostly because it uses excellent log systems (ext2, 3, 4, etc.) to process file systems. However, in some special cases,
Install JDK 8 in Ubuntu 15.04
I deleted the Java that comes with Ubuntu a few days ago, and finally encountered the problem of Picked up JAVA_TOOL_OPTIONS during installation. After searching for it online, I finally succeeded. Download the
How to install and configure KVM and Open vSwitch on the Linux release edition?
In today's multi-tenant data center environment, virtualization technology is expanding from traditional Virtual Machine Management Program-based server virtualization
Install Ubuntu 15.04 on a hard drive in Windows 7
This article describes how to install Ubuntu 15.04 on a hard disk in Windows. It is also applicable to other versions. Now we will talk about the simplest Ubuntu installation method.
1. Software
7 bond modes for linux NICsNow the storage product CSS uses the multi-nic bond6 mode. Here we will share with you the seven bond mode principles of the Multi-NIC: there are seven types of Linux multi-nic binding modes (0 ~ 6) bond0, bond1, bond2,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service