In Linux, view all sub-processes and threads of a process.

Obtain the PID of the process:PS-Ef | grep process_name | grep-V "grep" | awk '{print $2 }' View All threads of a process# Ps MP 6648-O thread, tidUSER % CPU pri SCNT wchan user system tidRoot 0.0 ------Root 0.0 24--6648Root 0.0 21--6650Root 1.0 24

Linux Kernel Development -- timer and time management

Several important terms   Hz: The system timer frequency Hz is used to define the number of clock interruptions generated by the system timer every one second. TICK: the reciprocal of Hz. The interval between two clock interruptions by

Linux Process Management (1)

  The process is during execution.ProgramAnd other resources.   Process passedFork ()System Call generation. This system call creates a new process by copying an existing process.Fork ()Two responses are returned for one call: one for the

Successful use of Linux commemorative

Unexpectedly, I piII 1g configuration can still run fedora6, and the feeling is not slow, even my personalized home page http://www.massany.com can also be normal access, the mood is more exciting! So write a log to commemorate it.

Modify the swappiness of Linux swap space to reduce the hard disk cache.

Linux uses part of the hard disk as the swap partition for process scheduling-the process is running.Program-- Change unused processes to 'wait (standby') 'or even 'sleep (sleep)', and then 'Active )', sleep processes lie down in the SWAp partition

[Transition + Summary] Summary of installing VMware Tools in Linux Virtual System

[Conversion + Summary] installing VMware Tools in Linux virtual system summary is transferred from China Network 1. Why is VMware Tools installed in for Linux Guest OS? Because it can improve the running performance of Virtual Machine and allow Host

Set up a Web server in Linux by yourself (figure) 2

Ii. Installation Steps and settings of Linux Centos 4. X or Redhat Enterprise Linux 4. the installation of the X system is relatively simple. The entire installation process can be fully installed on the GUI. Generally, windows can be installed

Solution to Linux Root Password loss

GRUB: loading at bootProgramOn the menu, type [e] to enter the editing mode. You will face a list of pilot projects. Find the following output sentence lines:Kernel/vmlinuz-2.4.18-0.4 Ro root =/dev/hda2Press the arrow keys until the line is

Install FTP on Linux VPS

Today, the madman said that a friend's website was suspended for three days and came to me to get a VPs. However, this friend used to use a virtual host and never used VPs, I have to help him configure the environment and FTP. It's okay to configure

Linux keyboard ing

The two keys on the keyboard are broken and you want to use the other two less commonly used ing Xmodmap is intended to be used at the beginning, but it can only be loaded manually. It cannot be loaded automatically at startup, and this still has

Install Svn in Linux

Yesterday, I configured the VPs lnmp environment. Next, I need to install the svn client tool to download the open-source project. I have learned that the svn server must be installed on the Apache server, but I use nginx, and there is no need to

Functions of Linux folders

Functions of Linux folders File structure in Linux to see how each folder is used /Bin binary executable command /Dev special file /ETC system management and configuration file Configuration files and scripts started by/etc/rc. d The base

A complete set of common Linux commands

Cat Chattr Chgrp Chmod Chown Cksum CMP Diff Diffstat File Find Git Gitview Indent Cut Ln

Installation and configuration of Linux NFS server

I. Introduction to the NFS service NFS is short for network file system, that is, Network File System. An agreement for the use of distributed file systems, developed by Sun, was published on April 9, 1984. The function is to allow different

Configuration and display of my Linux work platform

ArticleDirectory 1.1 download the netinstall CD 1.2 install software 1.3 some unofficial Software 2.1 copy font 2.2 modify the global configuration file 2.3 modify the Personal Configuration File 3.1 Window Manager FVWM

Linux Process Scheduling chapter: Some Notes

In the past few days, I have read a lot of Linux Process SchedulingArticleAlthough I have mastered a rough idea, the more details I read, the less confidence I have to write this article. I have published a series of articles about Linux Process

Find out which process in Linux is the most iowait-consuming

1. Find out the threads with high CPU usage: Ps h-EO user, PID, ppid, tid, time, PSR, % CPU, CMD -- Sort = % CPU parameter 'H' displays thread-related information. The format output includes: user, PID, ppid, tid, time, % CPU, CMD, and then use

Linux TC htb queue-based traffic management example

It should also be repeated that the TC rule involves three items: "queue classifier (class) filter. In addition, it is not controlled by the Control Service. Today, we will demonstrate how TC uses the set-Mark Function of filter to control traffic

Gui game in Linux (GTK + 2.0)

Indicate the source for reprinting. Http://www.cnblogs.com/dave_cn/   I made a character interface under the mine (http://www.cnblogs.com/dave_cn/archive/2010/10/13/1849342.html) I'm happy to play it myself, but the user experience is too poor @,

[Linux programming] use of pthead_cond_t

Use of pthead_cond_t Source code 1: 1 # include 2 # include 3 # include 4 # include 5 6 pthread_cond_t qready = bytes; 7 pthread_mutex_t qlock = bytes; 8 int constant = 0; 9 10 void * prints (void * arg) 11 {12 pthread_mutex_lock (& qlock ); 13

Total Pages: 5467 1 .... 4755 4756 4757 4758 4759 .... 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.