GPROF Introduction
GPROF is the GNU profiler tool. It can display the "flat profile" of the program running, including the number of calls to each function and the processor time consumed by each function. You can also display the "Call diagram", including the call relationship of the function, and the time consumed by each function call. You can also display the "annotated source code", which is a copy of the program source code, marking the number o
I used GCJ to compile itext and used itext to write many small programs (pdfrotate and nup_pdf can be obtained from the Internet now). Here I will only introduce how to obtain the GCJ compiling environment.
GCJ is a Java editor based on the GNU protocol. It supports the following compilation methods:Java Source Code directly compiles the local machine code. On windows, the exe executable program (separated from JRE) is used );Java source code is comp
Use GNU parallelCreate cron tasks in batches:
# Host. lst is the host list# View the current cron taskParallel -- nonall-j0 -- slf host. lst "hostname; crontab-l"# View/var/spool/cron filesParallel -- nonall-j0 -- slf host. lst "hostname; ls-l/var/spool/cron"# Set a cron taskParallel -- nonall-j0 -- slf host. lst echo '"0 0 **** cd/root/nmon;/root/nmon-f-s600-c144">/var/spool/cron/root'
-- The tag parameter adds a tag for the output row
# Whe
file Form-radio_signal.dat
4. Show it in "Waterfall Chart" form
5. Here is the waterfall diagram, which is the first "unlock" signal, followed by the opposite signal.
Now I can simply replay these signals, in order to analyze these signals in more detail, I have tried to use audacity clip these signals, Audacity is a free audio processing software, while it can edit the wireless signal, but the author said here will not reveal too much, but can refer to this: click MyThis is the lo
memory Stores may is globally visible yet, and previous memory loads may not yet be satisfied.
void __sync_lock_release (
type
*ptr, ...)
This
builtin releases the lock acquired by
__sync_lock_test_and_set . Normally this means writing the constant 0 to
*
ptr .
This builtin was not a full barrier, but rather a release barrier. This means-all previous memory stores is globally visible, and all previous memory loads has bee
I wrote a simple general makefile template to compile CPP or CProgramSee the next log.
Http://blog.csdn.net/felixit0120/article/details/7663756
GNU make learning summary:
1. $ (patsubst pattern, replacement, text)Function: search for words separated by spaces in "text" and replace pattern with replacement. The pattern wildcard % can be used in the pattern parameter to represent several characters in a word. If the replacement parameter also c
it depends on. Target: dependency
The backslash \ is a line break of a command.
Indicates that the tab key is used for the indentation on the left when the command is executed. In this example, the left side of the CC command is tab indent. In other cases, spaces are used for the interval.
The preceding example is from top to bottom:
File edit depends on some. O target files
Create the edit execution file, and CC-O continuously links some. O files.
(After executing the make command, find the ma
[Do not perform O M without _ 11] Precautions for permission setting during GNU/Linux NFS server deploymentMeasure the test taker's knowledge about how to delete massive data files in seconds during O M.Http://www.bkjia.com/ OS /201304/203155.htmlNFS, simply put, is a file serverIn the deployment process, the read and write permissions of files are more error-prone than the tutorial.This blog is based on the following six aspects, but focuses on fil
Search for large files occupying hard disks in GNU/Linux (1) Search for files larger than 50 MB from the root directory, and display the first 10 files in the size list: [plain] [root @ Rocky ~] # Find/-printf "% k % p \ n" | sort-g-k 1,1 | \ awk '{if ($1> 50000) print $1/1024 "MB" "$2} '| tail-n 10 111.968 MB/mnt/hgfs/vmshare/Disk1/oms/Disk1/stage/Components/oracle. sysman. agent. download/10.2.0.1.0/1/DataFiles/filegroup5.1.1.jar 250.258 Mbit/u01/ap
/$create _vg_name/$lv _namemount/dev/$create _vg_name/$lv _name $mount _piont: Mount file systemLvextend-l 2g/dev/vg01/lv01 to expand to 2G (expanded physical boundary)Resize2fs-p/dev/vg01/lv01 to expand to 2G (the logical boundary after expansion)The following is a blog written by others as a supplement, provenance http://dreamfire.blog.51cto.com/418026/1084729If a piece of disk or partition fails, how to quickly transfer data to the same volume group other space.1. Transfer spatial data via Pv
and run the make command$ compile samples$ CD samples/$ makeAfter the make process finishes, get inside each sample sub directory and there should is an executable file the can is R Un right away-see the demo.7. Compile Your first programAfter you do with the demo programs, its time-to-write your own program and compile it. Again it is quite easy.It is assumed, that's coding in C + + and for that, can use any good editor with syntax highlighting feature. For example Gedit, Kate, KWrite would do
after you turn off the terminal or reboot, because every time you open the terminal it will be reread. BASHRCOf course, I write the export variable=content directly. BASHRC not good, but directly with the variable=content is good, why hit 7 more characters?
What's more, all the commands you knock at this window will be written after the window exit or close. Bash_history, (caching mechanism), if you want to hit a write a word, hehe, to a trickPrompt_command= "HISTORY-A; $PROMPT _command "
Installing DEBIAN9 on virtual machine vmwareInstall Vmwaretools When you encounter problems ask me ifconfig installation where?The new version of Debian does not know whether it is a user rights issue or the use of other network configuration tools Vmwaretools cannot find the ifconfg fileAfter the search, the final fix successfully installed VmwaretoolsHow-to Install VMware Tools on Debian Stretch 9 32/64bit Linux+gnuhttps://tutorialforlinux.com/2015/10/08/how-to-install-vmware-tools-on-debian-9
Exe
To perform a soft connection to a process executable file
Fd
The directory contains the file descriptors that the process has opened, soft links to open files
Maps
Memory mapping
Mem
Virtual memory of the process
Mounts
mount point used by the process
Root
Soft links to root directory
Status
Some information about the process (e.g. process ID, memory usage, si
This article address http://comexchan.cnblogs.com/, author Comex Chan, respect intellectual property rights, reproduced Please indicate the source, thank you!Background:The following error occurred when compiling popt.Direct VI View Configure fileVI ConfigureFind the error message:GNU GetText is required. The latest versionFind the following:Know. The system directly executes the following command to confirm whether the GetText is installed2>1grep'GNU gettext'I executed it directly. Not really.
*interfaces*# installation Wiresharksudo apt-get install wireshark# create Wireshark Group sudo groupadd wireshark# add your username to the Wireshark group sudo usermod-a -G Wireshark your_user_name# to change Dumpcap's owning group to Wiresharksudo CHGRP wireshark/usr/bin/dumpcap# alter DUMPCAP permissions, let Wireshark Group members Can execute the program sudo chmod 750/usr/bin/dumpcap# use setcap get permission sudo setcap cap_net_raw,cap_net_admin=eip/usr/bin/dumpcap# Verify Change sudo
follows:void Closelog (void);It is worth noting that although the use and invocation of this function is very simple, but is necessary, because in the Linux system, the open log is also a resource, if you only use the Openlog function to open the log, and forget to use Closelog to close the log, when the number of open logs accumulated to a certain extent , it causes insufficient memory, which can cause system problems. Therefore, remind the user to pay special attention in the use.Examples of
/****************************** Author:samson* date:12/21/2015* Test Platform:* GCC 4.8.4* GNU Bash, 4.3.30* Linux Mint Qiana* ***************************/
Pencil is a hand-drawn style prototype (interface) Drawing tool, is free software, adhere to the GPL2, can be used to draw a variety of frame composition and flowchart.
Official Download Address:
http://pencil.evolus.vn/
Installation:
sudo dpkg-i evoluspencil_2.0.5_all.deb
On the comm
Developed under Windows, accustomed to the loadstring () function to record text from the resource, so as to achieve multi-language support. But in PHP. and under Linux. Also, not everyone uses loadstring () to load text, but writes its own function, reading text from XML or even from a database.
The principle of loading the text resources is nothing more than the Key+value mode, that is, to each string is numbered, and then by number to find the corresponding value. But the problem with this
function return value
The return value type must be the same as the return type of the function
For the main function, the return value must be of type int. In most systems, the return value of the main function is a status indicator. A return value of 0 indicates that the main function completed successfully, and a non-zero return indicates an error occurred.
GNU compiler command
VI: New file, I: Edit; Esc exit edit; Wq/zz: Save an
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.