操屁眼的视频在线免费看,日本在线综合一区二区,久久在线观看免费视频,欧美日韩精品久久综

新聞資訊

    Linux 查看端口占用情況可以使用 lsofnetstat 命令。


    lsof

    lsof(list open files)是一個列出當前系統打開文件的工具。

    lsof 查看端口占用語法格式:

    lsof -i:端口號
    

    實例

    查看服務器 8000 端口的占用情況:

    # lsof -i:8000
    COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
    nodejs 26993 root 10u IPv4 37999514 0t0 TCP *:8000 (LISTEN)
    

    可以看到 8000 端口已經被輕 nodejs 服務占用。

    lsof -i 需要 root 用戶的權限來執行,如下圖:

    更多 lsof 的命令如下:

    lsof -i:8080:查看8080端口占用
    lsof abc.txt:顯示開啟文件abc.txt的進程
    lsof -c abc:顯示abc進程現在打開的文件
    lsof -c -p 1234:列出進程號為1234的進程所打開的文件
    lsof -g gid:顯示歸屬gid的進程情況
    lsof +d /usr/local/:顯示目錄下被進程開啟的文件
    lsof +D /usr/local/:同上,但是會搜索目錄下的目錄,時間較長
    lsof -d 4:顯示使用fd為4的進程
    lsof -i -U:顯示所有打開的端口和UNIX domain文件
    

    netstat

    netstat -tunlp 用于顯示 tcp,udp 的端口和進程等相關情況。

    netstat 查看端口占用語法格式:

    netstat -tunlp | grep 端口號
    
    • -t (tcp) 僅顯示tcp相關選項
    • -u (udp)僅顯示udp相關選項
    • -n 拒絕顯示別名,能顯示數字的全部轉化為數字
    • -l 僅列出在Listen(監聽)的服務狀態
    • -p 顯示建立相關鏈接的程序名

    例如查看 8000 端口的情況,使用以下命令:

    # netstat -tunlp | grep 8000
    tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 26993/nodejs 
    

    更多命令:

    netstat -ntlp //查看當前所有tcp端口
    netstat -ntulp | grep 80 //查看所有80端口使用情況
    netstat -ntulp | grep 3306 //查看所有3306端口使用情況
    

    kill

    在查到端口占用的進程后,如果你要殺掉對應的進程可以使用 kill 命令:

    kill -9 PID
    

    如上實例,我們看到 8000 端口對應的 PID 為 26993,使用以下命令殺死進程:

    CMD運行指令

    開始→運行→CMD→鍵入以下命令即可:

    gpedit.msc-----組策略

    sndrec32-------錄音機

    Nslookup-------IP地址偵測器

    explorer-------打開資源管理器

    logoff---------注銷命令

    tsshutdn-------60秒倒計時關機命令

    lusrmgr.msc----本機用戶和組

    services.msc---本地服務設置

    oobe/msoobe /a----檢查XP是否激活

    notepad--------打開記事本

    cleanmgr-------垃圾整理

    net start messenger----開始信使服務

    compmgmt.msc---計算機管理

    net stop messenger-----停止信使服務

    conf-----------啟動netmeeting

    dvdplay--------DVD播放器

    charmap--------啟動字符映射表

    diskmgmt.msc---磁盤管理實用程序

    calc-----------啟動計算器

    dfrg.msc-------磁盤碎片整理程序

    chkdsk.exe-----Chkdsk磁盤檢查

    devmgmt.msc--- 設備管理器

    regsvr32 /u *.dll----停止dll文件運行

    drwtsn32------ 系統醫生

    rononce -p ----15秒關機

    dxdiag---------檢查DirectX信息

    regedt32-------注冊表編輯器

    Msconfig.exe---系統配置實用程序

    rsop.msc-------組策略結果集

    mem.exe--------顯示內存使用情況

    regedit.exe----注冊表

    winchat--------XP自帶局域網聊天

    progman--------程序管理器

    winmsd---------系統信息

    perfmon.msc----計算機性能監測程序

    winver---------檢查Windows版本

    sfc /scannow-----掃描錯誤并復原

    winipcfg-------IP配置

    taskmgr-----任務管理器(2000/xp/2003)

    command--------cmd

    fsmgmt.msc 共享文件夾

    netstat -an----查看端口

    osk 屏幕鍵盤

    install.asp----修改注冊網頁

    eventvwr.msc 時間查看器

    secpol.msc 本地安全設置

    services.msc 服務

    2K

    accwiz.exe > 輔助工具向導

    acsetups.exe > acs setup dcom server executable

    actmovie.exe > 直接顯示安裝工具

    append.exe > 允許程序打開制定目錄中的數據

    arp.exe > 顯示和更改計算機的ip與硬件物理地址的對應列表

    at.exe > 計劃運行任務

    atmadm.exe > 調用管理器統計

    attrib.exe > 顯示和更改文件和文件夾屬性

    autochk.exe > 檢測修復文件系統

    autoconv.exe > 在啟動過程中自動轉化系統

    autofmt.exe > 在啟動過程中格式化進程

    autolfn.exe > 使用長文件名格式

    bootok.exe > boot acceptance application for registry

    bootvrfy.exe > 通報啟動成功

    cacls.exe > 顯示和編輯acl

    calc.exe > 計算器

    cdplayer.exe > cd播放器

    change.exe > 與終端服務器相關的查詢

    charmap.exe > 字符映射表

    chglogon.exe > 啟動或停用會話記錄

    chgport.exe > 改變端口(終端服務)

    chgusr.exe > 改變用戶(終端服務)

    chkdsk.exe > 磁盤檢測程序

    chkntfs.exe > 磁盤檢測程序

    cidaemon.exe > 組成ci文檔服務

    cipher.exe > 在ntfs上顯示或改變加密的文件或目錄

    cisvc.exe > 索引內容

    ckcnv.exe > 變換cookie

    cleanmgr.exe > 磁盤清理

    cliconfg.exe > sql客戶網絡工具

    clipbrd.exe > 剪貼簿查看器

    clipsrv.exe > 運行clipboard服務

    clspack.exe > 建立系統文件列表清單

    cluster.exe > 顯示域的集群

    _cmd_.exe > 沒什么好說的!

    cmdl32.exe > 自動下載連接管理

    cmmgr32.exe > 連接管理器

    cmmon32.exe > 連接管理器監視

    cmstp.exe > 連接管理器配置文件安裝程序

    comclust.exe > 集群

    comp.exe > 比較兩個文件和文件集的內容*

    compact.exe > 顯示或改變ntfs分區上文件的壓縮狀態

    conime.exe > ime控制臺

    control.exe > 控制面板

    convert.exe > 轉換文件系統到ntfs

    convlog.exe > 轉換iis曰志文件格式到ncsa格式

    cprofile.exe > 轉換顯示模式

    cscript.exe > 較本宿主版本

    csrss.exe > 客戶服務器runtime進程

    csvde.exe > 曰至格式轉換程序

    dbgtrace.exe > 和terminal server相關

    dcomcnfg.exe > dcom配置屬性

    dcphelp.exe >

    dcpromo.exe > ad安裝向導

    ddeshare.exe > dde共享

    ddmprxy.exe >

    debug.exe > 就是debug啦!

    dfrgfat.exe > fat分區磁盤碎片整理程序

    dfrgntfs.exe > ntfs分區磁盤碎片整理程序

    dfs_cmd_.exe > 配置一個dfs樹

    dfsinit.exe > 分布式文件系統初始化

    dfssvc.exe > 分布式文件系統服務器

    diantz.exe > 制作cab文件

    diskperf.exe > 磁盤性能計數器

    dllhost.exe > 所有com 應用軟件的主進程

    dllhst3g.exe >

    dmadmin.exe > 磁盤管理服務

    dmremote.exe > 磁盤管理服務的一部分

    dns.exe > dns applications dns

    doskey.exe > 命令行創建宏

    dosx.exe > dos擴展

    dplaysvr.exe > 直接運行幫助

    drwatson.exe > 華生醫生錯誤檢測

    drwtsn32.exe > 華生醫生顯示和配置管理

    dtcsetup.exe > installs mdtc

    dvdplay.exe > dvd播放

    dxdiag.exe > direct-x診斷工具

    edlin.exe > 命令行的文本編輯器(歷史悠久?。。?/p>

    edlin.exe > 命令行的文本編輯器(歷史悠久?。。?/p>

    esentutl.exe > ms數據庫工具

    eudcedit.exe > type造字程序

    eventvwr.exe > 事件查看器

    evnt_cmd_.exe > event to trap translator; configuration tool

    evntwin.exe > event to trap translator setup

    exe2bin.exe > 轉換exe文件到二進制

    expand.exe > 解壓縮

    extrac32.exe > 解cab工具

    fastopen.exe > 快速訪問在內存中的硬盤文件

    faxcover.exe > 傳真封面編輯

    faxqueue.exe > 顯示傳真隊列

    faxsend.exe > 發送傳真向導

    faxsvc.exe > 啟動傳真服務

    fc.exe > 比較兩個文件的不同

    find.exe > 查找文件中的文本行

    findstr.exe > 查找文件中的行

    finger.exe > 一個用戶并顯示出統計結果

    fixmapi.exe > 修復mapi文件

    flattemp.exe > 允許或者禁用臨時文件目錄

    fontview.exe > 顯示字體文件中的字體

    forcedos.exe > forces a file to start in dos mode. 強制文件在dos模式下運行

    freecell.exe > popular windows game 空當接龍

    ftp.exe > file transfer protocol used to transfer files over a network conne

    ction 就是ftp了

    gdi.exe > graphic device interface 圖形界面驅動

    grovel.exe >

    grpconv.exe > program manager group convertor 轉換程序管理員組

    help.exe > displays help for windows 2000 commands 顯示幫助

    hostname.exe > display hostname for machine. 顯示機器的hostname

    ie4uinit.exe > ie5 user install tool ie5用戶安裝工具

    ieshwiz.exe > customize folder wizard 自定義文件夾向導

    iexpress.exe > create and setup packages for install 穿件安裝包

    iisreset.exe > restart iis admin service 重啟iis服務

    internat.exe > keyboard language indicator applet 鍵盤語言指示器

    ipconfig.exe > windows 2000 ip configuration. 察看ip配置

    ipsecmon.exe > ip security monitor ip安全監視器

    ipxroute.exe > ipx routing and source routing control program ipx路由和源路由

    控制程序

    irftp.exe > setup ftp for wireless communication 無線連接

    ismserv.exe > intersite messaging service 安裝或者刪除service control manage

    r中的服務

    jdbgmgr.exe > microsoft debugger for java 4 java4的調試器

    jetconv.exe > convert a jet engine database 轉換jet engine數據庫

    jetpack.exe > compact jet database. 壓縮jet數據庫

    jview.exe > command-line loader for java java的命令行裝載者

    krnl386.exe > core component for windows 2000 2000的核心組件

    label.exe > change label for drives 改變驅動器的卷標

    lcwiz.exe > license compliance wizard for local or remote systems. 許可證符合

    向導

    ldifde.exe > ldif cmd line manager ldif目錄交換命令行管理

    licmgr.exe > terminal server license manager 終端服務許可協議管理

    lights.exe > display connection status lights 顯示連接狀況

    llsmgr.exe > windows 2000 license manager 2000許可協議管理

    llssrv.exe > start the license server 啟動許可協議服務器

    lnkstub.exe >

    locator.exe > rpc locator 遠程定位

    lodctr.exe > load perfmon counters 調用性能計數

    logoff.exe > log current user off. 注銷用戶

    lpq.exe > displays status of a remote lpd queue 顯示遠端的lpd打印隊列的狀態,

    顯示被送到基于unix的服務器的打印任務

    lpr.exe > send a print job to a network printer. 重定向打印任務到網絡中的打印 機。通常用于unix客戶打印機將打印任務發送給連接了打印設備的nt的打印機服務器。

    lsass.exe > lsa executable and server dll 運行lsa和server的dll

    lserver.exe > specifies the new dns domain for the default server 指定默認se

    rver新的dns域

    os2.exe > an os/2 warp server (os2 /o) os/2

    os2srv.exe > an os/2 warp server os/2

    os2ss.exe > an os/2 warp server os/2

    osk.exe > on screen keyboard 屏幕鍵盤

    packager.exe > windows 2000 packager manager 對象包裝程序

    pathping.exe > combination of ping and tracert 包含ping和tracert的程序

    pax.exe > is a posix program and path names used as arguments must be specif

    ied in posix format. use '//c/users/default' instead of 'c:usersdefault.'

    啟動便攜式存檔互換 (pax) 實用程序

    Pent nt.exe > used to check the pentium for the floating point division error

    . 檢查pentium的浮點錯誤

    perfmon.exe > starts windows performance monitor 性能監視器

    ping.exe > packet internet groper 驗證與遠程計算機的連接

    posix.exe > used for backward compatibility with unix 用于兼容unix

    print.exe > cmd line used to print files 打印文本文件或顯示打印隊列的內容。

    progman.exe > program manager 程序管理器

    proquota.exe > profile quota program

    psxss.exe > posix subsystem application posix子系統應用程序

    qappsrv.exe > displays the available application terminal servers on the net

    work

    在網絡上顯示終端服務器可用的程序

    qprocess.exe > display information about processes local or remote 在本地或遠

    程顯示進程的信息(需終端服務)

    query.exe > query termserver user process and sessions 查詢進程和對話

    quser.exe > display information about a user logged on 顯示用戶登陸的信息(需

    終端服務)

    qwinsta.exe > display information about terminal sessions. 顯示終端服務的信息

    rasadmin.exe > start the remote access admin service 啟動遠程訪問服務

    rasautou.exe > creates a ras connection 建立一個ras連接

    rasdial.exe > dial a connection 撥號連接

    ras.exe > starts a ras connection 運行ras連接

    rcp.exe > copies a file from and to a rcp service. 在 windows 2000 計算機和運

    行遠程外殼端口監控程序 rshd 的系統之間復制文件

    rdpclip.exe > rdpclip allows you to copy and paste files between a terminal

    session and client console session. 再終端和本地復制和粘貼文件

    recover.exe > recovers readable information from a bad or defective disk 從壞

    的或有缺陷的磁盤中恢復可讀取的信息。

    redir.exe > starts the redirector service 運行重定向服務

    regedt32.exe > 32-bit register service 32位注冊服務

    regini.exe > modify registry permissions from within a script 用腳本修改注冊

    許可

    register.exe > register a program so it can have special execution character

    istics. 注冊包含特殊運行字符的程序

    regsvc.exe >

    regsvr32.exe > registers and unregister's dll's. as to how and where it regi

    ster's them i dont know. 注冊和反注冊dll

    regtrace.exe > options to tune debug options for applications failing to dum

    p trace statements

    trace 設置

    regwiz.exe > registration wizard 注冊向導

    remrras.exe >

    replace.exe > replace files 用源目錄中的同名文件替換目標目錄中的文件。

    reset.exe > reset an active section 重置活動部分

    rexec.exe > runs commands on remote hosts running the rexec service. 在運行

    rexec 服務的遠程計算機上運行命令。rexec 命令在執行指定命令前,驗證遠程計算機

    上的用戶名,只有安裝了 tcp/ip 協議后才可以使用該命令。

    risetup.exe > starts the remote installation service wizard. 運行遠程安裝向導

    服務

    route.exe > display or edit the current routing tables. 控制網絡路由表

    routemon.exe > no longer supported 不再支持了!

    router.exe > router software that runs either on a dedicated dos or on an os

    . 檢查pentium的浮點錯誤

    perfmon.exe > starts windows performance monitor 性能監視器

    ping.exe > packet internet groper 驗證與遠程計算機的連接

    posix.exe > used for backward compatibility with unix 用于兼容unix

    print.exe > cmd line used to print files 打印文本文件或顯示打印隊列的內容。

    progman.exe > program manager 程序管理器

    proquota.exe > profile quota program

    psxss.exe > posix subsystem application posix子系統應用程序

    qappsrv.exe > displays the available application terminal servers on the net

    work

    在網絡上顯示終端服務器可用的程序

    qprocess.exe > display information about processes local or remote 在本地或遠

    程顯示進程的信息(需終端服務)

    query.exe > query termserver user process and sessions 查詢進程和對話

    quser.exe > display information about a user logged on 顯示用戶登陸的信息(需

    終端服務)

    qwinsta.exe > display information about terminal sessions. 顯示終端服務的信息

    rasadmin.exe > start the remote access admin service 啟動遠程訪問服務

    rasautou.exe > creates a ras connection 建立一個ras連接

    rasdial.exe > dial a connection 撥號連接

    ras.exe > starts a ras connection 運行ras連接

    rcp.exe > copies a file from and to a rcp service. 在 windows 2000 計算機和運

    行遠程外殼端口監控程序 rshd 的系統之間復制文件

    rdpclip.exe > rdpclip allows you to copy and paste files between a terminal

    session and client console session. 再終端和本地復制和粘貼文件

    recover.exe > recovers readable information from a bad or defective disk 從壞

    的或有缺陷的磁盤中恢復可讀取的信息。

    redir.exe > starts the redirector service 運行重定向服務

    regedt32.exe > 32-bit register service 32位注冊服務

    regini.exe > modify registry permissions from within a script 用腳本修改注冊

    許可

    register.exe > register a program so it can have special execution character

    istics. 注冊包含特殊運行字符的程序

    regsvc.exe >

    regsvr32.exe > registers and unregister's dll's. as to how and where it regi

    ster's them i dont know. 注冊和反注冊dll

    regtrace.exe > options to tune debug options for applications failing to dum

    p trace statements

    trace 設置

    regwiz.exe > registration wizard 注冊向導

    remrras.exe >

    replace.exe > replace files 用源目錄中的同名文件替換目標目錄中的文件。

    reset.exe > reset an active section 重置活動部分

    rexec.exe > runs commands on remote hosts running the rexec service. 在運行

    rexec 服務的遠程計算機上運行命令。rexec 命令在執行指定命令前,驗證遠程計算機

    上的用戶名,只有安裝了 tcp/ip 協議后才可以使用該命令。

    risetup.exe > starts the remote installation service wizard. 運行遠程安裝向導

    服務

    route.exe > display or edit the current routing tables. 控制網絡路由表

    routemon.exe > no longer supported 不再支持了!

    router.exe > router software that runs either on a dedicated dos or on an os

    5 開始→運行(cmd)命令大全(絕對經典)

    /2 system. route軟件在 dos或者是os/2系統

    rsh.exe > runs commands on remote hosts running the rsh service 在運行 rsh 服

    務的遠程計算機上運行命令

    rsm.exe > mounts and configures remote system media 配置遠程系統媒體

    rsnotify.exe > remote storage notification recall 遠程存儲通知回顯

    rsvp.exe > resource reservation protocol 源預約協議

    runas.exe > run a program as another user 允許用戶用其他權限運行指定的工具和

    程序

    rundll32.exe > launches a 32-bit dll program 啟動32位dll程序

    runonce.exe > causes a program to run during startup 運行程序再開始菜單中

    rwinsta.exe > reset the session subsystem hardware and software to known ini

    tial values 重置會話子系統硬件和軟件到最初的值

    savedump.exe > does not write to e:winntuser.dmp 不寫入user.dmp中

    scardsvr.exe > smart card resource management server 子能卡資源管理服務器

    schupgr.exe > it will read the schema update files (.ldf files) and upgrade

    the schema. (part of adsi) 讀取計劃更新文件和更新計劃

    secedit.exe > starts security editor help 自動安全性配置管理

    services.exe > controls all the services 控制所有服務

    sethc.exe > set high contrast - changes colours and display mode logoff to s

    et it back to normal 設置高對比

    setreg.exe > shows the software publishing state key values 顯示軟件發布的國

    家語言

    setup.exe > gui box prompts you to goto control panel to configure system co

    mponents 安裝程序(轉到控制面板)

    setver.exe > set version for files 設置 ms-dos 子系統向程序報告的 ms-dos 版本

    sfc.exe > system file checker test and check system files for integrity 系統

    文件檢查

    sfmprint.exe > print services for macintosh 打印macintosh服務

    sfmpsexe.exe >

    sfmsvc.exe >

    shadow.exe > monitor another terminal services session. 監控另外一臺中端服務

    器會話

    share.exe > windows 2000 和 ms-dos 子系統不使用該命令。接受該命令只是為了與

    ms-dos 文件兼容

    shmgrate.exe >

    shrpubw.exe > create and share folders 建立和共享文件夾

    sigverif.exe > file signature verification 文件簽名驗證

    skeys.exe > serial keys utility 序列號制作工具

    smlogsvc.exe > performance logs and alerts 性能曰志和警報

    smss.exe >

    sndrec32.exe > starts the windows sound recorder 錄音機

    sndvol32.exe > display the current volume information 顯示聲音控制信息

    snmp.exe > simple network management protocol used for network mangement 簡單

    網絡管理協議

    snmptrap.exe > utility used with snmp snmp工具

    sol.exe > windows solitaire game 紙牌

網站首頁   |    關于我們   |    公司新聞   |    產品方案   |    用戶案例   |    售后服務   |    合作伙伴   |    人才招聘   |   

友情鏈接: 餐飲加盟

地址:北京市海淀區    電話:010-     郵箱:@126.com

備案號:冀ICP備2024067069號-3 北京科技有限公司版權所有