proc freq

Learn about proc freq, we have the largest and most updated proc freq information on alibabacloud.com

/proc/meminfo detailed

Reprinted from Http://blog.sina.com.cn/s/blog_7106477c0100qj9d.htmlCat/proc/meminforead out the kernel information to explain,The next article will simply analyze the code that reads the information. Memtotal:507480 KBMemfree: 10800 KBBuffers: 34728 KBCached: 98852 KBswapcached: KBActive: 304248 KBInactive: 46192 KBHightotal: 0 KBHighfree: 0 KBLowtotal: 507480 KBLowfree: 10800 KBSwaptotal: 979956 KBSwapfree: 941296 KBDirty: KBWriteback: 0

Proc dynamic SQL example (method 1, 2, 3)

The following is a complete example of the first three dynamic SQL statements of Proc. (1) Dynamic sql1: it cannot be a query (select) Statement, and there is no host variable.Usage: spell a dynamic SQL statement and execute it with execute immediate, for example:Exec SQL execute immediate CREATE TABLE test (test_col varchar2 (4 ));Exec SQL execute immediate insert into Table Test ('aaa ');Exec SQL execute immediate delete test where test_col = 'aaa '

Only one device can be seen in/proc/devices. Why?

Only one device can be seen in/proc/devices. Why? # Include # Include # Include # Include # Include # Include # Include # Define device_name "chardev"# Define device_num 5 Static dev_t devno; Static int _ init test_init (void){Int ret; Ret = alloc_chrdev_region ( devno, 0, device_num, device_name );If (Ret Goto err; Err:Return ret;} Static void _ exit test_exit (void){Unregister_chrdev_region (devno, 5 );} Module_license ("GPL "); Module_init (test_

Ow can/proc/loadavg be used?

See http://unix.derkeiler.com/Newsgroups/comp.unix.shell/2006-11/msg00577.htmlRe: How can/proc/loadavg be used? From: Bruce Barnett > Date: Wed, 15 Nov 2006 13:00:11 + 0000 (UTC) Bo Yang In Linux proc filesystem, there is a fileLoadavg, it contain three fields seperatelyDescribe the last 1, 5, 15 minutes load average. Also avalable In the uptime (1) command for older systems.The top (1) program sh

Passing parameters through Windows Oracle9i proc Programming

In windows, proc does not support access through the parameter list, but in Linux, it does! Void insert_sale_to_db (float tm){Exec SQL WHENEVER SQLERROR GOTO ERROR;Exec SQL INSERT INTO SALE VALUES (: tm );Exec SQL COMMIT WORK;Return; ERROR:Makelog ("debug. log", "db_show ");Makelog ("debug. log", sqlca. sqlerrm. sqlerrmc ); } This code is incorrect. proc will prompt the undefined identifier. This is bec

Meanings of the two parameters in the/proc/uptime File

Meanings of the two parameters in the/proc/uptime file: [Root @ app ~] # Cat/proc/uptime3387048.81 3310821.00 The first parameter indicates the time (in seconds) from the system startup to the present ):3387048.81 seconds = 39.20195381944444 days, indicating that the server has been continuously started for 39.20195381944444 days The second parameter indicates the system idle time (in seconds ):331

/Proc/Pid/STAT

/Proc // STATContains all CPU activity information. All values in this file are accumulated from the start of the system to the current time.[Root @ localhost ~] # Cat/proc/6873/STAT6873 (A. Out) r 6723 6873 6723 34819 6873 8388608 77 0 0 41958 31 0 0 25 0 3 0 5882654 1409024 56 4294967295 134512640 134513720 32155790400 2097798 0 0 0 0 0 0 0 17 0 0 0 [root @ localhost ~] #Each parameter means:Parameter des

Read and write functions of proc files __ function

Each file has a corresponding file action sheet, the most important thing is read operation and write operation, proc file's read-write function should pay attention to its corresponding return value, if in the reading function has returned a positive number, then the upper level will think that the file still have data need to read, will continue to read indefinitely ... When implementing the proc file rea

/Proc/kallsys

Http://hi.baidu.com/zengzhaonong/blog/item/bd6c4be7a0bd3f36b8382061.html Get the symbolic address through/proc/kallsyms in the kernelLinux Kernel symbol table/proc/kallsyms Formation Process---------------------------------------------------------------------------./Scripts/kallsyms. C is responsible for generating system. Map./Kernel/kallsyms. C is responsible for generating/

Add a directory hello to the/proc file system and add a file to this directory world, the content of the file is Hello World

First, the topicWrite a kernel module, add a directory hello to the/proc file system, and add a file in this directory to the world, the content of the file is Hello World. Kernel Version Requirements 2.6.18?Second, the experimental environmentPhysical host: Win7 64bit, i5 dual core, 8G memoryVirtual machines: Vmware Workstation 10.0.2Virtual Host: CentOs-5.11, kernel 2.6.18?Third, the experimental ideas struct proc_dir_entry? *create_proc_entry

