Open file int open (const char *path, int access,int mode)
FILE *fopen (Char *filename, char *mode)
The difference between open and fopen:
The former belongs to low-level IO, the latter is advanced IO.
The former returns a file descriptor, which
1, Timer
Two types of time related kernel structures have been mentioned before.
1, delay: Through busy waiting or sleep mechanism to achieve delay.
2, Tasklet and work queues, through some mechanism to delay the implementation of work, but do not
Just started to learn Linux, today to transplant u-boot on the friendly smart210 board. Official website to obtain opencsbc-u-boot-mini210_linaro-2011.10-stable.tar.gz,mini210 u-boot. (Instructor: Splashing splashing LK)
1, enter the command under
Edit some files under Linux, which involves the VI editor. Under Linux, the initial use of VI has two typical problems:
1, in the editing mode when using the arrow keys, and will not make the cursor movement, but in the command line appears a, B, C,
Linux performance monitoring, the following are the Vpsee common tools:
Simple Introduction to Tools
Top view process activity status and some system conditions
Vmstat View system status, hardware and system information, etc.
Iostat View CPU load,
Xshell is a powerful security terminal simulation software that enables users to enjoy their work in a complex network environment through secure connections to remote hosts via the Internet and its innovative design and features. Here I'm going to
In Linux, the kernel assigns an Inode (index node) to each newly created file, and each file has a unique inode number. The file attributes are stored in the index node, and when the file is accessed, the index nodes are copied to the inside to
BQ27501 driver compiled into kernel
first, the driver compiled into the kernel steps
adding programs to the Linux kernel requires the following three tasks:
1. Copy the written source code to the corresponding directory of the Linux kernel source;
These two days assigned to me to use the server vsftp for no reason not to work, no matter how also can not start, in the online search some solutions, so decided to reload VSFTPD.
First in
http://vsftpd.beasts.org/Download vsftpd ...Copy vsftpd.tar.
Analysis on Linux PAE of kernel memory management
The early Intel processors used 32-bit physical addresses from 80386 to Pentium, which theoretically allowed access to 4GB of RAM. However, large servers require more than 4GB of RAM to run
Install and configure Gitweb.
Environment to prepare: Linux+apache
Installation and configuration steps:
1, decompression git-2.10.2.tar.gz
2, in the decompression after the GIT-2.10.2/directory operation
Yum Install Gitweb
3. Modify
The reason for writing this article:
Recently, to upgrade the Ruby version on the server CentOS, because it is the first upgrade, do not dare to operate directly on the server.
So I installed VMware in my WinXP and Centos5.2 in VMware.
With yum
The top 10 C open Source projects most deserving of attention by programmers are seen in the blog park. One of the TINYHTTPD projects is a small HTTP server implementation. It was also rough to see the implementation of Tomcat, but not much depth,
Epoll introduced
Epoll, introduced in the Linux 2.6 kernel, replaces the previous Select/poll model, and can fully support large-scale concurrent network programs under Linux. comparison between Epoll and other Linux concurrent network programs
Turn from: http://blog.csdn.net/tianmohust/article/details/6677985
i). Epoll Introduction
Epoll is currently in Linux under the development of large-scale concurrent network programs popular candidates, Epoll in the Linux2.6 kernel formally
Installation of JDK is not installed, as follows:
[Root@localhost local]# RPM-IVH jdk-6u41-linux-amd64.rpm preparing ... ################################### ######## [100%]Package jdk-2000:1.6.0_41-fcs.x86_64 is already installedThe reason is that
A detailed explanation of conditional variables
At the end of the previous article, I described a more specific challenge: how it should handle the situation if a thread was waiting for a particular condition to occur. It can repeatedly lock and
1 DHCP1.1 DHCP Service IntroductionDHCP (Dynamic Host Configuration Protocol), which is used to dynamically assign IP addresses and configuration of the associated network environment (gateway and DNS Server information) to hosts on a network
Ref: 39501025If the user executing the sudo command does not have sudo permission, the following error is reported when executing the sudo command[email protected]]# sudo yum install gcc-c++ROOTR is not in the sudoers file. This incident'll be
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