Linux Process Monitoring and automatic restart implementation

SNMPProgramI often stop it myself, so I wrote the following script to record it.   #! /Bin/shproc_name = "net-snmp-5.5" # process name file_name = "/jfdata01/snmp/Shell/cron. log "# Log File pid = 0proc_num () # Number of computing processes {num

[Systemtap] installing systemtap in Linux using the systemtap source code

ArticleThe http://blog.csdn.net/zklth/archive/2010/09/28/5912785.aspx introduces the use of centos default systemtap, Here introduces the use of systemtap source code independent installation systemtap. Source code Systemtap:

In Linux, the socket port cannot be released.

My workflow contains an Instant Messaging Server deployed under tomcat. After Tomcat is started in a Linux system, the server is started and the specified socket port is in the listening state. However, when Tomcat is stopped, the socket cannot be

[Ace] Ace Program Development in Windows and Linux

Ace Program Development in Windows and Linux (1) Ace Program Development in Windows Tool: VS 2005 ace (1) Development Environment Settings (A) Open VS 2005, tool --> Option --> project and solution --> VC ++ directory Add the following

In Linux, how does one use commands to modify the user group to which a file belongs?

First, let's take a look at the file attributes, In the shell environment, enter LS-L to view the current directory file. For example: Drwxr-XR-x 2 NSF users 1024 12-10 download file backup They correspond: File Attribute connection count file owner

Linux Process view command

Linux ps command usage 15:19:57 | category:Linux | label:| Font sizeSubscription PS is the most commonly used and very powerful process view command in Linux 1. PS Overview The two commands described above are used to view the current system user

Linux technical Article --- Guide to Using File Server vsftp

Vsftpd is a very good FTP server software that can be used to quickly deploy a powerful FTP server. Knowledge point: 1. FTP uses TCP connection and TCP port 2. During communication, FTP needs to establish two TCP connections: One for control

In Linux, the SQL plus upper and lower keys cannot display historical commands.

After running SQL statements in Linux sqlplus, you can use the up and down keys to find out the historical commands. Follow the steps below to set 1. Download rlwrap from http://download.csdn.net/user/kkdelta 2. Install rlwrap [root@localhost]# tar -

Install five or more Microsoft fonts in Linux

Prerequisites: redhat9.0: log on to Linux with simplified Chinese characters and KDE Desktop. 1. Install the fcitx five-stroke input method: I tried many methods on the Internet and couldn't install them even when I found that there were a number of

Linux 2.4.x Network Security Framework

1. Overview Before analyzing the implementation of linux2.4.x network security, we will briefly introduce several important concepts in linux2.4.x: netfilter, iptables, match, target, nf_sockopt_ops, and network security functions. The detailed

Policy-based routing 2.2 kernel in Linux

By Everywhere Author: Matthew G. Marsh Source: http://www.sysadminmag.com/linux/articles/v09/i01/a3.htm Ideal Currently, the traditional routing algorithms used in computer networks are routing selection based on the IP package destination

Install and use libpcap in Linux

1, Environment: ubuntu10.04 + libpcap-1.4.0.tar.gz 2, Libpcap download: official address-http://www.tcpdump.org/#latest-release to download the latest version of Libpcap. 3. Decompress libpcap-1.4.0.tar.gz: tar-zxvf libpcap-1.4.0.tar.gz 4,

Linux compression (decompression) command details

Linux compression (decompression) command details Note: This article is based on the Internet, but has been modified by the author.1. tar commandTar can create files and directories. Using tar, you can create a file (backup file) for a specific

Linux logon brute-force cracking tool Hydra

Hydra is a brute-force cracking tool mainly for Linux. If you know that the valid user name is better, if you do not know it, it does not matter. Directly crack the root user in one step. Let's take a look at the display of hydra-H and explain it

Practices for creating an ARM Linux cross-compiling environment

 I. Preparations first require a PC running the Linux operating system to complete our compilation. Next, prepare the following source files. 1. source file preparation binutils-2.14.tar.gz Ftp://ftp.gnu.org/gnu/binutils/binutils-2.14.tar.gzGcc-core-

Install native library of tomcat in Linux

Install native library of tomcat in Linux Note: The materials are collected and summarized for use as needed.Instance 1:This problem often occurs after Tomcat 5 is installed. The Apache Tomcat native library which allows optimal performance

Simple implementation of Linux Process Monitoring and Automatic Restart

Objective: Linux server programs will be dumped for various reasons, which will affect user usage. Here we provide a simple process monitoring and restart function. Implementation principle: the script is called by the scheduled task crontab. The

Install JDK cannot execute binary file in Linux

If the following error occurs during JDK installation in Linux: cannot execute binary file, Run the following command:# Chmod + x java_ee_sdk_version.bin#./Java_ee_sdk_version.binIf the error while loading shared libraries: libstdc ++. so.5: cannot

Ulimit Linux Optimization

Ulimit-A is used to display various current user process restrictions.Linux limits the maximum number of processes for each user. To improve performance, you can,Set the maximum number of processes for each Linux User. Below I will set the maximum

Linux vncserver Configuration

The most popular graphic operating software in Linux is VNC. Just like the mstsc Remote Desktop in windows, most Linux releases contain the VNC Server Release package, run the rpm-Qa | grep VNC check. If no, download the RPM package and install it. 1

Total Pages: 5467 1 .... 3148 3149 3150 3151 3152 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.