Kako videti stanje na udaljenom serveru? A bez RD-a!

Ima set Microsoft alata koji su prosto genijalni za to.
Zovu se PSTools, i mogu se skinuti odavde (free su).
Dobije se ZIP fajl. Ja sam ga raspakovala u folder na C: particiji, i onda taj folder dodala u PATH varijablu, tako da alate bez problema prizivam iz komandne linije (cmd).
Tu je gomila alata :
PsExec – execute processes remotely
PsFile – shows files opened remotely
PsGetSid – display the SID of a computer or a user
PsInfo – list information about a system
PsPing – measure network performance
PsKill – kill processes by name or process ID
PsList – list detailed information about processes
PsLoggedOn – see who’s logged on locally and via resource sharing (full source is included)
PsLogList – dump event log records
PsPasswd – changes account passwords
PsService – view and control services
PsShutdown – shuts down and optionally reboots a computer
PsSuspend – suspends processes
PsUptime – shows you how long a system has been running since its last reboot
Kako dodati folder sa ovim komandama u PATH varijablu videti iz mog ranijeg posta.
Pošto radim u domenskom okruženju, dovoljno je da CMD otvorim kao domenski korisnik (pošto sam admin :-)), i da pokrenem alat psinfo, i eto mi podataka i slobodnom prostoru na diskovima, a bez RD-a :
#######################################
C:\PSTools>psinfo \\ime.mog.servera -d
…..
Querying information for moj.server…Connecting to moj.server..
System information for \\moj.server:
Uptime: 72 days 17 hours 20 minutes 9 seconds
Kernel version: Windows Server (R) 2008 Standard, Multiprocessor Free
Product type: Server
Product version: 6.0
Service pack: 2
Kernel build number: 6002
Registered organization:
Registered owner: Windows User
IE version: 7.0000
System root: C:\Windows
Processors: 2
Processor speed: 2.3 GHz
Processor type: Intel(R) Xeon(R) CPU E5-2630 v3 @
Physical memory: 4096 MB
Video driver: VMware SVGA 3D
Volume Type Format Label Size Free Free
A: Removable 0.0%
C: Fixed NTFS 80.00 GB 527.59 MB 0.6%
D: Fixed NTFS New Volume 40.00 GB 29.34 GB 73.3%
E: CD-ROM 0.0%
#######################################
Genijalno 🙂
Ako ne podignem CMD kao domen admin, može se u komandu ubaciti user+pass :
psinfo [[\\computer[,computer[,..] | @file [-u user [-p psswd]]] [-h] [-s] [-d] [-c [-t delimiter]] [filter]

This entry was posted in Windows and tagged , , . Bookmark the permalink.

Comments are closed.