In Linux, how does one view CPU information, including the number of digits and multi-core information? Today, let's take a look at various commands and displays of cpu information in linux. I believe this will be helpful to everyone, the following is a detailed description.
# Uname-Linux euis1 2.6.9-55. ELsmp #1 SMP Fri Apr 20 17:03:35 EDT 2007 i686 i686 i386 GNU/Linux(View the kernel information of the
1. Use the W command to view the process information that the logged on user is usingThe W command is used to display the names of the users who have logged in to the system and what they are doing. The information used by this command originates from the/var/run/utmp file. The information for the W command output includes:
User name
User's machine name or TTY number
Remote Host Address
Time the user logged on to the system
Id
even if the machine is restarted after the enterprise manager or the query analyzer is forcibly terminated, the SQL Server process immediately calls out the task and continues to execute it (I do not know whether the SQL Server is continuing to execute or rolling back, or if it starts again, it will continue to be there ).The problem was found: the page that the process has been occupying is where the index data of the suspected table is stored, and the index reorganization Job that started at
The process of perfecting the view controller where the current interface is locatedOne//Gets the current screen display of the Viewcontroller (which gets the equivalent of Rootviewcontroller)-(Uiviewcontroller *) GETCURRENTVC {Uiviewcontroller*result =Nil; UIWindow* Window =[[UIApplication sharedapplication] Keywindow]; if(Window.windowlevel! =uiwindowlevelnorma
just want to know the operation of a certain user for a table, can be obtained by the following SQL query, the query can get the user db_zgxt to the table SB_DJJL all the work done.Sql> SELECT Sql_redo from v$logmnr_contents WHERE username= ' db_zgxt ' and tablename= ' SB_DJJL ';It is important to emphasize that the analysis results in view v$logmnr_contents only exist during the lifetime of the session ' DBMS_LOGMRN.START_LOGMNR ' that we are runnin
log list viewAnalysis results in the gv$logmnr_contents view, you can query by the following statement:Select scn,timestamp,log_id,seg_owner,seg_type,table_space,data_blk#,data_obj#,data_objd#,Session#,serial#,username,session_info,sql_redo,sql_undo from Logmnr3 t where T.sql_redo like ' create% ';If you cannot query the Gv$logmnr_contents view correctly and report the following error, ORA-01306: You must
First, Linux view the current state of the firewall1) View firewall status:/etc/init.d/iptables statusTo temporarily turn off the firewall:/etc/init.d/iptables stopPrevent firewalls from starting at system startup/sbin/chkconfig--level 2345 iptables offRestart Iptables:/etc/init.d/iptables restartSecond, the restart after the effectiveOpen: Chkconfig iptables onO
Oracle: View All Tables and table columns of the current user, including yellowcong and oracleyellowcong.
I have previously written a tool to dynamically generate the oracle entity class function, but this tool can only be used for the Searsar project. Therefore, it is of little significance, but it can also be extended to other entity classes. USER_COL_COMMENTS and USER_TAB_COLUMNS contain table fields an
Mysql to view the current configuration file my. cnf (recommended), mysqlmy. cnf
My. cnf is the configuration file loaded when mysql starts. It is usually stored in the mysql installation directory. You can also load it in other directories.
After mysql is installed, there will be multiple my. cnf files in the system, some of which are used for testing.
Use the locate my. cnf command to list all my. cnf fil
Receive queue and the send queue. These figures are generally supposed to be 0. If not, the package is queuedIn the stack. This situation can only be seen in very few cases.The other is the active UNIX domain sockets, known as the active UNIX Domains socket interface (as with network sockets, but only for native communication, which can be increased by one-fold performance).Proto shows the protocol used by the connection, refcnt represents the process number connected to this set of interfaces,
consumption CPU percent: 1.1% kernel space consumption cpu percent: 0.3% the process in the user process space has changed the priority level of CPU consumptionRatio: 0% Idle cpu percent: 0.0% CPU time waiting for input and output: 0.0 total time spent on soft interrupts for CPU services: 0.0% stealtime:0.0%Line four: Total physical memory: 4022756 Total physical memory used: 2130488 Total free Memory: 1892268 amount of memory used as the kernel cache: 192608Line five: Total swap area: 19999740
consumption CPU percent: 1.1% kernel space consumption cpu percent: 0.3% the process in the user process space has changed the priority level of CPU consumptionRatio: 0% Idle cpu percent: 0.0% CPU time waiting for input and output: 0.0 total time spent on soft interrupts for CPU services: 0.0% stealtime:0.0%Line four: Total physical memory: 4022756 Total physical memory used: 2130488 Total free Memory: 1892268 amount of memory used as the kernel cache: 192608Line five: Total swap area: 19999740
How does one view the ID of the current process in Linux?
How does one view the ID of the current process in Linux?
$ Indicates the ID of the current process, and $ PPID indicates the ID of the parent process of the current proc
This article describes how to check the MySQL database, view the current date, using the MySQL current_date variable.
We can execute SQL statements when we log on to MySQL using the MySQL client tool or other graphical tools. If we want to look at the current date in the MySQL database, we can use the current_date variable. The order is as follows:
How to view the current system version under Linux:Uname-rFunction Description: Uname is used to obtain information about the computer and the operating system.Syntax: uname [-amnrsvpio][--help][--version]Supplemental Note: uname can display basic information such as the version of the operating system used by the Linux host, the name of the hardware.Parameters-A or –all verbose output all information, foll
Two ways for MySQL to view the current running status: bitsCN.com
Method 1: Use the mysql command to view
In MySQL, you can view common system information directly by checking the status, as shown in the following example:
1. $ mysql-u root-p
2. mysql> s
"Threads: 2 Questions: 224857636 Slow queries: 229 Opens
application, buffers/cached is equal to the availableBecause buffer/cached is designed to improve the performance of file reads,The buffer/cached is quickly recycled when the application needs to use memory.So, from the application's point of view, available memory = System Free memory+buffers+cached.Buffers refers to the buffer size that is used to make the block device,He only recorded the file system's metadata and tracking in-flight pages.Cached
Transferred from: http://blog.csdn.net/mybelief321/article/details/9076331Note: The current system runs a variety of data recorded under the proc directory, version information can be seen directly through cat.First KindUse the command: Cat/proc/version viewProc Directory of the current system running a variety of data, version record information can be seen directly through cat, you can also see my GCC ver
One computer is used by multiple users.
There is an Administrator Super administrator user.
There is a Ming user.
If Ming creates a folder and sets other security settings, only Ming can view the folder. When the Administrator checks the permission settings, a warning is displayed: "You do not have the permission to view or edit the current a permission settings
How can I view the current number of connections in Oracle? You only need to use the following SQL statement to query it.
Select * from V $ session where username is not null
Select username, count (username) from V $ session where username is not null group by username # view the number of connections of different users
Select count (*) from V $ session #
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.