1. pgrep: for example, you can use pgrep-u root to replace PS-Ef | egrep '^ root' |
Awk '{print $2}' to capture the root PID.
2.
Pstree: I think this command is cool. It can directly list the process tree, or in other words, list the processes
Linux instructions for curl File TransferCommand: curlIn linux, curl is a File Transfer tool that uses URL rules to work under the command line. It can be said that it is a powerful http command line tool. It supports file upload and download. It is
Linux System Monitoring shell script and linuxshell script
The Code is as follows, which implements some common monitoring variables in Linux and shares them with you
Sysdig: a powerful tool for system troubleshooting
Sysdig monitors the operating system and captures system activities such as system calls and system events, making it look like a system-oriented tcpdump or Wireshark. If you plan to troubleshoot
Install Gitlab in Ubuntu 14.04
GitLab:
GitLab is an open-source project used for warehouse management systems. A web service built on Git as a code management tool. It provides Git version control, code check, Bug tracking, and Wiki. It can perform
Install multi-version JDK on MAC and switch between them
Environment:
Mac air, OS X 10.10, 64-bit
History:
In the past, Java on Mac was provided by Apple and only supported to Java 6, and the OS X 10.7 does not come with it (but is optional) (the
Linux regularly checks tomcat status and automatically restarts when it goes down.
Put the script directly:
#! /Bin/bash
# Author: jgd
# Date: 2017-09-15
# Automatically detects a tomcat status and restarts when an exception occurs.
# ---- Start ----
Apache one-click installation script and apache one-click script
To install apace in apache recently, you must configure apr, apr-util, and pcre. The so-called programmer's spirit is to reduce repetitive work. Please refer to the apache
1. software environment This article describes how to deploy ApacheSpark StandaloneCluster on Ubuntu. The required software is as follows: Ubuntu15.10x64ApacheSpark1.5.12. everything required for installation # sudoapt-getinstallgit-y #
A long time ago, I liked to use mobile phone 139 to set up nagios alarm emails. At that time, China Unicom's mobile phone mail text message function was not very mature. I tried the following usage, it still feels very convenient; 139 of Mobile
Use the Curl command in OpenStack to get token and access the underlying APIIn Oepnstack, access to the services provided (such as creating a virtual machine, etc.) requires first obtaining a certified token, which is a credential, obtained by
A long time ago, I liked to use mobile phone 139 to set up nagios alarm emails. at that time, China Unicom's mobile phone mail text message function was not very mature. I tried the following usage, it still feels very convenient; 139 of mobile
The file deletion principle has the following three points:1. File system reclaims the Inode, or is covered by the gods can not find back2. Delete all hard links (I_nlink equals 0)3. The service process does not read the Inode (i_ count equals
1#!/bin/Bash2 3 #4#0, configure unattended installation, define some of the information you need to use during installation5 #6mysql_root_pw=ROOT_PW7mysql_zabbix_pw=ZABBIX_PW8dbpassword=$mysql
Results from GoogleHttp://stackoverflow.com/questions/15623609/including-curl-into-the-android-aosp......................................................................................................................... .............................
Install the Phalcon extension in PHP, after the successful compilation, first in the php.ini added extension=phalcon.so , but when the use php -m of PHP warning error, while php -v also errors, and then deleted in the php.ini extension=phalcon.so , /
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.