Some individuals [reprint] Windows and Linux understanding

Some personal understanding of Windows and Linux

https://blog.csdn.net/renfufei/article/details/38677251

 


Expand
- not entirely, but do not want to keep the latter need to improve the draft. . .

windows are end-user-oriented, Linux is a server-oriented, so the memory management mechanism is not the same.
After Windows will use memory more than 60% to 70% will begin to swap memory to ensure there is enough memory at all times to respond to user requests.

 The Linux you can use 100% of memory. Were nearly full exchange will be performed.

Real-time interactive systems. Need to feel free to respond to user events.
About 30% of the resources are wasted.
Kernel is not the same.
So windows linux kill, but on the server, linux client but also to engage in Windows
Android real-time performance is not as ios.
Windows native command line login Oracle_DBA

Suitable for multiple Oracle instances and monitor the situation:

sqlplus /nolog
conn /@orcl as sysdba


1. Review the list of tasks

tasklist
2. Check the port number associated with PID

netstat -ano

3. Termination Process
Method one: use the process PID End Process

taskkill / pid 1234 / f
(/ f refers to the forced end)
Method 2: Using the PID of the End Process
command format: ntsd -cq -p pid 
command example: ntsd -cq -p 1332 (the end of the explorer.exe process)
paradigm Detailed: explorer.exe's pid as 1332, but how to get the process pid it? Enter TASKLIST the CMD can get PID current task manager all processes
Method three: Using the end of the process name Process
Command Format: ntsd -cq -pn *** exe (*** exe for the process name, exe should not be spared. )
commands example: ntsd -cq -pn explorer.exe

 

Reference: http://www.blogjava.net/joesoft/archive/2011/10/05/360048.html

 

4. Oracle exp export backup command-line and access time

set cdate=%date:~0,4%%date:~5,2%%date:~8,2%
set chour=%TIME:~0,2%
if %TIME:~0,2% leq 9 (set chour=0%TIME:~1,1%)else set chour=%TIME:~0,2%
set ctime=%TIME:~3,2%%TIME:~6,2%
@rem "获取当前时间"
set curtime=%cdate%_%chour%%ctime%


exp myuser @rem / mypass @ = F. ORCL file: owner = /DB_EXPORT_BACK/myuser_201412261815.dmp (myuser)
@rem "Export myuser in Oracle table data structure"
@rem "required file directory exists, @orcl Net Manager is network service settings named "
exp myuser / mypass @ orcl File = F: /DB_EXPORT_BACK/myuser_%curtime%.dmp owner =
(myuser) ----------------
Disclaimer: This article CSDN bloggers to "anchor" of the original article, follow the CC 4.0 BY-SA copyright agreement, reproduced, please attach the original source link and this statement.
Original link: https: //blog.csdn.net/renfufei/article/details/38677251

Guess you like

Origin www.cnblogs.com/jinanxiaolaohu/p/12124937.html