linux view the cpu, io and other activities ttxtxi system

View System Information (bjchenxu)
cat / proc / cpuinfo - CPU (ie vendor, Mhz, flags like mmx)
cat / proc / interrupts - interrupts
cat / proc / ioports - Device IO Port
cat / proc / meminfo - memory information (ie mem used, free, swap size)
cat / proc / partitions - all partitions of all equipment
cat / proc / pci - PCI device information
cat / proc / swaps - Swap partition information for all
cat / proc / version - Linux version number of the equivalent of uname-r
uname-a - look at the system kernel and other information


1. View the CPU usage of the command
"" Refresh every 5 seconds, the most right side CPU occupancy rate of the data
$ Vmstat 5
"" Top and then press Shift + P, in accordance with the process of sorting processor utilization
$ Top

2. View the memory usage of the command
"" With the free command to see memory occupancy
$ Free
"" Top and then press Shift + M, in accordance with the sorting process memory occupancy rate
$ Top

3. View the network traffic
"" Can use tools iptraf tool
$ Iptraf-g
"" Interface for a network traffic can compare two time network interface to get the RX and TX data
$ Date; ifconfig eth1
$ Date; ifconfig eth1

4. View the disk i / o
"" See with iostat disk / dev/sdc3 disk i / o case, refresh every two seconds
$ Iostat-d-x / dev/sdc3 2
"" Vmstat view with some of the information io

分类:OS 时间:2010-03-20 人气:194
blog comments powered by Disqus


  • Redhat Linux swap partition size to increase 2011-07-22

    There are two cases: one swap partition by the Logical Volume Manager, a new version of the system are generally such a situation; second is the device file. First, turn off the swap partition to increase the size of logical volume device # Swapoff-v

  • Java Network Programming (11): get network interface to use the letter NetworkInterface class 2010-09-20

    Starting from JDK1.4, Java provides a NetworkInterface class. This class can get the machine all of the physical network interfaces and virtual machine software such as use of the machine's physical network interface to create a logical network inter

  • Linux Swap swap partition set 2011-09-02

    Swap swap partition on the set: A popular, incorrectly relay an erroneous argument is that the installation of a Linux system, the size of the swap partition swap should be twice the memory. That is, if memory is 2G, then they should separate the 4G

  • Ubuntu / Debian network interface configuration file description 2010-05-27

    Ubuntu's network interface configuration file only one / Etc / network / interfaces This is a file saved in the configuration of all network interfaces, this file is more like a script file instead of configuration files, the fact is true, there is t

  • Linux View CPU and memory usage (transfer) 2011-04-14

    In the course of system maintenance, there may need to look at CPU utilization, and analysis system based on the status of the corresponding information needs. In CentOS, you can see by the top command to CPU usage. After running the top command, CPU

  • View linux cpu and memory utilization 2010-11-30

    Transfer from: In the course of system maintenance at any time may be necessary to view the CPU usage, and information analysis system according to the appropriate state's needs.

  • Linux network interface 2011-05-17

    Transfer from Linux in the lo loopback interfaces detail Linux based 2010-11-15 10:08:19 read 125 comments 0 Font Size: medium and small subscription 1, linux network interface of th

  • Linux system to increase the size of Swap partition 2011-06-23

    1, check the current situation of the district: [Root @ localhost] # free-m 2, and increase the swap file size, if you want to increase the size of 2G swap partition, the command is written as follows, in which the count is equal to the desired block

  • Linux, see the CPU and memory information capacity 2011-05-21

    Share this article is well summed up, to prevent the delete the original for backup References: View CPU Information command <br /> some of the view p

  • JavaScript html js java into the landing page displays the current user's IP areas, check IP network interface 2009-05-24

    Js interface with access to query the network ip address <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML> <HEAD> <TITLE> New Document </TITLE> <META NAME="Generator" CONTENT="E

iOS 开发

Android 开发

Python 开发



PHP 开发

Ruby 开发






Javascript 开发

.NET 开发



Copyright (C), All Rights Reserved. 版权所有 黔ICP备15002463号-1

processed in 0.457 (s). 10 q(s)