-
You will get 2 experience points, which can be used to increase experience and wealth points simultaneously.
-
1. Enter the Linux operating system in the computer and open the Linux command interface, as shown in the figure below.
2. Enter the cat proc meminfo command in the Linux command interface, and hit the enter key on the keyboard, as shown in the following figure.
3. After hitting the enter key, memtotal and memfree appear as disposable memory and free memory respectively, as shown in the figure below.
-
In CentOS, you can use the top command to view CPU usage. When you run the top command, the CPU usage status is displayed in full screen and is in conversation mode - with the top based command, you can control how it is displayed, and so on. The command to exit top is q (hit q once in top run).
Content explanation: PID: The ID of the process
user: the owner of the process.
PR: The priority of the process, the smaller the priority to be executed.
ninice: Value.
virt: The virtual memory occupied by the process.
res: the physical memory occupied by the process.
shr: the shared memory used by the process.
s: the status of the process. s indicates hibernation, r indicates running, z indicates a dead state, and n indicates that the process priority value is negative.
CPU: the CPU usage of the process.
MEM: Percentage of physical memory and total memory used by the process Time+: The total CPU time occupied by the process after startup, that is, the cumulative value of the CPU usage time.
command: the name of the process startup command.
-
1. Check the encoding of UNIX's system (locale command): confirmed to be utf-8lang=en
lc_ctype=en_
lc_numeric=en_
lc_time="en_"
lc_collate=en_
lc_monetary=en_
lc_messages="en_"
lc_all=en_
If not, you can set export lc all=en to set the encoding of the current session to UTF-8
2,The encoding of the file is confirmed to be UTF-8,The encoding of UNIX's system is also UTF-8,Why is it garbled after opening VI? The problem lies in Putty's settings, the process of transferring from Unix to Putty's local display also needs to be set, Putty's menu: change settings --window --translation
will'received data assumed to be in which character set'Select UTF-8
-
export lang=zh_
Try again, it should be a problem with the character set, if it doesn't work, install another Chinese character set.
-
This is the basic use of vi.,You can find your own document to see.,Based on your above question.,Say a little bit.。
Press the esc key twice in a row to enter command mode, use the arrow keys to move to the line, if you delete this line press dd twice or delete a character, move the cursor to the front of the character and press x, press i a in command mode to enter the text, and finally: wq save and exit!
-
You can use the ls -lh command, which displays the size of the file in units closer to the file size. When displaying the file size in Linux, it is common practice to use "is -i", which is the size of the file.
However, if the file is large, it is not particularly readable. At this point, you can use ls -lh to display the size of the file in units closer to the file size, for example:
root@localhost home]# ls -lh
totalrw-r--r--.1 root root 774k jun 24 09:17 h
rw-r--r--.1 root root jun 24 09:18 i
rw-r--r--.1 root root 839k jun 24 09:17 j
rw-r--r--.1 root root 693k jun 24 09:17 k
rw-r--r--.1 root root 147m jun 24 09:40 l
-
You can use the ls -lh command, which displays the size of the file in units that are closer to the file size.
When displaying file sizes in Linux, it is common practice to use them"is -i", the displayed size is the byte size of the file.
However, if the file is large and not particularly easy to read, you can use ls -lh to display the file size in units that are closer to the file size, for example:
root@localhost home]# ls -lh
totalrw-r--r--.1 root root 774k jun 24 09:17 h
rw-r--r--.1 root root jun 24 09:18 i
rw-r--r--.1 root root 839k jun 24 09:17 j
rw-r--r--.1 root root 693k jun 24 09:17 k
rw-r--r--.1 root root 147m jun 24 09:40 l
-
ls -lh
If a file size is greater than or closer to 1G, it will be displayed in GB. If the file is close to MB, the ...... is displayed in MBAnd so on.
There is also a method, ls -l --block-size=g, which is forced to be displayed in GB, but this method is not accurate, for files less than 1GB, they are uniformly displayed as 1GB, so there is no practical use value.
Hello,If you are a newbie, it is recommended not to play Void such heroes. Dota is a game that relies on teammates. The success of a person's efforts also depends on the help of his teammates. >>>More
Take it in a good way, use it to the degree.
Most online banks use ActiveX plug-ins to achieve client-side related functions, while Firefox does not support ActiveX plug-ins, and only Internet Explorer can support such plug-ins well. Therefore, when using online banking functions, you generally need to use IE kernel-related browsers, such as IE, Maxthon, GreenBrowser, etc. If the IE browser program has been installed in the system, but you want to use Firefox to use online banking, you can **a Firefox plug-in called IE tab,**install and restart Firefox, then click the menu "Tools Extension" item, select the IE tab item in the open window and click the "Options" button, add the online banking ** of China Merchants Bank ** to the **list in the open window, and then you can use it The Firefox browser is now open to the online banking page.
FEMSOO is a comprehensive instant messaging tool launched by China Mobile. It integrates features such as chatting, dating, interacting, entertainment, and more, providing users with a platform to communicate and showcase themselves. By registering as a femoo user, you will enjoy the following features: >>>More
First of all, make sure that you are in the same network segment, that is, if your IP is, then his IP is. >>>More