System Monitoring
View System Parameters
To view the number of CPU coresCat/proc/cpuinfo | grep "CPU Cores" | Uniq
View CPU ModelCat/proc/cpuinfo | grep ' model name ' |uniq
View Total MemoryCat/proc/meminfo | grep memtotal
View hard disk
After you start Veridata under Linux, you can't access the web for long. The guess is that the tomcat environment variables are incorrectly set up under Linux, so modifying the Tomcat environment variables solves the problem.
Note: Java_home is the
1. First Use Vgscan scan LVM results are as follows
[Root@localhost ~]# Vgscan
Reading all physical volumes. This could take a while ...
Warning:duplicate VG name Volgroup00:existing BGKW70-NEBI-QY6S-RVQU-3A59-N8E1-RUOWWH (created here) takes
In the Linux file system, try to use a text interface or a graphical interface (rarely used). Then how can we exchange it. (If you have a graphical interface installed on the operating system)
The solution is as follows:
Modify
These days in the installed Apache httpd Service, start the HTTPD service, the error is as follows: Starting httpd:httpd:Could not reliably determine the server ' s fully qualified In name, using 0.0.0.0 for ServerName(13) Permission
allow Uboot to load Linux kernel files in a TFTP way
In the embedded Linux development process often need to download the boot program from the computer uboot, if every time the use of burning to Flash or SD card mode, it is relatively
Previously used Youdao, but the Youdao so far, still does not support Linux. No way, just get a lot of platform can use notes it. The user experience of taking notes seems to be a good idea.
install under Ubuntu as a known step:
First, add the
After we upgrade the system with Yum, we hope to keep the old kernel files for us so that we can go back to the old kernel files when there is a hardware or software conflict, and if we want to safely delete the old kernel files, we could follow the
Currently, most of the operating systems used in the implementation of the company's projects are Linux, so in order to increase the understanding of Linux, quickly familiar with the common Linux commands, special write this document.
1. File
Feel some tools even simple also always forget, right when this is Notepad, graffiti.
Linux:
Ros:
1 Ros View image type of topic
Rosrun Image_view Image_view image:=/imagetopic this: = is actually changing the meaning of its built-in topic
We know that in Linux systems, the startup scripts for system services are generally placed in the/ETC/INIT.D directory. Different boot mode, then corresponding to the/ETC/RCX.D directory. In fact, the documents on the/ETC/RCX.D are generally linked
Linux Common Command Summary, welcome to reprint
I. Babbling phase
first teach you four hot keys, learn these four keys, the benefits of life.
TAB key---command completion
CTRL + C key---Stop the running program
ctrl+d Button---equivalent exit,
Recently do the Linux system cropping, modify the embedded system Inittab file error will be the native Inittab file modification.
Appear after reboot
INIT:/etc/inittab[2]: Missing ID field
INIT:/etc/inittab[3]: Missing ID
Experiment request: Implement a remote compiling system
Execution process: The client submits the C language code file, compiles the connection on the server, and returns the result to the client after the server executes the file.
Detail
Mac ifconfig View IP addressLinux is case-sensitive1. The LS command is the same as the dir command, which lists all the contents of the folderLs-l display of long-form contentLs-a Show all content, including hidden files, there will be one in front
1. Remote management of Linux configuration IPIf the network is different, you need to configure the network card, the command is as follows:VI/ETC/SYSCONFIG/NETWORK-SCRIPTS/IFCFG-ENP0S3 EnterIn the presence of a network environmentModify the
The tail command is similar to the head command usage, and the tail command is used to view a specified number of character blocks at the end of a document, showing the last 10 lines of the document by default, and a file name title in front of each
What's the difference between Nohup and &? Many students have responded, but not all of the students understand all right, today to dig their own pits to fill out.The test code is as follows:is a dead loop program that outputs hello and the number
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