system use the Accton command, which must be run as root. The form of the Accton command for Accton File,file must exist beforehand. Create the Pacct file using the Touch command first:
#touch/var/log/pacct
And then run:
# ACCTON/VAR/LOG/PACCT
Once the Accton is activated, you can use the Lastcomm command to monitor any command that is executed at any time in the system. To turn off statistics, you can use the Accton command with no parameters:
# Accton
Title:
In Windows, if an unexpected power failure occurs, system self-check will usually occur next time you start the system. In Linux, there is also a file system self-check, and the self-check cycle and method can be customized through the instructions tune2fs.
Adjust the number of times the root file system is fully in
How to check the storage engine type of MySQL Data Tables on Linux
Question: I want to know whether my MySQL database is of the MyISAM or Innodb type. How can I check the MySQL database table type?
MySQl mainly uses two storage engines: MyISAM and Innodb. MyISAM is non-transactional, so it can read faster. However, InnoDB fully supports fine-grained transaction l
Check port usage in linux:
1.
Check which process occupies port 819:
Case9-sghfofo:/usr/local/cnbj/tomcat-bj/bin # lsof-I: 859Result After running:COMMAND PID USER FD TYPE DEVICE SIZE NODE NAMEJava 24907 root 31u IPv4 248905027 TCP *: 859 (LISTEN)
From the above we know that port 859 is occupied by the process with process number 24907, and it is a java Process.
原文地址:http://www.phpthinking.com/archives/427 Log on to your server and execute the following command with the root user , using it you can check whether your server is in DDoS attack or not: netstat-anp |grep ' tcp\|udp ' | awk ' {print $} ' | Cut-d:-f1 | Sort | uniq-c | Sort–n This command will show that the logged on is the maximum number of IPs connected to the server List. ddos become more complex, Because attackers use fewer connections, m
-left:0px; padding-right:0px "border=" 0 "alt=" Image (9) "src=" http://s3.51cto.com/wyfs02/M01/6C/58/ Wkiom1vg4ohd3thqaaczrmreyqy090.jpg "" 721 "height=" > So far, we can see that all cobbler check, the problem we have found, we have all adjusted to complete, in the next series of chapters, we will also bring you how to configure the DHCP service function in cobbler.Thank you for reading, I hope this series of articles can give you in the configur
In linux, php is used for socket programming and a connection rejection error is reported. Please check that this post was last edited by lovegis0101 at 08:40:57.
I am new to Linux, php, and socket (haha ....), I found some information on the Internet and wrote two basic php scripts on the client and server. in Windows, the test can communicate with each other. T
Linux security check method-general Linux technology-Linux technology and application information. For details, refer to the following section. Guidance:
Check the system password file and check the file modification date.
[Root
The Linux file system is asynchronous. that is to say, writing a file is not saved to the media (hard disk, USB flash disk, etc.) immediately, but saved to the buffer zone, and save them to the media together to a certain extent, such
The Linux file system is asynchronous. that is to say, writing a file is not saved to the media (hard disk, USB flash disk, etc.) immediately, but saved to the buffer zone, a
Check 12 Performance Tuning commands in linuxGuidePerformance Tuning is one of the most important tasks for O M engineers. If your production environment experiences slow system response speed, abnormal hard disk I/O throughput, and the data processing speed is lower than the expected value, or if the CPU, memory, hard disk, network, and other system resources are exhausted for a long time, this article will help you. If not, add them to your favorit
[Practice OK] in Linux, check the context of environment variables when the process (Program) is started. Because of the recent installation of jira in Linux, a Chinese plug-in is installed. Once it is set to start, it is in English, and after the terminal restarts again, it seems that the plug-in takes effect and it is restored to a normal Chinese interface. Fir
In Linux, check whether it is a solid state drive (SSD). Recently, we are preparing to test it. We need to check which machines are attached with an ssd hard drive. Google has seen many methods, but they are all in the dark, I don't know how to determine. Ssd disks seem to use scsi interfaces, so they cannot be determined based on the drive letter name. At last,
Run the following command to view the MySQL version:
[Root@bkjia.com] # mysql-V
Display: mysql Ver 14.14 Distrib 5.5.7-rc, for Linux (x86_64) using readline 5.1
Check if there are any mysql commands in rpm:
[Root@bkjia.com] # rpm-qa | grep-I mysqlShow: MySQL-client-5.5.7_rc-1.linux2.6MySQL-server-5.5.7_rc-1.linux2.6MySQL-devel-5.5.7_rc-1.linux2.6
Check wheth
Solution in windows:
Find the path of session. save_path = "" in php. ini and check whether this directory exists or whether the directory has write permissions for everyone or Authenticated Users. Generally
Solution in linux:
After updating PHP today, the phpmyadmin configured in the result is logged in, "You cannot create a session when an error occurs. Check
Several methods for checking whether the currently running LINUX is in the VM or in the physical machine mentioned the escape problem in the VM yesterday. to escape, first check whether the current operating system is a VM, the following provides several methods to check in LINUX: first, we recommend factervirtual with
How to check and use serial ports under Linux
How do I check and configure serial ports under Linux for various purposes such as modem, null ing nullModems or connect a dumb terminal?Linux offers various tools. Linux uses ttysx f
How can I check whether a port in linux is occupied ?, LinuxportI. Use lsof
Format:
Lsof-I: port
For example, to view port 80 usage, you can use lsof-I: 80.
It is clear that the port is occupied.
Remarks: Note that lsof must have the permissions of the process. You can view the usage information. For example, if I use another user, I cannot view it.
The current user named
Check port usage in linux
1. Start a jetty server in the Fedora20 system. port 8080;
2. Run the following command:
[doctor@localhost bin]$ lsof -i:8080COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAMEjava 10033 doctor 180u IPv6 253547 0t0 TCP *:webcache (LISTEN)[doctor@localhost bin]$
Obtain PID 10033.
3. Run the following command:
[doctor@localhost ~]$ ps aux |grep 10033doctor 100
The Linux system firewall must check, enable, and disable the ping test. Otherwise, the test may fail. View the firewall information: #/etc/init. d/iptables status firewall restart: #/etc/init. d/iptables restartDisable and enable the Firewall service (do not disable the firewall permanently): www.2cto.com permanently effective: chkconfig iptables on/off (restart takes effect) immediate effect: service ipta
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.