1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

add agent psinfo (#5476)

Signed-off-by: si458 <simonsmith5521@gmail.com>
This commit is contained in:
Simon Smith 2023-10-28 19:29:05 +01:00 committed by GitHub
parent 2173921f07
commit e0d73b2fcd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 1 deletions

View file

@ -1262,6 +1262,9 @@ function handleServerCommand(data) {
// Requestion details information about a process
if (data.pid) {
var info = {}; // TODO: Replace with real data. Feel free not to give all values if not available.
try {
info = processManager.getProcessInfo(data.pid);
}catch(e){ }
/*
info.processUser = "User"; // String
info.processDomain = "Domain"; // String