On the LinuxUnix platform, how does one check which databases or instances exist on the OS?
On Linux/Unix platform, how does one check which databases or instances exist on the OS?
In fact, this is not difficult. A colleague asked this question, so I wrote down the method of this question. Someone may ask this question. Maybe another person may not, hope it
Check port usage in linux and port usage in linux
Netstat-apn | grep 8080
Check port usage in linux! Urgent
Your question is too general. I can only guess to answer it.Netstat-anp: displays system port usageLsof-I: the port displays the processes that occupy the port.
If your Linux server bursts into sudden load, how can you pinpoint Linux performance problems in the shortest possible time?You can get a general idea of system resource usage within 1 minutes by executing the following command.
Uptime
DMESG | Tail
Vmstat 1
Mpstat-p all 1
Pidstat 1
IOSTAT-XZ 1
Free-m
Sar-n DEV 1
Sar-n tcp,
/mrtg/sh
2. Create a script file
# vim /home/htdocs/monitor/mrtg/sh/mrtg.memory
Add the following script:
#!/bin/bash# run this script to check the mem usage.totalmem=`/usr/bin/free |grep Mem |awk '{print $2}'`usedmem=`/usr/bin/free |grep Mem |awk '{print $3}'`UPtime=`/usr/bin/uptime | awk '{print $3""$4""$5}'`echo $totalmemecho $usedmemecho $UPtimeecho localhost
Check the desktop environment in Linux, and view the desktop environment in linux
Linux desktop systems include gnome, kde, mate, cinnamon, lxde, xfce, and jwm. Common examples are gnome, kde, and xfce. So how can we determine which desktop environment components are installed in L
issues, you can determine whether the network device is saturated through the throughput of the network device.9.sar-n tcp,etcp 1The SAR command is used here to view the status of the TCP connection, which includes:
ACTIVE/S: The number of locally initiated TCP connections per second, both of which are created by the Connect call;
PASSIVE/S: The number of TCP connections initiated remotely per second, that is, the TCP connection created through the accept call;
RETRANS/S: Numbe
Linux Common commands Quick Check memoPS: Memo only, detailed command parameters describe yourself manI. Start, shut down, log in, log out related commands[Login] Login[Logout] Log out[Exit] Log out[Shutdown] Stop system[Halt] Stop system[Reboot] Restart[Poweroff] Power off[Sync] writes the contents of memory to disk[Lilo] Install Lilo startup hypervisor[Grub] Installing the LILO Boot management programTwo.
On the linux/unix platform, it is not difficult to check which databases or instances exist on the OS. As some colleagues asked this question, I wrote down the method, someone may ask, but maybe another person may not. I hope it will help some friends who are not or just new. On the linux/unix platform, you can view the number of databases on the OS. There are th
kworker/u256:0 8 Root 0 0 0 0 S 0.0 0.0 2:38.05 rcu_schedThe top command contains the contents of the check for several previous commands. such as system load conditions (uptime), System memory usage (free), System CPU usage (VMSTAT), and so on. Therefore, this command allows you to view the source of the system load in a relatively comprehensive way. At the same time, the top command supports sorting and
Regular Expressions and Linux text check tools
First, what is a regular expression?In the simplest case, a regular expression is a set of rules and methods defined to process a large number of strings. Or in other words, regular Expressions use special characters to redefine the meaning:For example, we use "." To represent any single character. Similar redefinition is the regular expression we are talking a
cache, and the number of memory used for the file system page cache.8.sar-n DEV 1The SAR command can see the throughput of network devices here. When troubleshooting performance issues, you can determine whether the network device is saturated through the throughput of the network device.9,sar-n tcp,etcp 1The SAR command is used here to view the status of the TCP connection, which includes:ACTIVE/S: The number of locally initiated TCP connections per second, both created by the Connect call.PAS
Method 1: loadAverage1.1 in linux: What is Load? What is LoadAverage? Load is the measure of how much the computer is working (WikiPedia: thesystemLoadisameasureoftheamountofworkthataco... linux system load check Method 1: Load Average 1.1: What is Load? What is Load Average? Load is the length of the process queue (WikiPedia: the system Load is a measure of the
If your Linux server suddenly has a sudden increase in load, warning text messages quickly explode your phone, how to find out the Linux performance problem in the shortest time? Look at the Netflix performance Engineering team's blog post to diagnose machine performance issues with 10 commands in a minute. Today Xiao (farsight2013) to share with you.You can get a general idea of system resource usage withi
This article is selected from the "Linux Core application command speed check" book
former say
The graphical interface of the current Linux operating system is already quite excellent. You can use a variety of graphics management programs on Linux to change different desktop patterns or function menus, such as GNOME
How to view how long the linux system has been running update-general Linux technology-Linux technology and application information, the following is a detailed description. Update for all users:
Information:
Current Time
How long has the system been running?
Number of connected users
System load in the last minute, five minutes, and fifteen minutes
R
First, the common command quick-check
Ls
Cd
Pwd
Cat
More
Less
Tail
Head
Cp
Scp
Mv
Mkdir
RmDir
Touch
Rm
Ps
Kill
Top
Free
Clear
Tree
Wc
Stat
The above is the common command quick-check table, the following is a detailed command.
Linux Common commands Quick Check memoPS: Memo only, detailed command parameters describe yourself manI. Start, shut down, log in, log out related commands[Login] Login[Logout] Log out[Exit] Log out[Shutdown] Stop system[Halt] Stop system[Reboot] Restart[Poweroff] Power off[Sync] writes the contents of memory to disk[Lilo] Install Lilo startup hypervisor[Grub] Installing the LILO Boot management programTwo.
Article Title: Check the seven "NO" that the Linux operating system says to users ". Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
Although L
reference-pdf cheat sheet of common Linux administration tasks
Crontab reference-also See learning Cron by Example
4. Gnome/kde
Useful Gnome/kde Shortcuts
KDE Cheat sheet-kde specific Cheat Sheet
5. Sed/awk/vim and other tools
Vi Cheat sheet-who doesn ' t love vi/vim. Also Check out my guest post on Vim.
Concise Vim Cheat Sheet
awk Nawk and gawk cheat Sheet-aweso
Article Title: server hardware check and file transfer in Linux. Linux is a technology channel of the IT lab in China. Some basic categories, such as desktop applications, Linux system management, kernel research, embedded systems, and open-source systems, need to check serv
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.