1. Lệnh Ping : Cú pháp: Code: ping ip/host [/t][/a][/l][/n]



tải về 1.67 Mb.
Chế độ xem pdf
trang69/92
Chuyển đổi dữ liệu18.05.2022
Kích1.67 Mb.
#52014
1   ...   65   66   67   68   69   70   71   72   ...   92
Cac lenh co ban trong DOS

 
Examples:
Kill all instances of notepad.exe running on \\workstation64: 
pskill \\workstation64 notepad 
“Never trust a man who, when left alone with a tea cosy, doesn't try it on” ~ Billy Connolly 
PsList
 (
PsTools

Process Status, list information about processes running in memory. 
Syntax 
pslist [-?] [-t] [-m] [-x] [\\computer [-u user] [-p passwd]] 
[name | pid]
Options: 
computer The computer on which the process is running. 
Default=local system
-p passwd Specify a password for user (optional). Passed as clear 
text. 
If omitted, you will be prompted to enter a hidden 
password. 
-u user Specify a user name for login to remote 
computer(optional). 
-t Show statistics for all active threads on the system, 
each thread is grouped with its owning process. 
-m Show memory-oriented information for each process,
rather than the default of CPU-oriented information. 
-x Show CPU, memory and thread information for each process 
specified. 
name Scan only those processes that begin with the name 
process. 
Thus: 
pslist exp 


will display processes that start with exp... Explorer
Export etc 
-? Display options and units of measurement. 
 
Examples:
List all processes running on \\workstation64: 
C:\> 
SC
 \\workstation64 start RemoteRegistry
C:\> pslist \\workstation64 
“Here‟s a rule I recommend. Never practice two vices at once” ~ Tallulah Bankhead 
PsLoggedOn
 
(
PsTools

See who is logged onto a computer, either locally or remotely 
Syntax 
psloggedon [- ] [-l] [-x] [\\computer | username
Options: 
computer The computer on which the process is running. 
Default=local system
-l Show only local logons instead of both local and network 
resource logons. 
-x Don’t show logon times. 
username Search the network for computers to which that user is 
loggedon. 
- Help, display all options and units of measurement used. 
PsLoggedOn's definition of a locally logged on user is one that has their profile loaded into the 
Registry. If no one is currently logged on, PsLoggedOn will return the last logged on user. 
Note that PsLoggedOn will show you as logged on via resource share to remote computers that 
you query because a logon is required for PsLoggedOn to access the Registry of a remote 
system. 

tải về 1.67 Mb.

Chia sẻ với bạn bè của bạn:
1   ...   65   66   67   68   69   70   71   72   ...   92




Cơ sở dữ liệu được bảo vệ bởi bản quyền ©hocday.com 2024
được sử dụng cho việc quản lý

    Quê hương