Home PC Games Linux Windows Database Network Programming Server Mobile  
           
  Home \ Programming \ Embedded Linux Optimization     - Prevent security threats caused Rootkit (Linux)

- Try to use Lets Encrypt (Linux)

- Linux some lessons learned about network security (Linux)

- Linux text processing tool of awk (Linux)

- Shell Scripting early experience (Programming)

- Log analysis is done with Grafana Elasticsearch (Server)

- Binary search -Java achieve (Programming)

- Ubuntu users how to install the latest Nvidia graphics drivers (Linux)

- Android source code compiled fatal error solutions (Programming)

- Java MVC CRUD examples (Programming)

- Ubuntu How to mount iso file (Linux)

- Android Studio and Git Git configuration file status (Linux)

- About enhanced Linux / Unix server system security program (Linux)

- HAProxy Windows version of the compiler and its application in the CORS (Server)

- VMware virtual machine Ubuntu install arm-linux-gcc cross-compiler environment (Linux)

- Linux IO redirection (Linux)

- Ubuntu terminal command - see the port occupied and off (Linux)

- Ubuntu 14.04 CodeBlocks configuration manually compile Boost 1.57.0 (Linux)

- To create a Linux server network security (Linux)

- Close common port to protect server security (Linux)

 
         
  Embedded Linux Optimization
     
  Add Date : 2018-11-21      
         
         
         
  1. cat / proc / meminfo that memory status

2. The allocation shall then write assignment, not yet assigned when malloc, strcpy or other operations

3. cat / proc / / statm that process memory page status

#cat / proc / 6277 / statm

6,020,225,316,027,804,580

Virtual physical memory pages shared virtual memory size of the executable is mapped to the task of virtual memory space the size of the library program data and user mode stack segment size

4. cat / proc / / maps look at each address corresponding to the file / dynamic library (snippet - read-only executable stack segment - can read and write, stack segment - grew up to 0xC00000000)

5. cat / proc / / memmaps (cat / proc / / smaps) See corresponding physical memory virtual memory status

Before ptr 4-byte chunk structure 6. malloc Department obtained, including the former block size, the size of their own, flag

7. flag on a bit concerned about being used or not, or whether the allocation by mmap

8. malloc allocates at least one 16-byte, 8-byte aligned, then 20 bytes allocated will be 24 bytes

9. glibc, the management within the 1G space by brk responsible for more than 1G responsible manner by mmap

10. small memory will not try to merge

11. The definition of small blocks of memory may be #include int mallopt (int param, int value) defined

12. param value is usually M_MXFAST, defaults to 64
     
         
         
         
  More:      
 
- Ubuntu and derivative system users how to install Pinta 1.5 (Linux)
- 14 useful example Linux Sort command (Linux)
- ARM runtime environment built from scratch using QEMU emulator (Linux)
- grep command usage (Linux)
- Install the latest development version of Wine on RedHat and Debian-based systems (Linux)
- Handle large data problems Bit-map method (Programming)
- Shilpa Nair interview experience sharing RedHat Linux package management (Linux)
- To install JDK1.7 and compiler Hadoop-2.7.1 under CentOS7 (Server)
- Configure the ASM process on Red Hat Linux 6.5 (Database)
- JDK comes with tools JPS (Linux)
- Ubuntu 14.10 installation SecureCRT 7.3 (Linux)
- Using Java arrays implement sequential stack (Programming)
- C ++ constant definition (Programming)
- How to become a better Node.js developers in 2016 (Programming)
- Spring inject a type of object to enumerate (Programming)
- Oracle Database ORA-01555 snapshot too old (Database)
- Lua4.0 interpreter entrance (Programming)
- MongoDB upgrade to 2.6 (Database)
- Linux prohibit non-WHEEL user su command Detail (Linux)
- Install the free open source financial software GnuCash 2.6.6 under Ubuntu (Linux)
     
           
     
  CopyRight 2002-2022 newfreesoft.com, All Rights Reserved.