• A tutorial on the installation and command use of process management tool htop in Linux


    1. Introduction to htopHtop is a software running in Linux system monitoring and process management, which is used to replace the traditional top under UNIX. Unlike top, which only provides the list of processes that consume the most resources, htop provides the list of all processes, and uses color to identify the processor, swap and […]

  • How to view the free memory in the system with top and free commands under CentOS


    Here’s how to use the top and free commands to view the free memory in the system So what you see when you execute the top command [[email protected] ~]# top MEM: 8174492k total, 7124268k used, which does not mean that your application has used 7.1 memory. This 7.1g includes: application memory + buffer + cache […]

  • Fixed top div to set translucency


    Copy code The code is as follows: <!DOCTYPE html PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <html> <head> <meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″> < title > Top fixation < / Title ><style type=”text/css”> html,body {overflow:hidden;margin:0px;width:100%;height:100%;} .virtual_body {width:100%;height:100%;overflow-y:scroll;overflow-x:auto;} .fixed_div {position:absolute;z-index:2008;top:0px;left:0px;right:16px;height:40px;background:#CCCCCC;border-bottom:3px inset;border-color:#006699; //bottom:20px; //border:1px solid red; //border-style:inset; //Translucent effect making//filter:alpha(opacity=50); //-moz-opacity:0.5; //opacity:0.5; //background:#666666; } </style> </head> <body> < div […]

  • The WordPress wp_head() function leaves 28px blank at the top of the page


    In the header.php in WordPress topic, there is a wp_head() function. On the surface, there is no mystery. Only by looking at the source code in the browser can you see the following code generated by it: Copy code The code is as follows: <style type=”text/css” media=”print”>#wpadminbar { display:none; }</style> <style type=”text/css”> html { margin-top: […]

  • Top + variable usage analysis (downmoon) in SQL server stored procedure


    What happens when the TOP in the stored procedure is followed by a variable? Copy codeThe code is as follows: Create proc getWorkPlan2 (@intCounter int ,@lngUserID int) as select Top 5 lngWorkID,strWorkName,strExecHumanName,strBeginDate from worklist where lngExecHumanID= @lngUserID order by lngWorkID desc Now I want to change Top 5 here to the variable Top @intCounteras follows […]

  • New Use of Top in SQL Server 2008


    TOP Replaces Set RowCountIn traditional SQL statements before SQL Server 2005, top statements do not support local variables. see//www.jb51.net/article/27089.htmSet RowCount can be used at this point, but in SQL Server 2005/2008, TOP usually executes faster, so the TOP keyword should be used instead of Set RowCount. Copy codeThe code is as follows: / *********************** Create […]

  • Query of SQLite3 top and introduction of limit grammar


    In fact, there is no top grammar structure in SQLite 3, but in SQLite 3, there are related grammars that can achieve the same function as top grammar. SQLite 3 SQL is implemented with a limit grammar. Such as: Copy codeThe code is as follows: Select * from table where name=’_quiet ‘order by ID limit […]