Ubuntu/linux Mint Three ways to create a proc file (i)

When doing kernel-driven development, you can use the files under/proc to get the appropriate information for debugging.Most of the files under/proc are read-only, but for the completeness of the example, a write method is provided.Method One: Use Create_proc_entry to create the proc file (simple, but the write operation has the danger of buffer overflow);Method

Ubuntu/linux Mint Three ways to create a proc file (iv)

When doing kernel-driven development, you can use the files under/proc to get the appropriate information for debugging.Most of the files under/proc are read-only, but for the completeness of the example, a write method is provided.Method One: Use Create_proc_entry to create the proc file (simple, but the write operation has the danger of buffer overflow);Method

Tcl Script Learning Ten: The use of proc sub-functions

The use of Lesson:p Roc Sub-function1. Proc Sum {arg1 arg2} {Set x [Expr $arg 1+ $arg 2];return $x}Puts "The sum of 2 + 3 is: [Sum 2 3]\n\n"[Syntax]: proc procname {var1 var2 ...} {Body}Description1. The proc command has three parameters: ProcName is the defined procedure name; {var1 var2 ...} is the input, outputA parameter list; body is a Process execution comm

Driver Debugging Method printk--homemade proc file (ii)

The procedure in the previous section was exciting, and we implemented a MYPRINTK printing function ourselves. But there is a fatal flaw in this function, which is that you can only use the CAT/PROC/MYMSG command once to read the value of Mylog_buf. This is because the read to the end will appear: Mylog_r = = Mylog_w, indicating that the buffer is empty, the next time you can not read the data. In this section we are going to solve this problem, and a

Description of various parameters in/PROC/NET/TCP

The content in/proc/net/tcp is printed by the Tcp4_seq_show () function, which has three printing forms, and here we have this list of states that are the tcp_seq_state_listening or tcp_seq_state_established case is as follows:The result of Netstat is to read the/proc/net/tcp file.How to view the creation time of a connection1.NESTAT-APN | grep XXX checks to see the corresponding connected process PID and p

/proc/net/sockstat

Detailed parameters: Sockets:used: Total amount of all protocol sockets usedTcp:inuse: The number of TCP sockets that are being used (listening). Its value ≤NETSTAT–LNT | grep ^tcp | Wc–lTcp:orphan: Number of TCP connections with no primary (not part of any process) (useless, number of TCP sockets to be destroyed)TCP:TW: Number of TCP connections waiting to be closed. Its value equals Netstat–ant | grep time_wait | Wc–lTcp:alloc (Allocated): The number of TCP sockets that have b

Codeforces round #263 (Div. 2) proc

110Output 10Note Consider the following situation in the first example. initially toastman gets group [3, 1, 5] and adds 9 to the score, then he give the group to appleman. appleman splits group [3, 1, 5] into two groups: [3, 5] and [1]. both of them shocould be given to toastman. when toastman ES group [1], he adds 1 to score and gives the group to appleman (he will throw it out ). when toastman groups ES group [3, 5], he adds 8 to the score and gives the group to appleman. appleman splits [3,

/Proc/cpuinfo

ARCH/ARM/include/ASM/cputype. h ARCH/ARM/kernel/setup. c 1. read_cpuid_id (cpuid_id) # Define read_cpuid (REG )\({\Unsigned int _ Val ;\ASM ("MRC P15, 0, % 0, C0, C0," _ stringify (REG )\: "= R" (_ Val )\:\: "Cc ");\_ Val ;\}) Read midr registers # Define arm_cpu_part_cortex_a9 0xc090# Define arm_cpu_part_cortex_a5 0xc050# Define arm_cpu_part_cortex_a15 0xc0f0# Define arm_cpu_part_cortex_a7 0xc070# Define arm_cpu_part_cortex_a12 0xc0d0 CAT/proc

When mysql5.1 is upgraded to mysql5.5, "cannot load from mysql. Proc…" appears ..."

A non-critical business m/s is upgraded from 5.1 to 5.5. after entering the console, the data dictionary cannot be queried and the following error is reported: Cannot load from mysql. Proc. The table is probably specified upted The solution is very simple and runsMysql_upgradeCommand. This command will generate a text file mysql_upgrade_info in the Data Directory, which contains the upgraded database version. What makes me strange is that the upgra

Error 1548 (hy000): cannot load from mysql. Proc. The table is probably updated upted

The following error occurs when you perform mysql-related operations: Error 1548 (hy000): cannot load from mysql. Proc. The table is probably updated upted Google was informed that the problem was due to upgrades or data version migration. It suddenly occurred to me that the data of MySQL was migrated to MySQL some time ago. It was a sin. On the Linux terminal, execute the following command to fix the problem: #/Usr/local/MySQL/bin/mysql_upgrade-ur

Total Pages: 15 1 .... 11 12 13 14 15 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.